/* =============================================
   BIZMI® Academy — style.css
   ============================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  --color-teal: #014550;
  --color-teal-hover: #012e38;
  --color-green-light: #c3fbcc;
  --color-green-dark: #154904;
  --color-text-dark: #004652;
  --color-text-body: #000;
  --color-white: #fff;
  --color-bg-page: #fff;

  --font-sans: "Inter", system-ui, sans-serif;

  --radius-pill: 9999px;
  --radius-card: 1.5rem;

  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  --container-max: 1280px;
  --container-px: clamp(1rem, 5vw, 4rem);

  --shadow-lg: 0 18px 40px rgba(1, 69, 80, 0.12);
}

/* ---------- 2. Base Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg-page);
  color: var(--color-text-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-teal);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* Focus ring */
:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section spacing */
.section-gap {
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* Utility */
.text-teal {
  color: var(--color-teal);
}

.text-ink {
  color: var(--color-text-dark);
}

.section-soft {
  background: #f9fafb;
}

.cta-band {
  background: linear-gradient(135deg,
      var(--color-green-light) 0%,
      #e6fde9 100%);
}

/* ---------- 3. Scroll-Reveal ---------- */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 4. Decorative Blobs ---------- */
.blob {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.03);
  }
}

.blob-animate {
  animation: blobFloat 8s ease-in-out infinite;
}

/* ---------- 5. Navbar ---------- */
#main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base);
  background: transparent;
}

#main-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(1, 69, 80, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}

.header__brand {
  display: flex;
  align-items: center;
  z-index: 10;
  text-decoration: none;
}

.header__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__cta {
  display: none !important;
}

@media (min-width: 768px) {
  .header__cta {
    display: inline-flex !important;
  }
}

/* Desktop nav */
.nav-desktop {
  display: none;
}

.nav-desktop__link {
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-desktop__link:hover {
  color: var(--color-teal-hover);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 0.5rem;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-teal);
  border-radius: 9999px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

#hamburger-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#hamburger-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#hamburger-btn.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 6. Off-Canvas Mobile Menu ---------- */
#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(22rem, 90vw);
  background: var(--color-teal);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  gap: 0.5rem;
  overflow-y: auto;
}

#mobile-menu.is-open {
  transform: translateX(0);
}

#menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-menu__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mobile-menu__close {
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu__close:hover {
  color: var(--color-green-light);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}

.menu-link {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.menu-link:hover,
.menu-link:focus-visible {
  color: var(--color-green-light);
  padding-left: 0.4rem;
}

/* ---------- 7. Badges / Labels ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-green-light);
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.4rem;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label {
  display: inline-block;
  background: var(--color-green-light);
  color: var(--color-teal);
  border: 3px solid var(--color-teal);
  border-radius: var(--radius-pill);
  padding: 0.6rem 2rem;
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Section Eyebrow */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

/* Section Heading */
.section-heading {
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

/* Section Text */
.section-text {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.82);
  margin-bottom: 1rem;
  max-width: 65ch;
}

.section-text--accent {
  font-weight: 600;
  color: var(--color-teal);
  font-style: italic;
}

/* ---------- 8. Buttons ---------- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-pill);
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-teal);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.35s ease;
}

.btn-primary i {
  transition: transform 0.4s ease;
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.btn-primary span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
  color: inherit;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-teal);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  border-radius: inherit;
  z-index: 0;
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  transform: translateX(0);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
}

.btn-primary--full {
  width: 100%;
}

.btn-primary--tall {
  padding-block: 1rem;
  font-size: 1rem;
}

.btn-primary--tall:hover {
  color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.75rem;
  font-weight: 700;
  color: var(--color-teal);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-teal);
  color: #fff;
}

/* ---------- 9. Layout helpers ---------- */
.grid-2 {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ---------- 10. HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__grid {
  gap: 3rem;
}

.hero__badge {
  margin-bottom: 1.25rem;
}

.hero__title {
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-text-dark);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 0.5rem;
}

.hero__subtitle {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero__lead {
  font-size: 1rem;
  color: #000;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero__lead {
    font-size: 1.125rem;
  }
}

.hero__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.85);
}

.hero__check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero__image {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero__image {
    justify-content: flex-end;
  }
}

.hero__image-wrap {
  width: 100%;
  max-width: 28rem;
  position: relative;
}

.hero__img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.18));
}

/* ---------- 11. OFERTA ---------- */
.offer__grid {
  align-items: start;
}

.offer__side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.offer__img {
  border-radius: var(--radius-card);
  width: 100%;
  object-fit: cover;
  max-height: 600px;
  box-shadow: var(--shadow-lg);
}

