/* ==========================================================================
   Maxon Food — Classic theme
   ========================================================================== */
:root {
  --orange: #F0852D;
  --orange-d: #D96E17;
  --saffron: #F8B825;
  --ink: #222222;
  --ink-2: #4a4a4a;
  --muted: #6f6f6f;
  --line: #e9e4dc;
  --cream: #FBF7F1;
  --white: #ffffff;
  --dark: #1b1b1b;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(34, 34, 34, .18);
  --shadow-lg: 0 30px 60px -25px rgba(34, 34, 34, .35);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main, footer { overflow-x: clip; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.2; }
h1, .h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h1 em, h2 em { font-style: italic; color: var(--orange); font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }
.lead { font-size: 1.12rem; color: var(--ink); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.hide-sm { display: inline-flex; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--saffron); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s; white-space: nowrap; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(240, 133, 45, .7); }
.btn--primary:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost-dark:hover { border-color: var(--orange); color: var(--orange); }
.btn--block { width: 100%; }

/* Topbar */
.topbar { background: var(--ink); color: #d9d9d9; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info svg { color: var(--saffron); }
.topbar a:hover { color: #fff; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social svg { width: 15px; height: 15px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .98); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .3); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.header__logo img { width: 150px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 500; font-size: .95rem; color: var(--ink); background: none; border: 0; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--orange); }
.nav__drop { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease); border: 1px solid var(--line); }
.nav__drop:hover .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-size: .93rem; font-weight: 500; transition: background .2s; }
.nav__menu a:hover { background: var(--cream); color: var(--orange); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; margin-left: auto; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero slider */
.hero { position: relative; background: linear-gradient(180deg, var(--cream), #fff); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(248, 184, 37, .22), transparent 65%); }
.hero__slides { position: relative; min-height: clamp(560px, 78vh, 720px); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 60px 100px; }
.slide__text > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide__text > * { opacity: 1; transform: none; }
.slide:not(.is-active) .slide__text > *, .slide:not(.is-active) .slide__media { transition-duration: .35s; transition-delay: 0s; }
.slide.is-active .slide__text > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide__text > :nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide__text > :nth-child(4) { transition-delay: .36s; }
.slide__text p { font-size: 1.12rem; max-width: 520px; }
.slide__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.slide__media { position: relative; transform: scale(.94) translateX(30px); opacity: 0; transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.slide.is-active .slide__media { transform: none; opacity: 1; }
.slide__media img { width: 100%; max-height: 520px; object-fit: contain; }
.slide__media--card img { border-radius: 24px; box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/3; }
.slide__media::after { content: ""; position: absolute; inset: auto 10% -18px 10%; height: 30px; background: radial-gradient(ellipse, rgba(0, 0, 0, .12), transparent 70%); z-index: -1; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(34, 34, 34, .18); transition: .4s var(--ease); padding: 0; }
.hero__dots button[aria-selected="true"] { width: 56px; background: var(--orange); }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(34, 34, 34, .2); background: #fff; display: grid; place-items: center; transition: .3s; }
.hero__arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0, 0, 0, .06); }
.hero__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--saffron)); }

