/* ===== Font fallbacks =====
   Local fonts scaled to the metrics of Cormorant Garamond / Lato, so text
   does not jump (layout shift / CLS) when the Google Fonts finish loading. */
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Georgia');
  size-adjust: 88.5%;
  ascent-override: 104.4%;
  descent-override: 32.4%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Lato Fallback';
  src: local('Arial');
  size-adjust: 97.1%;
  ascent-override: 101.6%;
  descent-override: 21.9%;
  line-gap-override: 0%;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-text:      #3a3a2e;
  --color-text-soft: #5e5e50;
  --color-accent:    #5c7a3a;
  --color-accent-h:  #4a6530;
  --color-marble-1:  #ebe3da;
  --color-marble-2:  #d6d4bf;
  --color-marble-3:  #c8c6a8;
  --font-display:    'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  --font-body:       'Lato', 'Lato Fallback', 'Segoe UI', sans-serif;
  --page-max:        1240px;
}

html {
  scroll-behavior: smooth;
  cursor: url('assets/kursor-green2.cur'), auto;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: #e7e4df;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Parallax Background ===== */
.bg-parallax {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: url('assets/bg/tlo-1280.webp') top center / 100% auto repeat-y;
}

.bg-parallax img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 100%;
  /* height controlled by JS for parallax sync */
  top: 0;
  will-change: transform;
}

/* ===== Page Wrapper ===== */
.page {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}

.hero-image-wrap {
  position: relative;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%),
    linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  mask-composite: intersect;
}

.hero-img {
  width: 100%;
  display: block;
}

/* Desktop: overlay positioned top-left on the hero image */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 4% 0 0 12%;
  text-align: left;
}

.hero-logo {
  width: clamp(180px, 32vw, 340px);
  margin-bottom: 0.75rem;
  margin-left: -1.4rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  font-weight: 600;
  color: #4a5a2b;
  margin-bottom: 0.25rem;
}

.hero-text {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: #566832;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Mobile: text block below hero image, hidden on desktop */
.hero-content-mobile {
  display: none;
  text-align: center;
  margin-top: -15px;
  padding: 0 1.5rem 0.5rem;
}

.hero-content-mobile .hero-subtitle {
  font-family: var(--font-display);
  color: #4a5a2b;
  text-shadow: none;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.hero-content-mobile .hero-text {
  color: #566832;
  text-shadow: none;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
}

/* ===== Buttons — marble texture ===== */
.btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #f0ebe4;
  border: 1px solid #2e3d18;
  border-radius: 20px;
  cursor: pointer;
  background:
    linear-gradient(
      to bottom,
      rgba(95, 115, 55, 0.9) 0%,
      rgba(74, 90, 43, 0.85) 45%,
      rgba(58, 72, 32, 0.9) 100%
    );
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.2),
    inset 0 -1px 2px rgba(0,0,0,0.15),
    0 2px 4px rgba(0,0,0,0.2);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s, transform 0.2s;
}

.btn:hover {
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.25),
    inset 0 -1px 2px rgba(0,0,0,0.15),
    0 4px 10px rgba(0,0,0,0.25);
  transform: translateY(-1px);
  color: #f0ebe4;
}

.btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.25),
    0 1px 2px rgba(0,0,0,0.15);
}

/* ===== Floating particles hover effect ===== */
.btn {
  position: relative;
  overflow: visible;
}

.btn .particle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
}