.offer__groups {
  background: var(--color-green-light);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.offer__groups-label {
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.offer__group-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.group-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-white);
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- 12. O NAS ---------- */
.about__header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-inline: auto;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about__row {
  align-items: center;
}

@media (min-width: 1024px) {
  .about__row--reverse {
    direction: rtl;
  }

  .about__row--reverse>* {
    direction: ltr;
  }
}

.about__photo-col {
  display: flex;
  justify-content: center;
}

.about__photo-wrap {
  position: relative;
}

.about__glow {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(195, 251, 204, 0.4);
  transform: scale(0.9);
  filter: blur(40px);
}

.about__img {
  position: relative;
  width: 26rem;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.18));
}

.about__quote {
  position: relative;
  background: var(--color-teal);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 2.5rem 3rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  overflow: hidden;
}

.about__quote-star {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 80px;
  opacity: 0.15;
}

.about__inline-quote {
  border-left: 4px solid var(--color-teal);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(195, 251, 204, 0.15);
  border-radius: 0 0.75rem 0.75rem 0;
}

.about__inline-quote p {
  font-style: italic;
  font-weight: 600;
  color: var(--color-teal);
  line-height: 1.6;
}

.about__closing-wrap {
  position: relative;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  padding: 2rem 0;
}

.about__closing-accent {
  font-weight: 900;
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  color: var(--color-teal);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.about__closing-star {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  opacity: 0.08;
}

/* ---------- 13. METODOLOGIA ---------- */
.method__header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-inline: auto;
}

.method__intro-grid {
  margin-bottom: 3rem;
}

.section-text--fullwidth {
  max-width: 100% !important;
  text-align: center;
}

.method__house-interactive {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.method__house-interactive-wrapper {
  position: relative;
  width: 100%;
}

.method__interactive-img {
  width: 100%;
  height: auto;
  display: block;
}

.house-label {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.house-label__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #014550;
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  box-shadow: 0 4px 12px rgba(57, 20, 165, 0.3);
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.house-label__icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  padding: 2px;
}

@media (max-width: 768px) {
  .house-label__badge {
    padding: 0.3rem 0.6rem;
  }
}


.method__closing {
  position: relative;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

.method__waves {
  width: 120px;
  opacity: 0.12;
  margin: 0 auto 1rem;
}

.method__closing-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

/* ---------- 14. NARZĘDZIE BIZMI ---------- */
.tool__grid {
  align-items: center;
}

.tool__phone-col {
  display: flex;
  justify-content: center;
}

.tool__phone-img {
  width: 100%;
  max-width: 20rem;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.2));
}

.tool__features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.tool__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.82);
}

.tool__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .tool__features {
    grid-template-columns: 1fr;
  }
}

/* ---------- 15. CONNECTION ---------- */
.conn {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 768px) {
  .conn {
    grid-template-columns: 1.2fr 0.8fr;
    text-align: left;
    align-items: center;
  }
}

.conn__decor {
  width: 80px;
  opacity: 0.12;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .conn__decor {
    margin-bottom: 1rem;
  }
}

.conn__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
}

.conn__text--highlight {
  font-weight: 700;
  color: var(--color-teal);
  font-size: 1.1rem;
}

.conn__img-wrap {
  display: flex;
  justify-content: center;
}

.conn__img {
  width: 150%;
  max-width: 28rem;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.15));
}

/* ---------- 16. DLA KOGO ---------- */
.whom__header {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.whom__intro {
  margin-inline: auto;
  text-align: center;
}

.whom__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.whom-card {
  background: var(--color-white);
  border: 2px solid rgba(1, 69, 80, 0.12);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.whom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-teal);
}

.whom-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
}

.whom-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whom-card__title {
  font-weight: 700;
  color: var(--color-text-dark);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.whom-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.75);
}

.whom__role {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: var(--color-teal);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  color: #fff;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .whom__role {
    grid-template-columns: auto 1fr;
  }
}

.whom__role-img {
  width: 100%;
  max-width: 200px;
  border-radius: 1rem;
  object-fit: cover;
  margin: 0 auto;
}

