/* Rent n Sew */
:root {
  --yellow: #ffb800;
  --yellow-dark: #e5a500;
  --red: #c3233d;
  --ink: #1c1c22;
  --ink-2: #2a2a33;
  --text: #33333b;
  --muted: #62626c;
  --line: #e6e4df;
  --bg-alt: #f7f5f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 30, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: Raleway, Inter, sans-serif; color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; background: #fff; padding: 10px 16px; z-index: 100; }

/* Buttons */
.btn { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 600; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--yellow); transition: background .2s, transform .2s; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-small { padding: 9px 18px; font-size: .95rem; }

/* Top bar + header */
.topbar { background: var(--red); color: #fff; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo img { width: 200px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #e9e9ee; text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--yellow); }
.site-nav .nav-call { color: var(--ink); margin-left: 10px; }
.site-nav .nav-call:hover { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; background-size: cover; background-position: center; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 28, .88) 0%, rgba(20, 20, 28, .6) 55%, rgba(20, 20, 28, .25) 100%); }
.hero-inner { position: relative; padding: clamp(70px, 12vw, 140px) 0; max-width: 1180px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: 1.15rem; max-width: 52ch; color: #ececf1; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 600; color: var(--yellow); margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); }
.section-dark .section-title { color: #fff; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title::after { content: ""; display: block; width: 60px; height: 4px; background: var(--yellow); border-radius: 2px; margin: 16px auto 0; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20, 20, 30, .14); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.more { color: var(--red); font-weight: 600; font-size: .95rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split-top { align-items: start; }
.split-rev .split-img { order: 2; }
.split-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.contact-line a { font-weight: 600; }

/* Rent */
.rent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.rent-card { display: grid; grid-template-columns: 220px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rent-card img { height: 100%; object-fit: cover; }
.rent-body { padding: 26px; }
.price { font-family: Raleway, sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--red); margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 7px; height: 12px; border: solid var(--yellow-dark); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quote { margin: 0; background: var(--ink-2); border-radius: var(--radius); padding: 30px; color: #dcdce3; border-top: 4px solid var(--yellow); }
.quote blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.quote blockquote::before { content: "\201C"; font-family: Georgia, serif; font-size: 3rem; line-height: 0; vertical-align: -.45em; color: var(--yellow); margin-right: 4px; }
.quote figcaption { color: var(--yellow); font-weight: 600; }

/* Map */
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.2); }

/* Inner pages */
.page-banner { background: var(--ink) url("../img/banner.jpg") center / cover; position: relative; color: #fff; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 28, .78); }
.page-banner .wrap { position: relative; padding: 56px 0 50px; }
.page-banner h1 { color: #fff; margin: 0; font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.crumbs { font-size: .9rem; color: #c9c9d2; margin-bottom: 10px; }
.crumbs a { color: var(--yellow); text-decoration: none; }
.crumbs span { margin: 0 6px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--red); }
.narrow { max-width: 780px; }
.intro { max-width: 780px; margin-bottom: 40px; }

/* Machines */
.machines { display: grid; gap: 30px; }
.machine { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 34px; align-items: start; background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.machine img { border-radius: 10px; width: 100%; }
.machine h2 { font-size: 1.6rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.contact-list a { font-weight: 600; font-size: 1.1rem; }
.form-card { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); scroll-margin-top: 100px; }
.form-card label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 16px; color: var(--ink); }
.form-card input, .form-card textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #d6d3cc; border-radius: 10px; font: inherit; background: #fff; }
.form-card input:focus, .form-card textarea:focus { outline: 3px solid rgba(255, 184, 0, .45); border-color: var(--yellow-dark); }
.form-card .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.notice.ok { background: #e5f5e8; color: #1d6b31; }
.notice.err { background: #fde8eb; color: #9b1c31; }

/* CTA + footer */
.cta-band { background: var(--yellow); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 4px; font-size: 1.7rem; }
.cta-band p { margin: 0; color: var(--ink); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-band .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.cta-band .btn-ghost:hover { background: rgba(0, 0, 0, .06); }
.site-footer { background: var(--ink); color: #bdbdc7; font-size: .95rem; }
.site-footer a { color: #e9e9ee; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 36px; }
.footer-grid img { width: 190px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 24px; font-size: .85rem; color: #8e8e99; }
.footer-bottom a { color: #b5b5c0; }
.admin-link { opacity: .7; }

/* Responsive */
@media (max-width: 1060px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .rent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; display: none; border-top: 1px solid rgba(255, 255, 255, .08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
  .site-nav .nav-call { margin: 14px 0 0; text-align: center; border-radius: 999px; border-bottom: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split, .contact-grid, .machine { grid-template-columns: 1fr; }
  .split-rev .split-img { order: 0; }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar span { display: none; }
  .topbar .wrap { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .rent-card { grid-template-columns: 1fr; }
  .rent-card img { aspect-ratio: 16 / 9; height: auto; }
  .hero-actions .btn, .cta-actions .btn { flex: 1; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo img { width: 170px; }
}