/* Note shape */
.btn .particle.note {
  width: 10px;
  height: 10px;
  font-size: 22px;
  line-height: 1;
  color: #6b8c3a;
  background: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn .particle.note::after {
  content: '♪';
}

.btn .particle.note.alt::after {
  content: '♫';
  font-size: 20px;
}

/* Animations — 12 unique paths */
.btn:hover .p1  { animation: fly1 2s ease-out forwards; }
.btn:hover .p2  { animation: fly2 2.4s 0.1s ease-out forwards; }
.btn:hover .p3  { animation: fly3 1.8s 0.2s ease-out forwards; }
.btn:hover .p4  { animation: fly4 2.2s 0.05s ease-out forwards; }
.btn:hover .p5  { animation: fly5 2.6s 0.3s ease-out forwards; }
.btn:hover .p6  { animation: fly6 1.9s 0.15s ease-out forwards; }
.btn:hover .p7  { animation: fly7 2.3s 0.25s ease-out forwards; }
.btn:hover .p8  { animation: fly8 2.1s 0.35s ease-out forwards; }
.btn:hover .p9  { animation: fly9 2s 0.12s ease-out forwards; }
.btn:hover .p10 { animation: fly10 2.5s 0.22s ease-out forwards; }
.btn:hover .p11 { animation: fly11 1.7s 0.08s ease-out forwards; }
.btn:hover .p12 { animation: fly12 2.3s 0.18s ease-out forwards; }

@keyframes fly1 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.3) rotate(0); }
  12%  { opacity: 0.8; }
  40%  { opacity: 0.9; transform: translate(-35px,-40px) scale(1.1) rotate(-15deg); }
  70%  { opacity: 0.5; transform: translate(-60px,-70px) scale(0.9) rotate(10deg); }
  100% { opacity: 0; transform: translate(-80px,-95px) scale(0.6) rotate(-20deg); }
}
@keyframes fly2 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.3) rotate(0); }
  12%  { opacity: 0.75; }
  40%  { opacity: 0.85; transform: translate(40px,-35px) scale(1) rotate(20deg); }
  70%  { opacity: 0.45; transform: translate(65px,-65px) scale(0.85) rotate(-8deg); }
  100% { opacity: 0; transform: translate(90px,-90px) scale(0.5) rotate(15deg); }
}
@keyframes fly3 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.2) rotate(0); }
  12%  { opacity: 0.85; }
  40%  { opacity: 0.9; transform: translate(5px,-45px) scale(1.15) rotate(-10deg); }
  70%  { opacity: 0.5; transform: translate(-10px,-80px) scale(0.95) rotate(12deg); }
  100% { opacity: 0; transform: translate(8px,-110px) scale(0.5) rotate(-5deg); }
}
@keyframes fly4 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.3) rotate(0); }
  12%  { opacity: 0.7; }
  40%  { opacity: 0.85; transform: translate(-45px,-30px) scale(1.05) rotate(18deg); }
  70%  { opacity: 0.4; transform: translate(-75px,-55px) scale(0.8) rotate(-12deg); }
  100% { opacity: 0; transform: translate(-100px,-75px) scale(0.5) rotate(8deg); }
}
@keyframes fly5 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.2) rotate(0); }
  12%  { opacity: 0.75; }
  40%  { opacity: 0.8; transform: translate(30px,-50px) scale(1.1) rotate(-22deg); }
  70%  { opacity: 0.4; transform: translate(50px,-85px) scale(0.9) rotate(8deg); }
  100% { opacity: 0; transform: translate(70px,-105px) scale(0.5) rotate(-15deg); }
}
@keyframes fly6 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.3) rotate(0); }
  12%  { opacity: 0.8; }
  40%  { opacity: 0.85; transform: translate(-20px,-50px) scale(1) rotate(12deg); }
  70%  { opacity: 0.45; transform: translate(-35px,-85px) scale(0.85) rotate(-18deg); }
  100% { opacity: 0; transform: translate(-50px,-110px) scale(0.4) rotate(5deg); }
}
@keyframes fly7 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.25) rotate(0); }
  12%  { opacity: 0.7; }
  40%  { opacity: 0.8; transform: translate(50px,-25px) scale(1) rotate(-14deg); }
  70%  { opacity: 0.35; transform: translate(80px,-50px) scale(0.8) rotate(10deg); }
  100% { opacity: 0; transform: translate(105px,-70px) scale(0.4) rotate(-8deg); }
}
@keyframes fly8 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.2) rotate(0); }
  12%  { opacity: 0.8; }
  40%  { opacity: 0.85; transform: translate(-10px,-55px) scale(1.2) rotate(8deg); }
  70%  { opacity: 0.45; transform: translate(15px,-90px) scale(1) rotate(-15deg); }
  100% { opacity: 0; transform: translate(-5px,-120px) scale(0.5) rotate(10deg); }
}
@keyframes fly9 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.3) rotate(0); }
  12%  { opacity: 0.8; }
  40%  { opacity: 0.85; transform: translate(25px,-45px) scale(1.15) rotate(15deg); }
  70%  { opacity: 0.4; transform: translate(45px,-78px) scale(0.9) rotate(-10deg); }
  100% { opacity: 0; transform: translate(60px,-100px) scale(0.5) rotate(12deg); }
}
@keyframes fly10 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.2) rotate(0); }
  12%  { opacity: 0.75; }
  40%  { opacity: 0.8; transform: translate(-40px,-38px) scale(1) rotate(-18deg); }
  70%  { opacity: 0.4; transform: translate(-68px,-62px) scale(0.85) rotate(8deg); }
  100% { opacity: 0; transform: translate(-90px,-85px) scale(0.4) rotate(-12deg); }
}
@keyframes fly11 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.3) rotate(0); }
  12%  { opacity: 0.85; }
  40%  { opacity: 0.9; transform: translate(15px,-55px) scale(1.2) rotate(-8deg); }
  70%  { opacity: 0.5; transform: translate(-5px,-92px) scale(1) rotate(14deg); }
  100% { opacity: 0; transform: translate(10px,-115px) scale(0.6) rotate(-6deg); }
}
@keyframes fly12 {
  0%   { opacity: 0; transform: translate(0,0) scale(0.25) rotate(0); }
  12%  { opacity: 0.7; }
  40%  { opacity: 0.8; transform: translate(-30px,-48px) scale(1.1) rotate(20deg); }
  70%  { opacity: 0.35; transform: translate(-55px,-75px) scale(0.85) rotate(-10deg); }
  100% { opacity: 0; transform: translate(-75px,-98px) scale(0.45) rotate(8deg); }
}