/* Stats */
.stats { background: var(--ink); color: #fff; position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .08); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--saffron); line-height: 1.1; }
.stat > span { font-size: .9rem; color: #bdbdbd; }

/* Sections */
.section { padding-block: clamp(70px, 9vw, 120px); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark p { color: #bdbdbd; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section__head--split { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 30px; }
.section__head--split .eyebrow::after { display: none; }
.mecolor { width: 210px; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__img1 { width: 78%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.about__img2 { position: absolute; right: 0; bottom: 0; width: 55%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.about__badge { position: absolute; left: -20px; bottom: 90px; background: var(--orange); color: #fff; border-radius: 16px; padding: 18px 22px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite; }
.about__badge strong { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.about__badge span { font-size: .85rem; line-height: 1.3; }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.checks svg { color: #fff; background: var(--orange); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: 2px; }

/* Division cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; display: flex; flex-direction: column; }
.dcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.dcard__img { aspect-ratio: 4/3; overflow: hidden; background: #f1ede6; }
.dcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dcard:hover .dcard__img img { transform: scale(1.08); }
.dcard__body { padding: 0 24px 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.dcard__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; margin-top: -27px; margin-bottom: 16px; position: relative; box-shadow: 0 10px 20px -8px rgba(240, 133, 45, .7); transition: background .3s, transform .4s var(--ease); }
.dcard__icon svg { width: 24px; height: 24px; }
.dcard:hover .dcard__icon { background: var(--ink); transform: rotate(-8deg); }
.dcard h3 { font-size: 1.15rem; }
.dcard p { font-size: .92rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--orange); font-size: .9rem; }
.dcard:hover .more svg { transform: translateX(4px); }
.more svg { transition: transform .3s; }

/* Tabs */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.tabs--center { justify-content: center; }
.tab { border: 1px solid var(--line); background: #fff; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: .3s var(--ease); }
.tab:hover { border-color: var(--orange); color: var(--orange); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Swatches */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-bottom: 36px; }
.sw { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; animation: swIn .6s var(--ease) both; }
.sw:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sw__img { aspect-ratio: 1; overflow: hidden; position: relative; }
.sw__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sw:hover .sw__img img { transform: scale(1.08); }
.sw__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c); }
.sw__body { padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.sw__chip { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .6), 0 0 0 1px var(--line); flex-shrink: 0; }
.sw__body h4 { margin: 0; font-size: .92rem; line-height: 1.3; }
.sw__body small { color: var(--muted); font-size: .75rem; }
@keyframes swIn { from { opacity: 0; transform: translateY(16px); } }

/* MAP */
.map__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; margin-bottom: 60px; }
.factors { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 30px; }
.factors h3 { font-size: 1.05rem; color: #fff; }
.factors ol { list-style: none; padding: 0; margin: 0; }
.factors li { display: flex; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); color: #ddd; }
.factors li:last-child { border-bottom: 0; }
.factors li span { font-family: var(--serif); color: var(--saffron); font-size: 1.3rem; width: 34px; }
.machines__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.mtab { text-align: left; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: .35s var(--ease); }
.mtab strong { display: block; font-family: var(--serif); font-size: 1.35rem; }
.mtab span { font-size: .8rem; color: #aaa; }
.mtab:hover { border-color: var(--orange); }
.mtab.is-active { background: var(--orange); border-color: var(--orange); }
.mtab.is-active span { color: #fff; }
.machine { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; background: #fff; color: var(--ink); border-radius: 22px; padding: 34px; animation: swIn .6s var(--ease); }
.machine p { color: var(--ink-2); }
.machine__img { border-radius: 16px; overflow: hidden; background: #f3f3f3; display: grid; place-items: center; }
.machine__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.3; }
.machine__img img.contain { object-fit: contain; padding: 20px; }
.machine__tag { display: inline-block; background: rgba(240, 133, 45, .12); color: var(--orange-d); font-weight: 600; font-size: .78rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 10px; }
.machine h3 { font-family: var(--serif); font-size: 2rem; }
.mstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 22px; }
.mstats div { background: var(--cream); border-radius: 12px; padding: 14px 10px; text-align: center; }
.mstats strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--orange); line-height: 1.1; }
.mstats span { font-size: .72rem; color: var(--muted); line-height: 1.3; display: block; }
.mspecs { width: 100%; border-collapse: collapse; font-size: .88rem; }
.mspecs th, .mspecs td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mspecs th { font-weight: 500; color: var(--muted); width: 42%; padding-right: 12px; }

/* Shelf life */
.shelf { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; max-width: 900px; margin: 0 auto; }
.shelf__table { width: 100%; border-collapse: collapse; }
.shelf__table th { background: var(--ink); color: #fff; text-align: left; padding: 16px 22px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.shelf__table td { padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.shelf__table tbody tr { animation: swIn .5s var(--ease) both; }
.shelf__table tbody tr:hover { background: var(--cream); }
.shelf__table td:last-child { font-weight: 700; color: var(--orange-d); white-space: nowrap; }
.shelf__more { text-align: center; padding: 18px; border-top: 1px solid var(--line); }
.pill { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #eef6ea; color: #3f7d2a; white-space: nowrap; }
.pill--cold { background: #e8f2fb; color: #2766a6; }

/* Ingredients */
.ing__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.ing__features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.feat { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); }
.feat:hover { border-color: var(--orange); transform: translateY(-3px); }
.feat > svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(248, 184, 37, .18); color: var(--orange-d); }
.feat h4 { font-size: .95rem; margin-bottom: 4px; }
.feat p { font-size: .85rem; margin: 0; }
.ing__media { position: relative; background: radial-gradient(circle at 50% 55%, rgba(248, 184, 37, .25), transparent 60%); padding: 40px 0; }
.ing__media img { animation: float 6s ease-in-out infinite; }
.ing__tag { position: absolute; top: 10%; right: 6%; width: 120px; height: 120px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-lg); }
.ing__tag strong { font-family: var(--serif); font-size: 2rem; color: var(--saffron); line-height: 1; }
.ing__tag span { font-size: .78rem; }

/* Processing */
.proc__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.proc__media { background: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 500; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.spec div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-weight: 600; font-size: .92rem; }

/* Industries */
.ind { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ind__card { border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; transition: .4s var(--ease); background: #fff; position: relative; overflow: hidden; }
.ind__card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--orange), var(--saffron)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ind__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.ind__card:hover::before { transform: scaleX(1); }
.ind__card img { width: 74px; height: 74px; border-radius: 16px; margin-bottom: 18px; }
.ind__card h3 { font-size: 1.12rem; }
.ind__card ul { padding: 0; margin: 0; list-style: none; }
.ind__card li { position: relative; padding-left: 18px; font-size: .9rem; color: var(--ink-2); margin-bottom: 8px; }
.ind__card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }

/* Downloads */
.downloads { background: linear-gradient(110deg, var(--orange), #f39a3c 55%, var(--saffron)); color: #fff; padding: 46px 0; }
.downloads__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.downloads h2 { font-size: 1.8rem; margin-bottom: 4px; }
.downloads p { color: rgba(255, 255, 255, .9); margin: 0; }
.downloads__list { display: flex; gap: 10px; flex-wrap: wrap; }
.dl { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: .3s; }
.dl:hover { background: #fff; color: var(--ink); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.cinfo { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cinfo > svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--cream); color: var(--orange); }
.cinfo h4 { margin: 0 0 2px; font-size: .95rem; }
.cinfo p { margin: 0; font-size: .92rem; }
.cinfo a:hover { color: var(--orange); }
.form { background: var(--cream); border-radius: 22px; padding: 36px; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240, 133, 45, .15); }
.form .is-invalid { border-color: #d33; }
.form__note { margin: 0; font-size: .9rem; min-height: 1.4em; }
.form__note.ok { color: #2e7d32; }
.form__note.err { color: #c62828; }

/* Footer */
.footer { background: #141414; color: #bdbdbd; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 70px 50px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { display: block; margin-bottom: 9px; transition: color .2s; }
.footer a:hover { color: var(--saffron); }
.footer p { color: #9a9a9a; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; margin: 0; }
.footer__social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer__bottom { border-top: 1px solid #262626; padding: 20px 0; font-size: .82rem; color: #888; }

/* Floating */
.wa, .totop { position: fixed; right: 22px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), opacity .3s; }
.wa { bottom: 22px; background: #25D366; color: #fff; }
.wa svg { width: 28px; height: 28px; }
.wa:hover { transform: scale(1.08); }
.totop { bottom: 86px; background: var(--ink); color: #fff; opacity: 0; pointer-events: none; transform: translateY(10px); }
.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .35s var(--ease); z-index: 100; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .header__cta { display: none; }
  .cards4, .ind { grid-template-columns: repeat(2, 1fr); }
  .machine { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; background: #fff; padding: 100px 24px 30px; gap: 0; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s; box-shadow: var(--shadow-lg); margin: 0; z-index: -1; overflow-y: auto; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
  .nav__link { padding: 15px 4px; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 6px 0; }
  .nav__drop.is-open .nav__menu { display: block; }
  .slide__inner, .about__grid, .map__intro, .ing__grid, .proc__grid, .contact__grid { grid-template-columns: 1fr; }
  .slide__inner { gap: 20px; padding-block: 40px 110px; }
  .slide__media { order: -1; max-width: 520px; }
  .slide__media img { max-height: 280px; }
  .hero__slides { min-height: 760px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .about__media { max-width: 520px; }
  .machines__tabs { grid-template-columns: repeat(2, 1fr); }
  .section__head--split { flex-direction: column; align-items: start; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .topbar__social { display: none; }
  .topbar__info { gap: 16px; font-size: .76rem; }
  .header__inner { min-height: 68px; }
  .header__logo img { width: 120px; }
  .cards4, .ind, .checks, .ing__features, .form__row, .spec, .footer__grid { grid-template-columns: 1fr; }
  .footer__grid { gap: 28px; padding-block: 50px 36px; }
  .mstats { grid-template-columns: repeat(2, 1fr); }
  .machine { padding: 18px; gap: 24px; }
  .form { padding: 22px; }
  .swatches { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sw__body { padding: 10px; gap: 8px; }
  .shelf__table th, .shelf__table td { padding: 12px 12px; font-size: .85rem; }
  .hero__arrows { display: none; }
  .hero__slides { min-height: 700px; }
  .about__badge { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
