/* style_home_apple.css — "Apple-like" skin for the main page.
   Loaded AFTER style_home.css and only overrides it. Remove the <link> in index.php to go back to the old look.
   Principles: big light typography, lots of white space, one idea per screen, grey cards without borders,
   pill buttons, translucent navigation, product floating on the page, soft reveal on scroll. */

:root {
  --ap-bg: #ffffff;
  --ap-bg-alt: #f5f5f7;
  --ap-text: #1d1d1f;
  --ap-text-2: #6e6e73;
  --ap-line: rgba(0, 0, 0, .08);
  --ap-accent: #E8622C;
  --ap-accent-dark: #C4501E;
  --ap-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}

body,
.home-header, .home-hero, .home-trust, .home-products, .home-timeline, .home-contact, .home-footer {
  font-family: var(--ap-font);
  -webkit-font-smoothing: antialiased;
}
body { background: var(--ap-bg); color: var(--ap-text); }

/* ── Navigation: thin, translucent, quiet ───────────────────────── */
.home-header {
  padding: 0 max(22px, calc((100vw - 1024px) / 2));
  height: 68px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--ap-line);
  box-shadow: none;
}
.home-header__logo-img { height: 46px; }
.home-header__nav { gap: 34px; font-size: 15px; font-weight: 400; }
.home-header__nav a { color: rgba(29, 29, 31, .8); letter-spacing: -.005em; }
.home-header__nav a:hover { color: #000; }
.home-header__phone { font-size: 15px; font-weight: 500; color: var(--ap-text); }
.home-header__lang .dropbtn { font-size: 15px; font-weight: 400; color: rgba(29, 29, 31, .8); }
.home-header__cta {
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
}

/* ── Hero: centred stack — headline, sub-line, buttons, big floating KKM, numbers ── */
.home-hero {
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 1024px;
  padding: 88px 24px 40px;
  text-align: center;
}
.home-hero__left { display: contents; }          /* its children join the hero column; order them below */
.home-hero__eyebrow { order: 1; margin: 0 0 14px; background: none; padding: 0; border-radius: 0;
  font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ap-accent); }
.home-hero__h1 { order: 2; margin: 0; font-size: clamp(40px, 8vw, 80px); font-weight: 700;
  line-height: 1.05; letter-spacing: -.03em; color: var(--ap-text); }