.whom__role-title {
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.whom__role-text {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* ---------- 17. FAQ ---------- */
.faq {
  max-width: 48rem;
  margin-inline: auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 2px solid rgba(1, 69, 80, 0.2);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 700;
  color: var(--color-text-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: "Inter";
}

.faq-btn:hover {
  background: rgba(195, 251, 204, 0.2);
}

.faq-chevron {
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-answer.is-open {
  max-height: 600px;
}

.faq__p {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.7;
}

/* ---------- 18. Contact ---------- */
.contact {
  max-width: 42rem;
  margin-inline: auto;
}

.contact__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact__title {
  font-weight: 900;
  color: var(--color-text-dark);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.contact__lead {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
}

.cf-success {
  background: var(--color-teal);
  color: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
}

.cf-success__icon {
  margin: 0 auto 1rem auto;
}

.cf-success__title {
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cf-success__text {
  opacity: 0.85;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.req {
  color: #ef4444;
}

.contact-form__note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
}

/* Form */
.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  border: 2px solid var(--color-teal);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-body);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(1, 69, 80, 0.18);
}

.form-input.error {
  border-color: #dc2626;
}

.form-error {
  color: #dc2626;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.textarea {
  resize: none;
}

/* ---------- 19. Footer ---------- */
.footer {
  background: var(--color-teal);
  color: #fff;
  padding-block: 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer__link:hover {
  color: #fff;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

/* ---------- 20. Responsive switches ---------- */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .header__cta {
    display: inline-flex;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hamburger {
    display: none;
  }

  .nav-desktop {
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    gap: 1.5rem;
  }
}

/* ---------- 21. Scrollbar + reduced motion ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-teal);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-teal-hover);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Lang Switcher */
.lang-switcher {
  margin-right: 15px;
  position: relative;
}

.lang-select {
  background: rgba(1, 69, 80, 0.1);
  border: 1px solid rgba(1, 69, 80, 0.2);
  color: #014550;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23014550%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.lang-select:focus {
  border-color: #014550;
}

@media (max-width: 991px) {
  .header__actions {
    display: flex;
    align-items: center;
  }
}

/* ---------- 22. Newsletter ---------- */
.nl {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: var(--color-bg-page);
  color: var(--color-text-body);
  font-family: var(--font-sans);
}

.nl__container {
  max-width: var(--container-max);
  padding: 0 var(--container-px);
  margin: 0 auto;
}

.nl__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 1px solid rgba(1, 69, 80, 0.1);

  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 3.6vw, 2.6rem);
}

@media (max-width: 880px) {
  .nl__card {
    grid-template-columns: 1fr;
  }

  .nl__side {
    min-height: 180px;
  }
}

.nl__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
  font-weight: 900;
}

.nl__text {
  margin: 0 0 1.25rem;
  max-width: 48ch;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.5;
}

.nl__form {
  margin-top: 0.75rem;
}

.nl__label {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.nl__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 520px) {
  .nl__row {
    grid-template-columns: 1fr;
  }
}

.nl__input {
  height: 56px;
  padding: 0 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(1, 69, 80, 0.22);
  background: #fff;
  outline: none;
  font-size: 1rem;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.nl__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.nl__input:focus {
  border-color: rgba(1, 69, 80, 0.55);
  box-shadow: 0 0 0 6px rgba(195, 251, 204, 0.55);
}

.nl__btn {
  height: 56px;
  padding: 0 1.25rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-teal);
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    background var(--transition-base),
    box-shadow var(--transition-base);
  white-space: nowrap;
}

.nl__btn:hover {
  background: var(--color-teal-hover);
}

.nl__btn:active {
  transform: translateY(1px);
}

.nl__msg {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.25em;
}

.nl__msg[data-type="ok"] {
  color: var(--color-green-dark);
}

.nl__msg[data-type="err"] {
  color: #b00020;
}

.nl__msg[data-type="info"] {
  color: rgba(0, 0, 0, 0.65);
}

/* Newsletter side decoration */
.nl__side {
  position: relative;
  border-radius: calc(var(--radius-card) - 0.5rem);
  background:
    radial-gradient(1200px 600px at 20% 20%,
      rgba(195, 251, 204, 0.9),
      transparent 55%),
    radial-gradient(900px 500px at 80% 70%,
      rgba(1, 69, 80, 0.2),
      transparent 60%),
    linear-gradient(135deg, rgba(1, 69, 80, 0.06), rgba(1, 69, 80, 0.02));
  border: 1px solid rgba(1, 69, 80, 0.1);
  min-height: 100%;
  display: grid;
  place-items: center;
}

.nl__blob {
  position: absolute;
  inset: -60px -60px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(195, 251, 204, 0.85);
  filter: blur(2px);
}

.nl__badge {
  position: relative;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(1, 69, 80, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(1, 69, 80, 0.1);
  text-align: center;
}

.nl__badgeTop {
  display: block;
  font-weight: 900;
  color: var(--color-text-dark);
  letter-spacing: 0.3px;
}

.nl__badgeBottom {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
}

.section-heading {
  white-space: pre-line;
}