/* JoelhoVita — Portugal product site — redesign v11 */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/barlow-condensed-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #13211B;
  --slate: #3B4A42;
  --muted: #667A6F;
  --paper: #F4F3EC;
  --surface: #FFFFFF;
  --sage: #E7F1E9;
  --line: #DCE4DC;
  --accent: #0E9F6E;
  --accent-deep: #0A7C55;
  --accent-soft: #E3F4EC;
  --spark: #C7F94D;
  --spark-deep: #A9E026;
  --navy: #10241B;
  --navy-2: #163127;
  --white: #ffffff;
  --danger: #B4432B;
  --max: 1160px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.25rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 0.85rem;
  --radius-lg: 1.4rem;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(16, 36, 27, 0.05);
  --shadow-md: 0 12px 32px rgba(16, 36, 27, 0.09);
  --shadow-lg: 0 26px 64px rgba(16, 36, 27, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:focus-visible,
.gallery-thumb:focus-visible,
.size-option:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

ul {
  list-style: none;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Compliance */
.compliance-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
  text-align: center;
  line-height: 1.45;
}

.compliance-bar strong {
  letter-spacing: 0.08em;
  color: var(--spark);
}

.compliance-bar a {
  color: #fff;
  text-decoration: underline;
}

.topbar {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 243, 236, 0.85);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.35rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: inset 0 0 0 1.5px rgba(199, 249, 77, 0.5), var(--shadow-sm);
}

.logo-accent {
  color: var(--accent);
}

.logo-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(14, 159, 110, 0.25);
  padding: 0.16rem 0.4rem;
  border-radius: var(--radius-pill);
  align-self: center;
}

.nav-main {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-main a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right 0.22s ease;
}

.nav-main a:hover {
  color: var(--ink);
}

.nav-main a:hover::after {
  right: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--navy);
  color: #fff;
  padding: 5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.mobile-nav a:hover {
  color: var(--spark);
}

.mobile-nav .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 159, 110, 0.28);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 12px 28px rgba(14, 159, 110, 0.34);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn-light {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-light:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* Hero — split layout */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.75rem) 0 clamp(2rem, 5vw, 3.75rem);
  background:
    radial-gradient(ellipse 60% 55% at 92% 6%, rgba(14, 159, 110, 0.12), transparent 62%),
    radial-gradient(ellipse 55% 50% at 4% 96%, rgba(199, 249, 77, 0.16), transparent 58%),
    var(--paper);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-content {
  animation: rise 0.7s ease-out both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.hero-brand .logo-accent {
  color: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 1.6rem;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta span::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

.hero-visual {
  position: relative;
  animation: heroIn 0.9s ease-out 0.1s both;
}

.hero-visual-frame {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--line);
}

.hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-price-tag {
  position: absolute;
  bottom: -0.9rem;
  left: -0.9rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(199, 249, 77, 0.35);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(14, 159, 110, 0.18);
}

.badge-warn {
  background: #FBF3E4;
  color: #8A5A16;
  border-color: rgba(138, 90, 22, 0.2);
}

/* Sections */
.section {
  padding: var(--section) 0;
}

.section-alt {
  background: var(--sage);
}

.section-ink {
  background:
    radial-gradient(ellipse 50% 60% at 88% 10%, rgba(199, 249, 77, 0.1), transparent 60%),
    var(--navy);
  color: #fff;
}

.section-header {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-ink .eyebrow {
  color: var(--spark);
}

.section-ink .eyebrow::before {
  background: var(--spark);
}

h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.95rem, 4.6vw, 2.9rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 55ch;
}

.section-ink .lede {
  color: rgba(255, 255, 255, 0.74);
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 1.5rem 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.trust-item {
  text-align: center;
  padding: 1.35rem 0.9rem;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
  color: var(--accent-deep);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Features — icon tiles */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(14, 159, 110, 0.35);
}

.feature-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
}

.feature-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* Product buy block */
.buy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.gallery-main-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
}

.gallery-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.gallery-thumb {
  border: 2px solid var(--line);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buy-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}

.buy-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.15rem 0 0.35rem;
}

.price-current {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.field-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.size-grid {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.size-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.size-option:hover {
  border-color: rgba(14, 159, 110, 0.5);
}

.size-option:has(input:checked),
.size-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.1);
}

.size-option input {
  accent-color: var(--accent);
}

.size-option strong {
  display: block;
  font-size: 1rem;
}

.size-option small {
  color: var(--muted);
  font-size: 0.85rem;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.qty-control {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.qty-control button {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: var(--sage);
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease;
}

.qty-control button:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.qty-control input {
  width: 3rem;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
  background: #fff;
}

.shipping-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.specs-list {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.6rem;
}

.specs-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--slate);
  font-size: 0.98rem;
}

.specs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
}

/* How to measure */
.measure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.measure-steps {
  display: grid;
  gap: 1rem;
}

.measure-step {
  display: grid;
  grid-template-columns: 2.9rem 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.measure-step span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--accent-deep);
  line-height: 1;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 0.8rem;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.size-table th,
.size-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 1rem;
  text-align: left;
}

.size-table tr:last-child td {
  border-bottom: 0;
}

.size-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border-bottom: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 46rem;
}

.faq-item {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: rgba(14, 159, 110, 0.4);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  color: var(--accent-deep);
}

.faq-item p {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
}

/* Disclaimer */
.disclaimer {
  background: #FBF3E4;
  border: 1px solid rgba(138, 90, 22, 0.22);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--slate);
  margin-top: 2rem;
}

.disclaimer strong {
  color: var(--ink);
}

.cta-band.section-ink .btn-primary {
  background: var(--spark);
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(199, 249, 77, 0.2);
}

.cta-band.section-ink .btn-primary:hover {
  background: var(--spark-deep);
  color: var(--navy);
}

.cta-band.section-ink .lede {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band {
  text-align: center;
  padding: var(--section) 0;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band .lede {
  margin-bottom: 1.6rem;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.75rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 0.85rem;
}

.site-footer .logo-accent {
  color: var(--spark);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.75rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
}

.site-footer a:hover {
  color: var(--spark);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: grid;
  gap: 0.5rem;
}

.footer-ad {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Page hero (inner) */
.page-hero {
  padding: 3rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 80% at 96% 0%, rgba(14, 159, 110, 0.1), transparent 60%),
    var(--sage);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prose {
  max-width: 44rem;
  padding: 2.5rem 0 4rem;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 1.85rem 0 0.65rem;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose a {
  color: var(--accent-deep);
}

/* Buy bar mobile */
.buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--navy);
  color: #fff;
  padding: 0.8rem 1rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(110%);
  transition: transform 0.25s ease;
  border-top: 2px solid var(--accent);
}

.buy-bar.is-shown {
  transform: translateY(0);
}

.buy-bar strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--spark);
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroIn {
  from {
    transform: scale(0.96) translateY(12px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav-main {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 28rem;
    margin-inline: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .buy-grid,
  .measure-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .buy-bar {
    display: flex;
  }

  body {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 560px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  html.js-reveal .reveal:not(.is-visible),
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── MediaGo / compliance ── */
.product-identity {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  max-width: 40ch;
}

.partner-disclosure {
  font-size: 0.88rem;
  color: var(--slate);
  margin-top: 0.85rem;
  padding: 0.8rem 0.9rem;
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.5;
}

.cta-disclosure {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 1rem;
  max-width: 42rem;
  margin-inline: auto;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  flex: 1 1 16rem;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner a {
  color: var(--spark);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  body:has(.cookie-banner.is-visible) {
    padding-bottom: 9rem;
  }
}