.home-hero__h1 .accent { color: var(--ap-accent); }
.home-hero__body { order: 3; margin: 22px auto 0; max-width: 640px; font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.35; font-weight: 400; letter-spacing: -.01em; color: var(--ap-text-2); }
.home-hero__body ul, .home-hero__body ol { display: none; }   /* the bullet list is covered by the cards below */
.home-hero__btns { order: 4; justify-content: center; margin-top: 30px; gap: 14px; align-items: center; }
.home-hero__btn-primary {
  padding: 12px 26px; border-radius: 980px; font-size: 17px; font-weight: 400;
  background: var(--ap-accent);
}
.home-hero__btn-primary:hover { background: var(--ap-accent-dark); }
.home-hero__btn-secondary {
  padding: 12px 8px; border: none; background: none; border-radius: 980px;
  font-size: 17px; font-weight: 400; color: var(--ap-accent);
}
.home-hero__btn-secondary:hover { background: none; border: none; color: var(--ap-accent-dark); text-decoration: underline; }
.home-hero__right { order: 5; width: 100%; max-width: none; flex: none; margin-top: 8px; justify-content: center; }
.home-hero__stats { order: 6; justify-content: center; gap: clamp(28px, 7vw, 88px); margin: 36px 0 0; flex-wrap: wrap; }
.home-hero__stat-num { font-size: clamp(30px, 5vw, 48px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.home-hero__stat-lbl { font-size: 14px; color: var(--ap-text-2); margin-top: 6px; }

/* the KKM floats on the page: no card, no frame, soft contact shadow */
.home-hero__img-wrap.kkm3d {
  width: min(560px, 92vw);
  aspect-ratio: 1 / 1;
  background: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  cursor: grab;
}
.home-hero__img-wrap.kkm3d::before {
  content: "";
  position: absolute;
  left: 22%; right: 22%; bottom: 7%;
  height: 7%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 70%);
  filter: blur(6px);
  pointer-events: none;
}
.kkm3d__hint { bottom: 0; font-size: 13px; color: #86868b; }

/* ── Section heads ─────────────────────────────────────────────── */
.home-trust, .home-products { max-width: 1024px; padding-left: 24px; padding-right: 24px; }
.home-trust { padding-top: 96px; padding-bottom: 40px; }
.home-products { padding-top: 96px; padding-bottom: 96px; }
.home-section-head { margin-bottom: 56px; }
.home-section-head h2, .home-products__head h2 {
  font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; color: var(--ap-text);
}
.home-section-head p, .home-products__head p {
  font-size: clamp(17px, 2.2vw, 21px); line-height: 1.4; color: var(--ap-text-2); margin-top: 12px;
}
.home-products__head { display: block; text-align: center; margin-bottom: 40px; }
.home-products__filters { justify-content: center; margin-top: 28px; }
.home-filter-pill {
  padding: 8px 18px; border: none; border-radius: 980px;
  background: var(--ap-bg-alt); color: var(--ap-text); font-size: 14px; font-weight: 400;
}
.home-filter-pill:hover { background: #e8e8ed; color: var(--ap-text); border: none; }
.home-filter-pill.is-active { background: var(--ap-text); color: #fff; border: none; }

/* ── Trust cards: soft grey, no borders ───────────────────────── */
.home-trust__grid { gap: 20px; }
.home-trust__card {
  background: var(--ap-bg-alt); border: none; border-radius: 28px; padding: 36px 28px 34px;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.home-trust__card:hover { transform: scale(1.02); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); border: none; }
.home-trust__icon { background: none; width: auto; height: auto; font-size: 34px; margin-bottom: 22px; justify-content: flex-start; }
.home-trust__card-title { font-size: 21px; font-weight: 600; letter-spacing: -.015em; color: var(--ap-text); margin-bottom: 10px; }
.home-trust__card-desc { font-size: 15px; line-height: 1.45; color: var(--ap-text-2); }

/* ── Product cards: big image on grey, name, price, pill button ─ */
.home-products__grid { gap: 20px; }
.home-product-card {
  background: var(--ap-bg-alt); border: none; border-radius: 28px;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.home-product-card:hover { transform: scale(1.02); box-shadow: 0 18px 40px rgba(0, 0, 0, .09); border: none; }
.home-product-card__img { height: 200px; background: none; padding-top: 14px; }
.home-product-card__img img { padding: 10px 18px; mix-blend-mode: multiply; }
.home-product-card__body { padding: 8px 24px 26px; }
.home-product-card__name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ap-text); margin-bottom: 8px; }
.home-product-card__spec { font-size: 13.5px; line-height: 1.45; color: var(--ap-text-2); }
.home-product-card__footer { margin-top: 18px; }
.home-product-card__price { font-size: 17px; font-weight: 600; color: var(--ap-text); letter-spacing: -.01em; }
.home-product-card__order {
  padding: 8px 18px; border-radius: 980px; font-size: 14px; font-weight: 400; background: var(--ap-accent);
}

/* ── "How we work": a dark section for rhythm ─────────────────── */
.home-timeline { background: #000; padding: 112px max(24px, calc((100vw - 1024px) / 2)) 120px; }
.home-timeline .home-section-head h2 { color: #f5f5f7; }
.home-timeline .home-section-head p { color: #a1a1a6; }
.home-timeline__line { background: #333336; }
.home-timeline__num { width: 52px; height: 52px; font-size: 18px; font-weight: 600; }
.home-timeline__step-title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #f5f5f7; margin-bottom: 8px; }
.home-timeline__step-desc { font-size: 15px; color: #a1a1a6; line-height: 1.45; }

/* ── Contact card ──────────────────────────────────────────────── */
.home-contact { max-width: 1024px; padding-top: 96px; padding-bottom: 96px; }
.home-contact__card { background: #1d1d1f; border-radius: 28px; }
.home-contact__info h2 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.home-contact__info p { font-size: 16px; color: #a1a1a6; }
.home-contact__cta { border-radius: 980px; padding: 12px 26px; font-size: 16px; font-weight: 400; }

/* ── Footer ────────────────────────────────────────────────────── */
.home-footer { border-top: 1px solid var(--ap-line); }
.home-footer__copy, .home-footer__links a { color: #86868b; font-size: 12px; }

/* ── Scroll reveal (classes added by the script in index.php) ─── */
.ap-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.ap-reveal.ap-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ap-reveal { opacity: 1; transform: none; transition: none; }
  .home-trust__card, .home-product-card { transition: none; }
}

@media (max-width: 768px) {
  .home-hero { padding-top: 56px; }
  .home-hero__btns { flex-direction: column; gap: 6px; }
  .home-trust, .home-products { padding-top: 64px; }
  .home-timeline { padding-top: 72px; padding-bottom: 80px; }
  .home-contact { padding-top: 64px; padding-bottom: 64px; }
}

@media (pointer: coarse) { .kkm3d__hint { display: none; } }

/* the bigger menu needs more room: drop the phone and tighten the gaps on mid-size screens (the burger menu takes over at 960px) */
@media (max-width: 1360px) {
  .home-header { gap: 14px; padding-left: 20px; padding-right: 20px; }
  .home-header__phone { display: none; }
  .home-header__nav { gap: 24px; }
}
@media (max-width: 1060px) {
  .home-header__nav { gap: 18px; font-size: 14px; }
  .home-header__cta { padding: 7px 14px; font-size: 13px; }
}

@media (max-width: 1060px) { .home-header__logo-img { height: 40px; } }
@media (max-width: 960px)  { .home-header { height: 60px; } }
