/* One-screen sections, 4-up product grid, About + Contact layouts, extra text effects */

/* ---------- 4 products in a row ---------- */
.products.four { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 26px; }
.products.four.start { justify-content: flex-start; }
.products.four > .p-card { flex: 0 0 calc(25% - 17px); max-width: calc(25% - 17px); border-radius: 20px; }
.products.four .p-card .body { padding: 14px 16px 18px; gap: 5px; }
.products.four .p-card h3 { font-size: 1.12rem; }
.products.four .p-card .pack { font-size: .68rem; }
.products.four .p-card .muted { font-size: .85rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.products.four .price .now { font-size: 1.35rem; }
.products.four .price .was, .products.four .price .save { font-size: .78rem; }
.products.four .p-card form { gap: 8px; padding-top: 6px; }
.products.four .p-card form .btn { padding: 9px 6px; font-size: .82rem; }
.products.four .off-tag { top: 10px; left: 10px; font-size: .7rem; padding: 3px 9px; }
.products.four .rating-line { font-size: .8rem; }

/* ---------- one section = one screen (desktop) ---------- */
.screen { padding: 28px 0; }
.screen-head { text-align: center; margin-bottom: 4px; }
.screen-head h2 { margin-bottom: 6px; }
.screen-head .lead { margin: 0 auto; }
@media (min-width: 961px) {
  html { scroll-snap-type: y proximity; }
  .screen { min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; scroll-margin-top: 72px; }
  .screen > .container, .screen > .narrow { width: min(1180px, 100% - 40px); }
  .screen > .narrow { width: min(900px, 100% - 40px); }
  .hero.screen { min-height: calc(100svh - 108px); scroll-margin-top: 0; }
}

/* ---------- hero (fits the first screen) ---------- */
.hero.screen { padding: 0; justify-content: center; }
.hero.screen .hero-grid { padding: 24px 0 96px; gap: 36px; }
.hero h1 { font-size: clamp(2.4rem, min(5.6vw, 9.5vh), 4.7rem); margin-bottom: .3em; }
.hero h1 em { display: block; font-style: italic; }
.hero h1 em .w > span { background: linear-gradient(100deg, #b9dc55 20%, #fff7c2 45%, #f2952b 55%, #b9dc55 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }
.hero .lead { font-size: 1.05rem; margin-bottom: 0; }
.hero-cta { margin: 20px 0 20px; }
.rotator { font: 500 clamp(1.05rem, 2.2vh + .5rem, 1.5rem) var(--serif); color: #e8efe6; margin: 0 0 12px; min-height: 1.5em; }
.rotator b { color: var(--saffron); font-weight: 600; }
.rotator b::after { content: ''; display: inline-block; width: 2px; height: 1em; background: var(--saffron); margin-left: 3px; vertical-align: -.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-art .tilt { width: min(100%, 66vh); margin-inline: auto; }
.hero-art img { width: 100%; }
.hero.screen .ribbon-wrap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 0 0 14px; z-index: 3; }

/* ---------- why Jointex (image + 2x2 benefits) ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.why .pic { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); max-height: 66vh; }
.why .pic img { width: 100%; height: 100%; max-height: 66vh; object-fit: cover; }
.why .benefits { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.why .benefit { padding: 18px 18px; }
.why .benefit .ico { width: 44px; height: 44px; margin-bottom: 10px; }
.why .benefit h3 { font-size: 1.08rem; }
.why .benefit p { font-size: .88rem; }
.why h2 { margin-bottom: .25em; }

/* ---------- how to use (dark, full width) ---------- */
.dark-screen { background: radial-gradient(800px 420px at 85% 0%, rgba(185, 220, 85, .18), transparent 60%), var(--forest-2); color: #e8efe6; position: relative; overflow: hidden; }
.dark-screen h2 { color: #fff; }
.dark-screen .kicker { color: var(--lime); }
.dark-screen .lead { color: #c9d6c9; }
.dark-screen .steps { margin-top: 28px; }
.dark-screen .step { padding: clamp(22px, 3vw, 36px); }
.dark-screen .step::before { font-size: clamp(2.6rem, 6vh, 4rem); }
.dark-screen .step h3 { font-size: 1.4rem; }
.dark-screen .step p { font-size: 1rem; }
.dark-screen::after { content: ''; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border: 1.5px dashed rgba(185, 220, 85, .3); border-radius: 50%; animation: spin 70s linear infinite; pointer-events: none; }

/* ---------- FAQ in two columns + CTA ---------- */
.faq.cols { grid-template-columns: 1fr 1fr; align-items: start; gap: 10px 16px; margin-top: 18px; }
.faq.cols summary { padding: 14px 28px 14px 0; font-size: .95rem; }
.faq.cols summary::after { top: 9px; }
.screen .cta { margin-top: 26px; padding: clamp(22px, 3vw, 36px); }

/* ---------- page banner (compact) ---------- */
.page-head { padding: 28px 0 30px; }
.page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

/* ---------- About ---------- */
.about-hero { background: radial-gradient(900px 480px at 90% 10%, rgba(185, 220, 85, .22), transparent 60%), var(--forest); color: #e8efe6; }
.about-hero h1 { color: #fff; font-size: clamp(2.2rem, min(5vw, 8.5vh), 4.2rem); }
.about-hero h1 em { color: var(--lime); font-style: italic; }
.about-hero .kicker { color: var(--lime); }
.about-hero .lead { color: #c9d6c9; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.about-pic { position: relative; max-width: 440px; margin-inline: auto; }
.about-pic img { border-radius: 38% 62% 44% 56% / 44% 40% 60% 56%; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); animation: morph 14s ease-in-out infinite alternate; }
@keyframes morph { 50% { border-radius: 58% 42% 52% 48% / 54% 52% 48% 46%; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.stat { border-top: 2px solid var(--saffron); padding-top: 10px; }
.stat b { display: block; font: 600 clamp(1.8rem, 4vh, 2.6rem) var(--serif); color: #fff; line-height: 1.1; }
.stat span { font-size: .84rem; color: #b9c8b9; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--lime); }
.value .ico { width: 48px; height: 48px; border-radius: 16px 16px 16px 4px; background: var(--forest-2); color: var(--lime); display: grid; place-items: center; margin-bottom: 14px; }
.value .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.12rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--muted); font-size: .92rem; }
.company { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 24px; align-items: stretch; }
.company dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 0; }
.company dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 3px; }
.company dd { margin: 0; font-weight: 600; }
.cert-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cert { border: 1.5px solid var(--forest-2); color: var(--forest-2); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: .85rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.contact-grid textarea { min-height: 90px; }
.map-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; margin-top: 18px; }
.map-card iframe { width: 100%; height: 100%; min-height: 250px; border: 0; display: block; flex: 1; }
.map-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; font-size: .9rem; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .products.four > .p-card { flex-basis: calc(33.333% - 15px); max-width: calc(33.333% - 15px); }
}
@media (max-width: 960px) {
  .products.four > .p-card { flex-basis: calc(50% - 11px); max-width: calc(50% - 11px); }
  .why, .about-grid, .company, .contact-grid { grid-template-columns: 1fr; }
  .stats, .values { grid-template-columns: 1fr 1fr; }
  .faq.cols { grid-template-columns: 1fr; }
  .hero.screen .hero-grid { padding-bottom: 110px; }
  .hero-art .tilt { width: min(100%, 420px); }
  .hero.screen .ribbon-wrap { position: absolute; }
  .screen { padding: 44px 0; }
  .hero.screen { padding: 0; }
}
@media (max-width: 560px) {
  .products.four > .p-card { flex-basis: 100%; max-width: 100%; }
  .why .benefits, .stats, .values { grid-template-columns: 1fr; }
  .company dl { grid-template-columns: 1fr; gap: 2px; }
  .company dt { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 em .w > span { background: none; color: var(--lime); -webkit-background-clip: border-box; }
  .about-pic img { animation: none; }
}

/* tighter packs screen so heading, cards and button all fit one laptop screen */
.products.four .p-card .muted { display: none; }
#packs .screen-head .lead { font-size: 1rem; }
#packs .products.four { margin-top: 18px; }
#packs .btn-sm { margin-top: 0; }

/* compact inner-page banners so banner + content fit one screen */
.page-head { padding: 16px 0 18px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.page-head p { margin-top: 4px; font-size: .95rem; }
.page-head .crumbs { margin-bottom: 2px; }
.contact-grid .card { padding: 18px 20px; }
.contact-grid .form-grid { gap: 10px 14px; }
.contact-grid label { margin-bottom: 3px; }
.contact-grid textarea { min-height: 72px; }
.contact-grid h3 { margin-bottom: .35em; }
.map-card { margin-top: 14px; }
.map-card iframe { min-height: 190px; }

/* Why section: show the whole product photo, never cropped */
.why .pic { background: #fff; max-height: none; display: flex; justify-content: center; }
.why .pic img { width: auto; max-width: 100%; height: min(64vh, 600px); max-height: none; object-fit: contain; }
@media (max-width: 960px) { .why .pic img { height: auto; max-height: 520px; } }

/* ===== One consistent gap between sections, site-wide ===== */
:root { --gap: clamp(24px, 4vh, 48px); }
@media (max-width: 960px) { :root { --gap: 44px; } }
html { scroll-snap-type: none !important; }
main .section, main .screen { padding-top: var(--gap) !important; padding-bottom: var(--gap) !important; min-height: 0 !important; display: block; scroll-snap-align: none; }
main .hero.screen { padding: 0 !important; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 961px) { main .hero.screen { min-height: calc(100svh - 108px) !important; } }
main .screen-head { margin-bottom: 0; }
.site-footer { margin-top: 0; }
