/*
Theme Name: JasjeDasje
Theme URI: https://jasjedasje.nl
Author: JasjeDasje
Description: Custom theme for JasjeDasje - premium custom ties and jackets
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jasjedasje
*/

:root {
  --navy: #061a3a;
  --navy-2: #09234d;
  --ink: #071a38;
  --muted: #6d7280;
  --gold: #d6aa5f;
  --gold-2: #f0d18a;
  --paper: #fbfaf8;
  --panel: #ffffff;
  --line: #e8e3dc;
  --shadow: 0 24px 70px rgba(8, 21, 44, 0.13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body,
body.page,
body.home,
body.single,
body.archive {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans) !important;
  color: var(--ink);
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-shell { overflow: hidden; background: #fff; }

/* ─── Top Bar ─── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-family: var(--sans);
  letter-spacing: 0.01em;
}

.top-bar-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.top-bar-contact {
  display: flex;
  gap: 24px;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  transition: color 180ms ease;
}

.top-bar-contact a:hover { color: var(--gold); }

.top-bar-contact svg { flex-shrink: 0; }

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  color: rgba(255,255,255,0.6);
  transition: color 180ms ease;
  display: inline-flex;
}

.top-bar-social a:hover { color: var(--gold); }

/* ─── Header ─── */
.site-header {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 18vw, 210px);
  min-height: 52px;
}

.brand img { width: 100%; height: auto; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 180ms ease;
}

.main-nav a:hover { color: var(--gold); }

.menu-button {
  width: 46px;
  height: 40px;
  display: none;
  gap: 7px;
  align-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  height: 3px;
  width: 38px;
  display: block;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 300ms ease, opacity 200ms ease;
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 26, 58, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav.active { display: flex; }

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav a {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: #fff;
  transition: color 180ms ease;
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}

/* ─── Hero ─── */
.hero {
  width: min(1120px, calc(100% - 48px));
  min-height: 900px;
  margin: 0 auto;
  position: relative;
  padding: 104px 0 0;
}

.hero-copy {
  width: min(520px, 100%);
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 9vw, 7.8rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.gold-line {
  width: 92px;
  height: 3px;
  margin-bottom: 32px;
  background: var(--gold);
}

.hero-text {
  max-width: 410px;
  margin-bottom: 34px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: #555b66;
}

.primary-link,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 72px;
  padding: 0 34px;
  border-radius: 6px;
  border: 0;
  color: var(--gold-2);
  background: linear-gradient(135deg, var(--navy), #03112a);
  box-shadow: 0 14px 35px rgba(6, 26, 58, 0.24);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-link:hover,
.submit-button:hover,
.gold-button:hover {
  transform: translateY(-2px);
}

.hero-image-wrap {
  position: absolute;
  top: -10px;
  right: -74px;
  width: min(680px, 62vw);
  height: 780px;
  z-index: 1;
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ─── Quote Form ─── */
.quote-form {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 64px));
  margin: 126px auto 0;
  padding: 40px;
  border: 1px solid rgba(232, 227, 220, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quote-form h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
}

.full { grid-column: 1 / -1; }

label span {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  min-height: 68px;
  padding: 0 22px;
  border: 1px solid #dcd7d1;
  border-radius: 4px;
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  font: 500 1.05rem var(--sans);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 128px;
  padding-top: 24px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder { color: #9a9fa9; }

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 170, 95, 0.13);
}

.submit-button {
  width: 100%;
  margin-top: 30px;
}

.form-note {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--muted);
  text-align: center;
}

.form-note.error {
  color: #c62828;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
}

.form-note.success {
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
}

input.invalid,
textarea.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* WPForms overrides to match theme */
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form textarea {
  min-height: 68px;
  padding: 0 22px;
  border: 1px solid #dcd7d1;
  border-radius: 4px;
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  font: 500 1.05rem var(--sans);
}

.wpforms-container .wpforms-form textarea {
  min-height: 128px;
  padding-top: 24px;
}

.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 170, 95, 0.13);
}

.wpforms-container .wpforms-form .wpforms-field-label {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
}

.wpforms-container .wpforms-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 72px;
  padding: 0 34px;
  border-radius: 6px;
  border: 0;
  color: var(--gold-2);
  background: linear-gradient(135deg, var(--navy), #03112a);
  box-shadow: 0 14px 35px rgba(6, 26, 58, 0.24);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wpforms-container .wpforms-form button[type="submit"]:hover {
  transform: translateY(-2px);
}

/* ─── Benefits ─── */
.benefits {
  width: min(980px, calc(100% - 48px));
  margin: 54px auto 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(8, 21, 44, 0.07);
}

.benefits article {
  min-height: 168px;
  padding: 34px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.benefits article:last-child { border-right: 0; }

.benefits strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.benefits p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

/* ─── Logo Slider ─── */
.logo-slider {
  width: 100%;
  margin: 0 auto 84px;
  overflow: hidden;
}

.logo-track {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-track-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: logo-scroll 20s linear infinite;
}

.logo-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.logo-slide img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 300ms ease;
}

.logo-slide img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Showcase ─── */
.showcase,
.process {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 96px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.95;
  color: var(--navy);
  letter-spacing: -0.035em;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.tie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tie-card {
  overflow: hidden;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(8, 21, 44, 0.1);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.tie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8, 21, 44, 0.15);
}

.tie-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.tie-card div { padding: 28px; }

.tie-card h3,
.steps h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.tie-card p,
.steps p,
.cta p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─── Process ─── */
.process {
  padding: 74px 0 34px;
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.steps article {
  position: relative;
  padding-top: 16px;
}

.steps article::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 66px;
  right: -18px;
  height: 1px;
  border-top: 1px dashed #c7c1b8;
}

.steps article:last-child::before { display: none; }

.steps span {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
}

/* ─── CTA ─── */
.cta {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 48px;
  padding: 44px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(214,170,95,0.18), transparent 24rem),
    linear-gradient(135deg, var(--navy), #020b1e);
  box-shadow: 0 26px 70px rgba(6, 26, 58, 0.24);
}

.cta-icon {
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.cta p { color: rgba(255,255,255,0.72); }

.gold-button {
  min-height: 68px;
  padding: 0 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--navy);
  background: linear-gradient(135deg, #f3d992, var(--gold));
  font-weight: 800;
  transition: transform 180ms ease;
  white-space: nowrap;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-legal {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal li { margin-bottom: 4px; }

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: color 180ms ease;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  width: min(1120px, calc(100% - 48px));
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  transition: color 180ms ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: rgba(255,255,255,0.45);
  transition: color 180ms ease;
}

.footer-social a:hover { color: var(--gold); }

/* ─── File Upload ─── */
.file-upload-field .file-label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.file-upload-field .file-label em {
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.file-drop-zone {
  position: relative;
  border: 2px dashed #dcd7d1;
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--gold);
  background: rgba(214, 170, 95, 0.04);
}

.file-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  min-height: auto;
  padding: 0;
  border: 0;
}

.file-drop-text {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.file-drop-hint {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* ─── WooCommerce Product Grid ─── */
.woocommerce ul.products li.product {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(8, 21, 44, 0.1);
  transition: transform 300ms ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
}

.woocommerce ul.products li.product a img {
  border-radius: 0;
}

.woocommerce ul.products li.product .price {
  color: var(--navy);
  font-weight: 700;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--navy);
  color: var(--gold-2);
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}

/* ─── Page Content ─── */
.page-content {
  width: min(800px, calc(100% - 48px));
  margin: 64px auto 96px;
}

.page-content h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--navy);
  margin-bottom: 32px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.page-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555b66;
  margin-bottom: 24px;
}

/* ─── Contact Page ─── */
.contact-page {
  width: min(1120px, calc(100% - 48px));
  margin: 64px auto 96px;
}

.contact-page h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.contact-intro {
  max-width: 680px;
  margin-bottom: 48px;
}

.contact-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555b66;
  margin-bottom: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-details h2 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.contact-details li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: #555b66;
}

.contact-details li:last-child { border-bottom: 0; }

.contact-details li strong {
  color: var(--navy);
  display: inline-block;
  min-width: 100px;
}

.contact-details li a {
  color: var(--navy);
  font-weight: 500;
}

.contact-details li a:hover { color: var(--gold); }

.contact-form-wrap {
  padding: 40px;
  border: 1px solid rgba(232, 227, 220, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1;
}

/* ─── Responsive ─── */
@media (max-width: 1120px) {
  .hero { min-height: 850px; }
  .hero-image-wrap { right: -130px; width: 640px; }
  .hero-copy { width: min(470px, 52vw); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-button { display: grid; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px; }

  .site-header,
  .hero,
  .showcase,
  .process,
  .cta { width: min(100% - 32px, 720px); }

  .hero { min-height: auto; padding-top: 52px; }
  .hero-copy { width: min(620px, 100%); }

  .hero-image-wrap {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: clamp(320px, 70vw, 520px);
    margin: 26px 0 8px;
  }

  .quote-form { width: 100%; margin-top: 0; padding: 32px; }

  .file-drop-zone { padding: 20px 16px; }

  .benefits,
  .tie-grid,
  .steps,
  .cta { grid-template-columns: 1fr; }

  .benefits article { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefits article:last-child { border-bottom: 0; }

  .steps article::before { display: none; }

  .cta { text-align: center; justify-items: center; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 620px) {
  .top-bar { display: none; }

  .site-header {
    padding-top: 28px;
    width: min(100% - 28px, 720px);
  }

  .brand { width: 142px; min-height: 42px; }
  .menu-button { width: 38px; }
  .menu-button span { width: 32px; }

  h1 { font-size: clamp(3.3rem, 16vw, 4.4rem); line-height: 0.92; }

  .hero,
  .showcase,
  .process,
  .cta { width: min(100% - 28px, 720px); }

  .hero-text { font-size: 1.02rem; }
  .hero-image-wrap { height: clamp(270px, 86vw, 420px); }

  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form { padding: 24px; border-radius: 12px; }

  input, textarea { min-height: 64px; padding: 0 18px; font-size: 1rem; }
  textarea { padding-top: 18px; }

  .primary-link,
  .submit-button,
  .gold-button {
    width: 100%;
    min-height: 62px;
    padding-inline: 20px;
    letter-spacing: 0.08em;
  }

  .benefits { width: calc(100% - 28px); margin-bottom: 64px; }
  .tie-card div { padding: 22px; }

  .steps span { margin-inline: auto; }
  .steps article { text-align: center; }
  .cta { padding: 30px 24px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  .site-header,
  .hero,
  .showcase,
  .process,
  .cta { width: min(100% - 22px, 720px); }

  .quote-form { padding: 18px; }
  .primary-link, .submit-button, .gold-button { font-size: 0.86rem; }
}