.btn-sm {
  padding: 0.45rem 1.4rem;
  font-size: 0.9rem;
}

/* ===== Top Bar ===== */
.top-bar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

.lang-switcher {
  display: flex;
  gap: 6px;
}

/* User Menu */
.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  background: rgba(235, 227, 218, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(107, 124, 80, 0.3);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.user-btn:hover {
  background: rgba(235, 227, 218, 0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-icon {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.user-greeting {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5a2b;
  white-space: nowrap;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
  background: rgba(235, 227, 218, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(107, 124, 80, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lang-btn:hover {
  background: rgba(235, 227, 218, 0.9);
}

.lang-btn.active {
  border-color: #4a5a2b;
  background: rgba(74, 90, 43, 0.15);
}

.lang-btn svg {
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

/* ===== Card Modals ===== */
.card-modal {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  width: 260px;
  padding-top: 8px;
}

.card-modal.hover-visible,
.card-modal.pinned {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.card-modal-content {
  background:
    linear-gradient(
      135deg,
      rgba(235, 227, 218, 0.92) 0%,
      rgba(214, 212, 191, 0.88) 50%,
      rgba(235, 227, 218, 0.92) 100%
    );
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 90, 43, 0.25);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.4);
  position: relative;
}

.card-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-text-soft);
  cursor: pointer;
  line-height: 1;
  display: none;
  transition: color 0.2s;
}

.card-modal-close:hover {
  color: var(--color-text);
}

.card-modal.pinned .card-modal-close {
  display: block;
}

.card-modal-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #4a5a2b;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.card-modal-flags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.flag-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #4a5a2b;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.flag-btn:hover {
  border-bottom-color: rgba(74, 90, 43, 0.4);
}

.flag-btn.selected {
  border-bottom-color: #4a5a2b;
  color: #3a4a22;
}

.flag-btn svg {
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.card-modal-order {
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.3s;
}

.card-modal-order.enabled {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Section Common ===== */
section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #4a5a2b;
  margin-bottom: 0.3rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #7a8a5a;
  font-weight: 300;
}

.divider {
  width: 80px;
  height: 1px;
  background: #6b7c50;
  margin: 0.75rem auto;
}

/* ===== Instruments / Cards ===== */
.instruments {
  margin-top: -3.5rem;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.card-grid {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.card {
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
  padding: 0;
  flex: 1;
  transition: transform 0.25s;
  position: relative;
  z-index: 1;
}

.card.modal-active {
  z-index: 100;
}

.card:hover {
  transform: translateY(-3px);
}

.card-img-wrapper {
  position: relative;
}

.card-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card-label {
  position: absolute;
  bottom: 8%;
  left: 0;
  right: 0;
  text-align: center;
}

.card-label h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #4a5a2b;
}

/* ===== Bottom Section (Why Us + Contact) ===== */
.bottom-section {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.bottom-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #4a5a2b;
  text-align: center;
  margin-bottom: 1.5rem;
}

.bottom-layout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.bottom-left {
  flex: 2;
}

.bottom-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-right img {
  width: 100%;
  max-width: 300px;
}

.about-link {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: #4a5a2b;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.about-link:hover {
  border-bottom-color: #4a5a2b;
}

/* Features row */
.features {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.feature {
  text-align: center;
  flex: 1;
}

.feature img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a5a2b;
  line-height: 1.3;
}

/* Divider under features */
.divider-full {
  width: 100%;
  margin: 1.25rem 0;
}

/* CTA row */
.bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-lead {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-soft);
  line-height: 1.5;
}

.bottom-cta .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(74, 90, 43, 0.15);
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: #7a8a5a;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #4a5a2b;
}

.footer-logo {
  height: 60px;
  width: auto;
  opacity: 0.7;
}

/* ===== Feature as link ===== */
a.feature {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

a.feature:hover {
  transform: translateY(-3px);
}

a.feature:hover h3 {
  color: #3a4a22;
}

/* ===== Subpage Hero ===== */
.subpage-hero {
  text-align: center;
  padding: 3rem 1.5rem 1.5rem;
}

.subpage-logo-link {
  display: inline-block;
}

.subpage-logo {
  width: clamp(140px, 25vw, 260px);
  margin: 0 auto 1rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #4a5a2b;
  margin-bottom: 0.5rem;
}

/* ===== Subpage Content ===== */
.subpage-content {
  padding: 1rem 0 3rem;
}

.content-card {
  background:
    linear-gradient(
      135deg,
      rgba(235, 227, 218, 0.88) 0%,
      rgba(214, 212, 191, 0.82) 50%,
      rgba(235, 227, 218, 0.88) 100%
    );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 90, 43, 0.15);
  border-radius: 16px;
  padding: 2.5rem 2.5rem;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.content-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #4a5a2b;
  margin: 2rem 0 0.75rem;
}

.content-card h2:first-child,
.content-card .about-intro + h2 {
  margin-top: 0;
}

.content-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: #566832;
  margin: 1.5rem 0 0.5rem;
}

.content-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.content-card ul,
.content-card ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-card li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* About page */
.about-intro {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.about-photo {
  width: 200px;
  flex-shrink: 0;
  border-radius: 12px;
}

.about-text h2 {
  margin-top: 0;
}

.about-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(74, 90, 43, 0.15);
}

.about-cta p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #4a5a2b;
  margin-bottom: 1rem;
}

/* Rent page tiers */
.rent-tiers {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.rent-tier {
  flex: 1;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(74, 90, 43, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.rent-tier h3 {
  margin-top: 0;
}

.rent-tier-desc {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.rent-tier ul {
  text-align: left;
}

.rent-tier .btn {
  margin-top: 0.75rem;
}

/* How it works */
.how-it-works {
  counter-reset: step;
  padding-left: 0;
  list-style: none;
}

.how-it-works li {
  padding-left: 2.5rem;
  position: relative;
  margin-bottom: 1rem;
}

.how-it-works li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  background: rgba(74, 90, 43, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #4a5a2b;
}

/* FAQ items */
.faq-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(74, 90, 43, 0.1);
}

.faq-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  margin-top: 0;
  color: #4a5a2b;
}

.faq-item p {
  margin-bottom: 0;
}

/* ===== Placeholder pictogram (feature subpages) ===== */
.placeholder-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.placeholder-pictogram {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto;
}

/* ===== Contact Form ===== */
.contact-form {
  margin: 2rem 0;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a5a2b;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(74, 90, 43, 0.25);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a5a2b;
  box-shadow: 0 0 0 3px rgba(74, 90, 43, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

.form-actions {
  text-align: center;
  margin-top: 1.5rem;
}

/* Teach language selector (radio-based flag buttons) */
.teach-selector {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}

.teach-option {
  display: flex;
  cursor: pointer;
}

.teach-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.teach-flag-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #4a5a2b;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(74, 90, 43, 0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.4);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  user-select: none;
}

.teach-flag-btn svg {
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.teach-option:hover .teach-flag-btn {
  border-color: rgba(74, 90, 43, 0.5);
  background: rgba(255,255,255,0.65);
}

.teach-option input[type="radio"]:checked + .teach-flag-btn {
  border-color: #4a5a2b;
  background: rgba(74, 90, 43, 0.08);
  box-shadow: 0 0 0 3px rgba(74, 90, 43, 0.12);
  font-weight: 700;
}

/* Bot trap field — off-screen, invisible to people */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Consent checkbox */
.form-consent {
  margin-top: 1.25rem;
}

.form-consent .consent-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-soft);
  cursor: pointer;
}

.form-consent .consent-option input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #4a5a2b;
  cursor: pointer;
}

.form-consent .consent-option a {
  color: #4a5a2b;
}

/* Cloudflare Turnstile widget */
.form-turnstile {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
  min-height: 65px;
}

/* Send result message */
.form-status {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.form-status.is-success {
  color: #4a5a2b;
  background: rgba(74, 90, 43, 0.1);
  border: 1px solid rgba(74, 90, 43, 0.35);
}

.form-status.is-error {
  color: #8a2f25;
  background: rgba(160, 50, 40, 0.07);
  border: 1px solid rgba(160, 50, 40, 0.3);
}

.contact-form .btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* ===== Btn outline variant ===== */
.btn-outline {
  background: transparent;
  border-color: #4a5a2b;
  color: #4a5a2b;
  text-shadow: none;
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(74, 90, 43, 0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== Love the Cello subpage ===== */
.love-cello-page p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.3rem;
  color: var(--color-text);
}

.love-cello-photo {
  float: right;
  width: 680px;
  max-width: 55%;
  margin: 0 0 1.5rem 2.5rem;
  border-radius: 12px;
}

.love-cello-tagline {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: #4a5a2b;
  line-height: 1.4;
  margin-bottom: 2rem;
  font-style: italic;
}

.love-cello-promise {
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #4a5a2b !important;
  font-style: italic;
  margin: 2rem 0 !important;
}

.love-cello-note {
  font-size: 0.9rem !important;
  color: var(--color-text-soft) !important;
  margin-top: 0.5rem !important;
}

.love-cello-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
}

.love-cello-cta .btn {
  font-size: 1rem !important;
  padding: 0.45rem 1.4rem !important;
  border-radius: 14px !important;
  flex: 1;
  text-align: center;
}

.contact-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(74, 90, 43, 0.15);
}

.contact-info h2 {
  margin-top: 0;
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .hero-subtitle {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  }

  .hero-text {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }

  .bottom-layout {
    gap: 1.5rem;
  }

  .bottom-right img {
    max-width: 100%;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .page {
    max-width: 100%;
  }

  /* Subpage responsive */
  .content-card {
    padding: 1.5rem 1.25rem;
  }

  .about-intro {
    flex-direction: column;
    align-items: center;
  }

  .about-photo {
    width: 160px;
  }

  .rent-tiers {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  /* Hide desktop text overlay, show mobile block below image */
  .hero-content {
    display: none;
  }

  .hero-content-mobile {
    display: block;
  }

  .instruments {
    margin-top: 0;
    padding-top: 1.5rem;
  }

  .card-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .card {
    width: 92%;
    max-width: 450px;
  }

  .card-label {
    bottom: 5%;
  }

  .bottom-title {
    font-size: 1.8rem;
  }

  .bottom-layout {
    flex-direction: column;
    align-items: center;
  }

  .bottom-left {
    width: 100%;
  }

  .bottom-right {
    justify-content: center;
    width: 100%;
    order: -1;
  }

  .bottom-right img {
    max-width: 200px;
    margin: 0 auto;
  }

  .features {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .feature img {
    width: 150px;
    height: 150px;
  }

  .bottom-cta {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/* ===== Cookie consent banner (consent.js) ===== */
.cookie-banner {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  width: min(440px, calc(100vw - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1rem;
  background: rgba(241, 236, 228, 0.97);
  border: 1px solid rgba(74, 90, 43, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(46, 61, 24, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  color: var(--color-text);
  font-family: var(--font-body);
}

.cookie-banner [hidden] {
  display: none !important;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #4a5a2b;
  margin-bottom: 0.35rem;
}

.cookie-banner-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-soft);
  margin-bottom: 1rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.cookie-btn {
  font-size: 1rem;
  padding: 0.45rem 1.2rem;
}

.cookie-link-btn {
  background: none;
  border: 0;
  padding: 0.45rem 0.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-banner-links {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: #7a8a5a;
}

.cookie-banner-links a {
  color: #566832;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-options {
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid rgba(74, 90, 43, 0.15);
  padding-top: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.cookie-option input {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--color-accent);
}

.cookie-option label {
  display: grid;
  gap: 0.1rem;
  cursor: pointer;
}

.cookie-option-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4a5a2b;
}

.cookie-option-note {
  font-size: 0.8rem;
  font-weight: 400;
  color: #7a8a5a;
}

.cookie-option-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-text-soft);
}

.footer-cookie-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: #7a8a5a;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-cookie-btn:hover {
  color: #4a5a2b;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    padding: 1rem 1.1rem 0.85rem;
  }

  .cookie-btn {
    flex: 1 1 auto;
  }
}
