:root {
  --navy: #0b1624;
  --navy-2: #13263b;
  --orange: #f36f21;
  --orange-dark: #d95910;
  --ink: #172231;
  --muted: #687383;
  --line: #dfe4e8;
  --paper: #f5f6f7;
  --sky: #edf3f6;
  --white: #ffffff;
  --radius: 4px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--white); }
button, input, select { font: inherit; }
a { color: inherit; }
.site-header {
  position: sticky; top: 0; z-index: 20; height: 68px; padding: 0 clamp(20px, 4vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  color: var(--ink); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 50px; height: 50px; flex: 0 0 auto; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { color: var(--navy); font-size: 1.55rem; font-weight: 700; letter-spacing: .065em; }
.brand small { margin-top: 7px; color: #4f5f70; font-size: .68rem; font-weight: 750; letter-spacing: .25em; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { font-size: .9rem; text-decoration: none; color: #526171; }
.desktop-nav a:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-picker { display: flex; border: 1px solid #cbd3da; border-radius: 3px; overflow: hidden; }
.language-picker button { border: 0; padding: 7px 9px; color: #687686; background: transparent; font-size: .72rem; cursor: pointer; }
.language-picker button.active { color: var(--white); background: var(--navy); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--radius); background: var(--orange); color: var(--white); font-weight: 700; text-decoration: none; cursor: pointer; transition: .18s ease; }
.button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.button-small { min-height: 39px; padding: 0 17px; font-size: .86rem; }
.hero { height: 390px; min-height: 390px; display: grid; grid-template-columns: 1.08fr .92fr; background: var(--sky); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 34px clamp(28px, 6vw, 96px); }
.eyebrow { margin: 0 0 18px; color: var(--orange); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .19em; }
h1 { max-width: 650px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 4vw, 4.35rem); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.hero-text { max-width: 650px; margin: 16px 0 20px; color: #586879; font-size: clamp(.92rem, 1.1vw, 1.05rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.text-link { padding: 0; border: 0; color: var(--navy); background: transparent; font-weight: 700; text-decoration: none; cursor: pointer; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; color: #6d7985; font-size: .75rem; }
.trust-row span::before { content: "✓"; color: var(--orange); margin-right: 8px; }
.hero-visual { position: relative; min-height: 390px; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background-position: center; background-size: cover; filter: saturate(.8) contrast(1.06); opacity: 1; transition: opacity .32s ease; }
.hero-image.is-changing { opacity: .18; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(237,243,246,.75) 0%, transparent 20%), linear-gradient(0deg, rgba(5,12,20,.24), transparent 55%); }
.hero-card { position: absolute; right: clamp(16px, 3vw, 42px); bottom: 18px; width: min(265px, calc(100% - 32px)); padding: 15px 18px; display: grid; gap: 4px; background: rgba(255,255,255,.96); color: var(--ink); border-top: 3px solid var(--orange); box-shadow: 0 12px 34px rgba(0,0,0,.16); opacity: 1; transform: translateY(0); transition: opacity .32s ease, transform .32s ease; }
.hero-card.is-changing { opacity: 0; transform: translateY(6px); }
.hero-card span { color: var(--orange-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.hero-card strong { font-family: Georgia, serif; font-size: 1.1rem; }
.hero-card small { color: var(--muted); }
.inventory { padding: 48px clamp(20px, 5vw, 80px) 90px; }
.section-heading { max-width: 1400px; margin: 0 auto 34px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .contact-section h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.03em; }
#inventory .section-heading h2 { font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
.result-count { color: var(--muted); }
.filters { max-width: 1400px; margin: 0 auto 38px; display: grid; grid-template-columns: minmax(250px, 2fr) repeat(3, minmax(145px, .7fr)) auto; gap: 10px; }
.filters input, .filters select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: white; color: var(--ink); padding: 0 14px; outline: none; }
.filters input:focus, .filters select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,111,33,.12); }
.search-box { position: relative; display: block; }
.search-box span { position: absolute; left: 15px; top: 11px; font-size: 1.35rem; color: var(--muted); }
.search-box input { padding-left: 42px; }
.reset-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.reset-button:hover { color: var(--orange-dark); }
.machine-grid { max-width: 1400px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.machine-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.machine-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(17,34,52,.12); }
.machine-photo { position: relative; aspect-ratio: 4 / 3; background: #e9edf0; overflow: hidden; }
.machine-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.machine-card:hover .machine-photo img { transform: scale(1.025); }
.status-badge { position: absolute; top: 14px; left: 14px; padding: 7px 10px; background: rgba(255,255,255,.92); color: #21754b; border-radius: 2px; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.status-badge.reserved { color: #9a6511; }
.status-badge.sold { color: #7c4650; }
.featured-badge { position: absolute; right: 14px; top: 14px; padding: 7px 10px; background: var(--orange); color: white; border-radius: 2px; font-size: .67rem; font-weight: 800; }
.machine-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.machine-type { margin: 0 0 8px; color: var(--orange-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.machine-title { margin: 0 0 18px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.machine-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.machine-facts span:last-child { text-align: right; }
.machine-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.price { font-size: 1rem; font-weight: 800; }
.details-link { color: var(--orange-dark); font-size: .82rem; font-weight: 750; }
.empty-state { max-width: 800px; margin: 60px auto; padding: 60px 25px; text-align: center; background: var(--paper); }
.services { padding: 92px clamp(20px, 5vw, 80px); background: var(--navy); color: white; }
.section-heading.light { color: white; }
.service-grid { max-width: 1400px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.16); }
.service-grid article { min-height: 250px; padding: 36px; border-right: 1px solid rgba(255,255,255,.16); }
.service-grid article:last-child { border: 0; }
.service-grid b { color: var(--orange); font-size: .74rem; letter-spacing: .14em; }
.service-grid h3 { margin: 54px 0 14px; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.service-grid p { margin: 0; color: #aebbc7; line-height: 1.7; }
.contact-section { padding: 110px 24px; text-align: center; background: var(--paper); }
.contact-section p:not(.eyebrow) { max-width: 700px; margin: 24px auto 30px; color: var(--muted); line-height: 1.7; }
footer { min-height: 120px; padding: 28px clamp(20px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 25px; background: #07101b; color: #8f9eac; font-size: .76rem; }
.legal-links { display: flex; align-items: center; gap: 18px; }
.legal-links a { color: #c4ced8; text-decoration: none; }
.legal-links a:hover { color: white; text-decoration: underline; }
.footer-brand { color: white; }
.footer-brand strong { color: white; }
.footer-brand small { color: #c4ced8; }
.footer-brand img { width: 35px; height: 35px; }
.machine-dialog { width: min(1120px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 5px; box-shadow: 0 30px 100px rgba(0,0,0,.4); overflow: auto; }
.machine-dialog::backdrop { background: rgba(4,10,17,.78); backdrop-filter: blur(3px); }
.enquiry-dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 5px; box-shadow: 0 30px 100px rgba(0,0,0,.4); overflow: auto; }
.enquiry-dialog::backdrop { background: rgba(4,10,17,.78); backdrop-filter: blur(3px); }
.enquiry-form { padding: clamp(30px, 5vw, 58px); }
.enquiry-form h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 500; line-height: 1.05; }
.enquiry-machine { margin: 0 0 24px; padding: 12px 14px; border-left: 3px solid var(--orange); background: var(--paper); color: var(--ink); font-weight: 700; }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-grid label { display: grid; gap: 7px; color: #4f5c69; font-size: .86rem; font-weight: 700; }
.enquiry-grid input, .enquiry-grid textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #ccd4db; border-radius: var(--radius); color: var(--ink); background: white; font-size: 1rem; font-weight: 400; outline: none; }
.enquiry-grid textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.enquiry-grid input:focus, .enquiry-grid textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,111,33,.12); }
.enquiry-full { grid-column: 1 / -1; }
.enquiry-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.enquiry-privacy { margin: 18px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.enquiry-privacy a { color: var(--orange-dark); }
.enquiry-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; }
.enquiry-status { flex: 1; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.enquiry-status.success { color: #21754b; font-weight: 700; }
.enquiry-status.error { color: #a33535; }
.dialog-close { position: sticky; z-index: 3; top: 14px; float: right; margin: 14px 14px -54px 0; width: 40px; height: 40px; border: 0; border-radius: 50%; color: white; background: rgba(8,16,26,.78); font-size: 1.7rem; cursor: pointer; }
.detail-layout { display: grid; grid-template-columns: 1.08fr .92fr; }
.detail-gallery { padding: 20px; background: #e8ecef; }
.detail-main-image { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; background: white; }
.thumbnails { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 10px; }
.thumbnail { padding: 0; border: 2px solid transparent; background: white; cursor: pointer; }
.thumbnail.active { border-color: var(--orange); }
.thumbnail img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-copy { padding: clamp(30px, 4vw, 50px); }
.detail-copy h2 { margin: 7px 0 18px; padding-right: 28px; font-family: Georgia, serif; font-size: clamp(1.9rem, 2.7vw, 2.8rem); font-weight: 600; line-height: 1.06; letter-spacing: -.025em; }
.detail-price { margin: 0 0 16px; font-size: 1.25rem; font-weight: 850; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 0; border-top: 1px solid var(--line); }
.detail-facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail-facts div:nth-child(even) { text-align: right; }
.detail-facts small { display: block; color: var(--muted); margin-bottom: 4px; }
.detail-description { grid-column: 1 / -1; padding: 30px clamp(28px, 4vw, 50px) 42px; border-top: 1px solid var(--line); background: white; }
.detail-description .eyebrow { margin-bottom: 14px; }
.description { max-width: 980px; margin: 0; color: #4f5c69; font-size: 1rem; white-space: pre-line; line-height: 1.7; }
.detail-actions { display: flex; flex-wrap: nowrap; gap: 7px; margin: 0; }
.contact-button { min-height: 38px; padding: 0 12px; gap: 6px; font-size: .76rem; white-space: nowrap; }
.contact-button svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-telegram svg { fill: currentColor; stroke: none; }
.button-telegram svg path:last-child { fill: none; stroke: #278bc5; stroke-width: 1.4; }
.button-whatsapp { background: #1f9d62; }
.button-whatsapp:hover { background: #178251; }
.button-telegram { background: #278bc5; }
.button-telegram:hover { background: #1975ad; }
.button-telegram:hover svg path:last-child { stroke: #1975ad; }
.legal-page { color: var(--ink); background: #f5f7f8; }
.legal-page .site-header { position: relative; }
.legal-back { margin-left: auto; color: #526171; font-size: .9rem; font-weight: 700; text-decoration: none; }
.legal-back:hover { color: var(--orange-dark); }
.legal-main { width: min(920px, calc(100% - 32px)); margin: 48px auto 72px; padding: clamp(28px, 5vw, 64px); background: white; border: 1px solid var(--line); box-shadow: 0 14px 45px rgba(11,22,36,.06); }
.legal-main h1 { margin-bottom: 34px; color: var(--navy); font-size: clamp(2.4rem, 5vw, 4.5rem); }
.legal-main h2 { margin: 38px 0 12px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 500; }
.legal-main h3 { margin: 24px 0 8px; color: var(--navy); font-size: 1rem; }
.legal-main p, .legal-main li { color: #4f5c69; line-height: 1.72; }
.legal-main ul { padding-left: 21px; }
.legal-main a { color: var(--orange-dark); }
.legal-note { padding: 16px 18px; border-left: 3px solid var(--orange); background: var(--paper); }
.legal-updated { margin-top: 42px; color: var(--muted); font-size: .82rem; }
.cookie-settings { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.consent-banner { position: fixed; z-index: 1000; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 22px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: white; background: #0b1624; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.consent-banner[hidden] { display: none; }
.consent-copy { max-width: 720px; }
.consent-copy h2 { margin: 0 0 7px; font-size: 1.12rem; }
.consent-copy p { margin: 0 0 7px; color: #d7dee6; font-size: .92rem; line-height: 1.5; }
.consent-copy a { color: white; font-size: .85rem; }
.consent-actions { display: flex; flex: 0 0 auto; gap: 9px; }
.consent-actions .button { min-height: 42px; padding: 0 17px; white-space: nowrap; }
.consent-actions .button-secondary { border: 1px solid rgba(255,255,255,.45); color: white; background: transparent; }
.consent-actions .button-secondary:hover { background: rgba(255,255,255,.1); }
@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero { height: auto; min-height: 0; grid-template-columns: 1.08fr .92fr; }
  .hero-copy { padding: 34px 30px; }
  .hero-visual { min-height: 390px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-box { grid-column: 1 / -1; }
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header { height: 68px; padding: 0 14px; }
  .header-actions .button { display: none; }
  .brand { gap: 9px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 1.12rem; }
  .brand small { display: none; }
  .enquiry-grid { grid-template-columns: 1fr; }
  .enquiry-full { grid-column: auto; }
  .enquiry-footer { align-items: stretch; flex-direction: column; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 42px 22px 38px; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.65rem); }
  .trust-row { display: none; }
  .hero-visual { min-height: 270px; }
  .inventory { padding: 45px 16px 75px; }
  .section-heading { align-items: start; }
  .filters { grid-template-columns: 1fr; }
  .search-box { grid-column: auto; }
  .machine-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .service-grid h3 { margin-top: 24px; }
  footer { flex-direction: column; align-items: flex-start; }
  .detail-gallery { padding: 10px; }
  .detail-copy { padding: 28px 22px; }
  .detail-description { padding: 26px 22px 34px; }
  .thumbnails { grid-template-columns: repeat(5, 1fr); }
  .detail-actions { gap: 5px; }
  .contact-button { min-width: 0; padding: 0 8px; gap: 4px; font-size: .68rem; }
  .contact-button svg { width: 14px; height: 14px; }
  footer { flex-direction: column; text-align: center; }
  .legal-main { margin-top: 20px; padding: 26px 20px; }
  .consent-banner { right: 12px; bottom: 12px; left: 12px; align-items: stretch; flex-direction: column; gap: 16px; width: calc(100% - 24px); padding: 20px; }
  .consent-actions { display: grid; grid-template-columns: 1fr; }
}
