/*
Theme Name: Vivasan Demo
Description: Современная тема пилотного каталога Vivasan Latvia.
Version: 0.2.0
Text Domain: vivasan-demo
*/

:root {
  --ink: #12344f;
  --muted: #60788b;
  --paper: #f4f8fb;
  --card: #ffffff;
  --line: #d7e5f0;
  --green: #0071bb;
  --green-dark: #00558e;
  --lime: #7da6d7;
  --coral: #3887c8;
  --shadow: 0 22px 60px rgba(0, 83, 142, .13);
  --radius: 24px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 8% 7%, rgba(125, 166, 215, .24), transparent 29rem),
    radial-gradient(circle at 94% 30%, rgba(56, 135, 200, .12), transparent 32rem);
}

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--green); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.site-wrap { width: var(--wrap); margin-inline: auto; }
.site-main { min-height: 60vh; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(215, 229, 240, .88);
  background: rgba(244, 248, 251, .91);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 78px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 148px; height: auto; }
.brand-note { display: block; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }

.primary-nav { justify-self: center; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { font-size: .92rem; font-weight: 700; text-decoration: none; }
.primary-nav .current-menu-item a { color: var(--green); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.language-switcher { min-width: 90px; font-size: .85rem; }
.language-switcher select { max-width: 132px; border: 1px solid var(--line); border-radius: 999px; background: white; padding: 8px 12px; }
.menu-toggle, .mobile-menu { display: none; }

.menu-toggle {
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(0,113,187,.22);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 20px; height: 12px; }
.menu-toggle__icon i { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 999px; background: var(--green); transition: transform .2s ease, top .2s ease; }
.menu-toggle__icon i:first-child { top: 2px; }
.menu-toggle__icon i:last-child { top: 9px; }

body.mobile-menu-open { overflow: hidden; }

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 37, 60, .54);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity .3s ease;
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(92vw, 440px);
  height: 100%;
  flex-direction: column;
  color: var(--ink);
  background: #f7fafc;
  box-shadow: -30px 0 80px rgba(0,53,89,.24);
  transform: translateX(104%);
  transition: transform .34s cubic-bezier(.22,.74,.2,1);
}
.mobile-menu__top {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 21px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.88);
}
.mobile-menu__brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.mobile-menu__brand img { width: 126px; }
.mobile-menu__brand span { padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: .57rem; font-weight: 850; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }
.mobile-menu__close { position: relative; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; }
.mobile-menu__close span::before, .mobile-menu__close span::after { position: absolute; top: 21px; left: 12px; width: 20px; height: 2px; border-radius: 999px; background: var(--green); content: ""; }
.mobile-menu__close span::before { transform: rotate(45deg); }
.mobile-menu__close span::after { transform: rotate(-45deg); }
.mobile-menu__body { flex: 1; overflow-y: auto; padding: 27px 23px 25px; overscroll-behavior: contain; }
.mobile-menu__eyebrow { margin: 0 0 10px; color: var(--green); font-size: .67rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }

.mobile-nav { border-top: 1px solid var(--line); }
.mobile-nav__direct, .mobile-nav__toggle {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
}
.mobile-nav__direct > span:last-child, .mobile-nav__toggle small { color: #8da3b3; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .57rem; font-weight: 850; letter-spacing: .1em; }
.mobile-nav__toggle > span { display: flex; align-items: baseline; gap: 10px; }
.mobile-nav__toggle i { position: relative; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #e5f0f7; }
.mobile-nav__toggle i::before, .mobile-nav__toggle i::after { position: absolute; top: 11px; left: 7px; width: 10px; height: 2px; border-radius: 2px; background: var(--green); content: ""; transition: transform .2s ease; }
.mobile-nav__toggle i::after { transform: rotate(90deg); }
.mobile-nav__toggle[aria-expanded="true"] i::after { transform: rotate(0); }
.mobile-nav__submenu { display: grid; gap: 1px; padding: 8px 0 12px 26px; border-bottom: 1px solid var(--line); }
.mobile-nav__submenu[hidden] { display: none; }
.mobile-nav__submenu a { position: relative; padding: 8px 16px; color: var(--muted); font-size: .9rem; font-weight: 690; line-height: 1.35; text-decoration: none; }
.mobile-nav__submenu a::before { position: absolute; top: 16px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); content: ""; }

.mobile-languages { margin-top: 27px; padding: 18px; border: 1px solid #cfdfeb; border-radius: 21px; background: white; box-shadow: 0 15px 36px rgba(0,83,142,.07); }
.mobile-languages__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.mobile-languages__heading p { margin: 0; font-size: .78rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.mobile-languages__heading div > span { display: block; margin-top: 2px; color: var(--muted); font-size: .68rem; }
.mobile-languages__globe { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 1.35rem; }
.mobile-languages__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.mobile-language a { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #f8fbfd; font-size: .76rem; font-weight: 750; text-decoration: none; }
.mobile-language a:hover { border-color: var(--lime); color: var(--green-dark); background: #eef6fb; }
.mobile-language img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.mobile-menu__footer { display: flex; justify-content: space-between; gap: 20px; padding: 13px 23px; color: #dcecf8; background: var(--green-dark); font-size: .56rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 9px 25px rgba(0, 113, 187, .21);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover, .wp-block-button__link:hover { color: white; background: var(--green-dark); transform: translateY(-2px); }
.button--ghost { color: var(--green); background: transparent; box-shadow: inset 0 0 0 1px var(--green); }
.button--ghost:hover { color: white; }

.hero { padding: 76px 0 54px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.hero h1 {
  max-width: 790px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .91;
}
.hero h1 em { color: var(--green); font-weight: inherit; }
.hero-copy { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.23rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; font-weight: 700; }
.hero-proof li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 900; }

.hero-visual { position: relative; min-height: 520px; }
.hero-orbit { position: absolute; inset: 2% 0 0 7%; border: 1px solid rgba(0, 113, 187, .24); border-radius: 49% 51% 45% 55%; transform: rotate(10deg); }
.hero-card {
  position: absolute;
  inset: 5% 7% 6% 10%;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 34px;
  border-radius: 52% 48% 32% 68% / 44% 40% 60% 56%;
  color: white;
  background: linear-gradient(145deg, #3887c8, #00558e);
  box-shadow: var(--shadow);
}
.hero-card::before {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -50px;
  right: -40px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
  opacity: .9;
}
.hero-leaf { position: absolute; top: 84px; right: 53px; font-family: Georgia, serif; color: var(--green-dark); font-size: 8rem; line-height: 1; transform: rotate(-22deg); }
.hero-card small, .hero-card strong { position: relative; }
.hero-card small { opacity: .76; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-card strong { max-width: 310px; margin-top: 8px; font-family: Georgia, serif; font-size: 2.2rem; font-weight: 500; line-height: 1.05; }
.hero-badge { position: absolute; z-index: 2; top: 8%; left: 0; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-align: center; text-transform: uppercase; transform: rotate(-9deg); }

/* Hero concept 1: a stable Swiss-inspired panel with a generous safe area. */
.hero-visual--panel { display: grid; place-items: center; }
.swiss-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  width: min(100%, 470px);
  min-height: 486px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px 38px 32px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 44px;
  color: white;
  background: linear-gradient(145deg, #0069ad 0%, #0071bb 52%, #3887c8 100%);
  box-shadow: var(--shadow);
}
.swiss-panel::before {
  position: absolute;
  z-index: -1;
  width: 390px;
  height: 390px;
  top: -176px;
  right: -128px;
  border: 78px solid rgba(255,255,255,.13);
  border-radius: 50%;
  content: "";
}
.swiss-panel::after {
  position: absolute;
  z-index: -1;
  width: 200px;
  height: 200px;
  right: -70px;
  bottom: -86px;
  border-radius: 50%;
  background: rgba(125,166,215,.55);
  content: "";
}
.swiss-panel__top, .swiss-panel__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.swiss-panel__edition { font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.swiss-panel__cross { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 16px; font-size: 2rem; font-weight: 300; line-height: 1; }
.swiss-panel__copy { max-width: 385px; padding: 72px 0 54px; }
.swiss-panel__copy small { display: block; margin-bottom: 16px; opacity: .74; font-size: .71rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.swiss-panel__copy strong { display: block; font-family: Georgia, serif; font-size: clamp(2.35rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.swiss-panel__footer { justify-content: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.swiss-panel__footer span + span::before { margin-right: 18px; content: "·"; opacity: .55; }

/* Hero concept 2: orbital motion, while all copy stays in an unclipped core. */
.hero-visual--orbit-system { display: grid; place-items: center; }
.orbit-system { position: relative; width: min(100%, 500px); aspect-ratio: 1; }
.orbit-system__ring { position: absolute; border-radius: 50%; }
.orbit-system__ring--outer { inset: 4%; border: 1px solid rgba(0,113,187,.27); }
.orbit-system__ring--inner { inset: 14%; border: 1px dashed rgba(56,135,200,.38); transform: rotate(-13deg); }
.orbit-system__core {
  position: absolute;
  inset: 19%;
  display: grid;
  place-content: center;
  padding: 36px;
  border-radius: 50%;
  color: white;
  text-align: center;
  background: linear-gradient(145deg, #3887c8, #00558e);
  box-shadow: var(--shadow);
}
.orbit-system__mark { position: absolute; top: 12%; left: 50%; color: rgba(255,255,255,.16); font-family: Georgia, serif; font-size: 8rem; line-height: 1; transform: translateX(-50%); }
.orbit-system__core small { position: relative; margin-bottom: 12px; font-size: .7rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.orbit-system__core strong { position: relative; font-family: Georgia, serif; font-size: clamp(1.75rem, 3.2vw, 2.55rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.03; }
.orbit-system__satellite { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: white; box-shadow: 0 12px 36px rgba(0,83,142,.15); font-size: .66rem; font-weight: 900; letter-spacing: .08em; line-height: 1.25; text-align: center; text-transform: uppercase; }
.orbit-system__satellite--one { width: 96px; height: 96px; top: 7%; left: 1%; transform: rotate(-8deg); }
.orbit-system__satellite--two { width: 76px; height: 76px; right: 3%; bottom: 12%; color: white; background: var(--lime); transform: rotate(7deg); }

/* Hero concept 3: an editorial cover with layered physical depth. */
.hero-visual--editorial { display: grid; place-items: center; }
.editorial-stack { position: relative; width: min(86%, 405px); min-height: 500px; }
.editorial-stack__sheet, .editorial-card { position: absolute; inset: 5% 0 0; border-radius: 28px; }
.editorial-stack__sheet--back { background: #b9d2e8; transform: rotate(8deg) translate(18px, 2px); }
.editorial-stack__sheet--middle { border: 1px solid rgba(0,113,187,.22); background: white; transform: rotate(-5deg) translate(-13px, 6px); }
.editorial-card {
  display: flex;
  flex-direction: column;
  padding: 34px 36px 32px;
  color: white;
  background: linear-gradient(165deg, #0071bb 0 63%, #00558e 63% 100%);
  box-shadow: var(--shadow);
}
.editorial-card__brand { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.editorial-card__brand img { width: 135px; padding: 11px 12px; border-radius: 14px; background: white; }
.editorial-card__brand span { font-size: .62rem; font-weight: 900; letter-spacing: .11em; line-height: 1.4; text-align: right; text-transform: uppercase; }
.editorial-card > strong { margin: auto 0 24px; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 4.1rem); font-weight: 500; letter-spacing: -.055em; line-height: .89; }
.editorial-card__rule { width: 58px; height: 3px; margin-bottom: 16px; background: var(--lime); }
.editorial-card > small { max-width: 230px; font-size: .73rem; font-weight: 800; letter-spacing: .11em; line-height: 1.5; text-transform: uppercase; }

.section { padding: 78px 0; }
.section--white { background: rgba(255, 254, 249, .73); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-heading h1, .section-heading h2 { max-width: 760px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4.5vw, 4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { min-height: 210px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.principle-number { display: grid; width: 39px; height: 39px; place-items: center; margin-bottom: 32px; border-radius: 50%; color: var(--green); background: rgba(125, 166, 215, .25); font-size: .8rem; font-weight: 900; }
.principle h3 { margin: 0 0 8px; font-size: 1.12rem; }
.principle p { margin: 0; color: var(--muted); font-size: .92rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 8px 30px rgba(0, 83, 142, .05); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__image { position: relative; aspect-ratio: 1 / .88; overflow: hidden; background: #edf5fa; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--green); font-family: Georgia, serif; font-size: 4.5rem; background: radial-gradient(circle, #fff 0, #e8f2f9 72%); }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.product-card__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card h2, .product-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; line-height: 1.14; }
.product-card h2 a, .product-card h3 a { text-decoration: none; }
.product-card__excerpt { margin: 12px 0 20px; color: var(--muted); font-size: .89rem; line-height: 1.5; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.product-price { color: var(--green-dark); font-size: 1.04rem; font-weight: 900; }
.product-more { color: var(--green); font-size: .82rem; font-weight: 800; text-decoration: none; }

.archive-hero { padding: 70px 0 28px; }
.archive-description { max-width: 730px; color: var(--muted); font-size: 1.08rem; }
.catalog-empty { padding: 48px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border-radius: 50%; background: white; text-decoration: none; }
.pagination .current { color: white; background: var(--green); }

.product-single { padding: 62px 0 88px; }
.product-single__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; align-items: start; }
.product-single__media { position: sticky; top: 110px; overflow: hidden; border-radius: 36px; background: #edf5fa; box-shadow: var(--shadow); }
.product-single__media img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.product-single__placeholder { display: grid; aspect-ratio: 1; place-items: center; color: var(--green); font-family: Georgia, serif; font-size: 10rem; }
.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.breadcrumbs a { text-decoration: none; }
.product-single h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 500; letter-spacing: -.052em; line-height: .98; }
.product-single__lead { margin: 22px 0; color: var(--muted); font-size: 1.1rem; }
.product-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.product-facts li { padding: 8px 13px; border-radius: 999px; background: #e2eef7; color: var(--green-dark); font-size: .78rem; font-weight: 800; }
.product-price--large { display: block; margin: 25px 0; font-family: Georgia, serif; font-size: 2rem; }
.product-sections { margin-top: 40px; border-top: 1px solid var(--line); }
.product-section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.product-section h2 { margin: 0 0 8px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.product-section p { margin: 0; color: var(--muted); white-space: pre-line; }
.source-note { margin-top: 26px; padding: 17px 19px; border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.58); font-size: .77rem; }
.source-note a { font-weight: 800; }

.entry { padding: 70px 0; }
.entry__inner { max-width: 820px; margin-inline: auto; }
.entry h1 { margin: 0 0 30px; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2, .entry-content h3 { font-family: Georgia, serif; font-weight: 500; }

.site-footer { padding: 48px 0 28px; color: #dcecf8; background: var(--green-dark); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 46px; padding-bottom: 38px; }
.footer-brand { color: white; font-family: Georgia, serif; font-size: 2rem; }
.site-footer h2 { margin: 0 0 12px; color: white; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer p, .site-footer ul { margin: 0; padding: 0; color: #b7d3e7; font-size: .87rem; list-style: none; }
.site-footer a { color: inherit; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #9fc4df; font-size: .76rem; }

@media (max-width: 920px) {
  :root { --wrap: min(100% - 30px, 760px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 14px; }
  .primary-nav { display: none; }
  .header-tools .button { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: block;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .35s;
  }
  .mobile-menu.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
  .mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
  .hero { padding-top: 48px; }
  .hero-grid, .product-single__grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { min-height: 430px; }
  .hero-visual--panel, .hero-visual--orbit-system, .hero-visual--editorial { min-height: 500px; }
  .hero h1 { max-width: 680px; }
  .principles, .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-single__media { position: static; max-width: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --wrap: calc(100% - 24px); --radius: 19px; }
  body { font-size: 16px; }
  .site-header { position: relative; }
  .header-inner { min-height: 70px; }
  .brand-logo { width: 126px; }
  .brand-note { display: none; }
  .language-switcher { min-width: 0; }
  .language-switcher select { max-width: 108px; }
  .header-tools > .language-switcher { display: none; }
  .hero { padding: 39px 0 28px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-copy { margin-top: 20px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 8px; }
  .hero-visual { min-height: 340px; }
  .hero-card { padding: 25px; }
  .hero-card strong { font-size: 1.65rem; }
  .hero-badge { width: 82px; height: 82px; font-size: .6rem; }
  .hero-leaf { top: 54px; right: 31px; font-size: 6rem; }
  .hero-visual--panel { min-height: 400px; }
  .swiss-panel { min-height: 390px; padding: 25px 24px 24px; border-radius: 30px; }
  .swiss-panel__copy { padding: 42px 0 34px; }
  .swiss-panel__copy strong { font-size: 2.45rem; }
  .swiss-panel__cross { width: 44px; height: 44px; border-radius: 13px; }
  .swiss-panel__footer { gap: 10px; font-size: .57rem; }
  .swiss-panel__footer span + span::before { margin-right: 10px; }
  .hero-visual--orbit-system { min-height: 370px; }
  .orbit-system { width: min(100%, 370px); }
  .orbit-system__core { inset: 18%; padding: 25px; }
  .orbit-system__mark { font-size: 6rem; }
  .orbit-system__core strong { font-size: 1.72rem; }
  .orbit-system__satellite--one { width: 76px; height: 76px; }
  .orbit-system__satellite--two { width: 65px; height: 65px; }
  .hero-visual--editorial { min-height: 450px; }
  .editorial-stack { width: min(83%, 330px); min-height: 430px; }
  .editorial-card { padding: 25px 24px 24px; }
  .editorial-card__brand img { width: 112px; }
  .editorial-card > strong { font-size: 3rem; }
  .section { padding: 52px 0; }
  .section-heading { display: block; }
  .section-heading p, .section-heading .button { margin-top: 16px; }
  .principles, .product-grid, .footer-grid { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .product-single { padding-top: 32px; }
  .product-single__grid { gap: 32px; }
  .product-single h1 { font-size: 2.65rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
