/* =========================================================
   BerriesGroup — Dark berry theme
   Main accent: #BE123C  (deep berry red-pink)
   Supporting:   #9F1239 / #F43F5E
   Canvas:       #120B0D  / text #F3E9EC
   ========================================================= */

:root {
  --bg: #120B0D;
  --bg-2: #1A1115;
  --bg-3: #241720;
  --bg-4: #2D1C25;
  --text: #F3E9EC;
  --muted: #C3AAB3;
  --dim: #8F727D;
  --accent: #BE123C;
  --accent-dark: #9F1239;
  --accent-bright: #F43F5E;
  --border: #33222B;
  --border-soft: #291A21;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #120B0D;
  color: #F3E9EC;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================ NAVBAR — double-door bar ============================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 80px;
  padding: 0 28px;
  background-color: #120B0D;
  border-bottom: 1px solid #291A21;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #F3E9EC;
  white-space: nowrap;
}

.brand:hover {
  color: #F43F5E;
}

.doors {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
}

.door {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.door-left {
  justify-content: flex-end;
}

.door-right {
  justify-content: flex-start;
}

.seam {
  width: 1px;
  height: 34px;
  background-color: #BE123C;
  margin: 0 12px;
  flex: 0 0 auto;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #C3AAB3;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #F3E9EC;
  background-color: #241720;
}

.doors:hover .door-left {
  transform: translateX(-8px);
}

.doors:hover .door-right {
  transform: translateX(8px);
}

.nav-cta {
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 700;
  color: #F3E9EC;
  background-color: #BE123C;
  padding: 11px 20px;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: #F43F5E;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid #33222B;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #F3E9EC;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================ HERO — rising bubbles ============================ */

.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 82% 28%, #2D1C25 0%, #120B0D 62%),
    #120B0D;
  border-bottom: 1px solid #291A21;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow,
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F43F5E;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #F3E9EC;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.12rem;
  color: #C3AAB3;
  max-width: 34rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: #BE123C;
  color: #F3E9EC;
  border: 1px solid #BE123C;
}

.btn-primary:hover {
  background-color: #F43F5E;
  border-color: #F43F5E;
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: #F3E9EC;
  border: 1px solid #33222B;
}

.btn-ghost:hover {
  border-color: #F43F5E;
  color: #F43F5E;
}

/* Bubble field */
.bubble-field {
  position: relative;
  min-height: 400px;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(190, 18, 60, 0.85);
  border: 1px solid #F43F5E;
  will-change: transform;
}

.bubble.b1 { width: 120px; height: 120px; left: 6%; top: 12%; animation: floatUp 9s ease-in-out infinite; }
.bubble.b2 { width: 52px; height: 52px; left: 20%; top: 48%; background-color: #9F1239; animation: floatUp 7s ease-in-out infinite 0.6s; }
.bubble.b3 { width: 86px; height: 86px; left: 34%; top: 6%; animation: floatUp 11s ease-in-out infinite 1.1s; }
.bubble.b4 { width: 40px; height: 40px; left: 46%; top: 62%; background-color: #F43F5E; border-color: #F43F5E; animation: floatUp 6s ease-in-out infinite 0.3s; }
.bubble.b5 { width: 150px; height: 150px; left: 54%; top: 18%; background-color: #9F1239; border-color: #BE123C; animation: floatUp 13s ease-in-out infinite 1.7s; }
.bubble.b6 { width: 34px; height: 34px; left: 66%; top: 70%; background-color: #BE123C; animation: floatUp 8s ease-in-out infinite 2s; }
.bubble.b7 { width: 64px; height: 64px; left: 72%; top: 8%; animation: floatUp 10s ease-in-out infinite 0.9s; }
.bubble.b8 { width: 44px; height: 44px; left: 82%; top: 40%; background-color: #9F1239; animation: floatUp 7s ease-in-out infinite 1.4s; }
.bubble.b9 { width: 24px; height: 24px; left: 88%; top: 14%; background-color: #F43F5E; border-color: #F43F5E; animation: floatUp 5.5s ease-in-out infinite 0.5s; }
.bubble.b10 { width: 96px; height: 96px; left: 26%; top: 74%; animation: floatUp 12s ease-in-out infinite 2.3s; }
.bubble.b11 { width: 30px; height: 30px; left: 12%; top: 68%; background-color: #F43F5E; border-color: #F43F5E; animation: floatUp 6.5s ease-in-out infinite 1.9s; }
.bubble.b12 { width: 58px; height: 58px; left: 60%; top: 46%; animation: floatUp 9.5s ease-in-out infinite 0.2s; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-46px); }
}

/* ============================ STATEMENT ROW ============================ */

.statement-section {
  padding: 96px 0;
  background-color: #120B0D;
}

.statement-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  font-weight: 800;
  color: #F3E9EC;
  max-width: 20ch;
  margin-bottom: 24px;
}

.statement-body {
  font-size: 1.15rem;
  color: #C3AAB3;
  max-width: 56rem;
}

/* ============================ STAT BAND ============================ */

.stats-section {
  padding: 64px 0;
  background-color: #1A1115;
  border-top: 1px solid #291A21;
  border-bottom: 1px solid #291A21;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
}

.stat-value {
  font-size: 2.7rem;
  font-weight: 800;
  color: #F43F5E;
  line-height: 1;
}

.stat-label {
  font-size: 0.92rem;
  color: #C3AAB3;
}

/* ============================ CAPABILITIES ============================ */

.capabilities-section {
  padding: 96px 0;
  background-color: #120B0D;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  color: #F3E9EC;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: #C3AAB3;
}

.cap-list {
  list-style: none;
  counter-reset: cap;
}

.cap-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 30px 0;
  border-top: 1px solid #291A21;
}

.cap-item:last-child {
  border-bottom: 1px solid #291A21;
}

.cap-num {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 800;
  color: #BE123C;
  font-variant-numeric: tabular-nums;
}

.cap-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #F3E9EC;
  margin-bottom: 8px;
}

.cap-text p {
  color: #C3AAB3;
  max-width: 52rem;
}

/* ============================ COMPARISON TABLE ============================ */

.compare-section {
  padding: 96px 0;
  background-color: #1A1115;
  border-top: 1px solid #291A21;
  border-bottom: 1px solid #291A21;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid #33222B;
  border-radius: 14px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 18px 22px;
  font-size: 0.98rem;
  border-bottom: 1px solid #291A21;
}

.compare-table thead th {
  background-color: #241720;
  color: #F3E9EC;
  font-weight: 700;
}

.compare-table thead th:first-child {
  color: #C3AAB3;
  font-weight: 600;
}

.compare-table tbody th {
  color: #C3AAB3;
  font-weight: 600;
}

.compare-table td {
  color: #8F727D;
}

.compare-table td.highlight {
  color: #F3E9EC;
  font-weight: 600;
  background-color: #2D1C25;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================ METHOD ============================ */

.method-section {
  padding: 96px 0;
  background-color: #120B0D;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.method-step {
  padding: 28px;
  background-color: #1A1115;
  border: 1px solid #291A21;
  border-radius: 14px;
}

.method-num {
  display: inline-block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #BE123C;
  margin-bottom: 14px;
}

.method-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F3E9EC;
  margin-bottom: 10px;
}

.method-step p {
  color: #C3AAB3;
  font-size: 0.96rem;
}

/* ============================ PROOF ============================ */

.proof-section {
  padding: 96px 0;
  background-color: #1A1115;
  border-top: 1px solid #291A21;
  border-bottom: 1px solid #291A21;
}

.proof-quote {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 8px;
  text-align: center;
}

.proof-quote p {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  font-weight: 600;
  color: #F3E9EC;
  margin-bottom: 24px;
}

.proof-quote cite {
  font-style: normal;
  color: #F43F5E;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ============================ FAQ ============================ */

.faq-section {
  padding: 96px 0;
  background-color: #120B0D;
}

.faq-list {
  max-width: 56rem;
}

.faq-item {
  border-top: 1px solid #291A21;
}

.faq-item:last-child {
  border-bottom: 1px solid #291A21;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #F3E9EC;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: #F43F5E;
  line-height: 1;
  transition: transform 0.25s ease;
}

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

.faq-item p {
  color: #C3AAB3;
  padding: 0 4px 22px;
  max-width: 46rem;
}

/* ============================ CONTACT ============================ */

.contact-section {
  padding: 96px 0;
  background-color: #1A1115;
  border-top: 1px solid #291A21;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-body {
  color: #C3AAB3;
  max-width: 30rem;
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8F727D;
}

.contact-list a {
  color: #F3E9EC;
  font-weight: 600;
}

.contact-list a:hover {
  color: #F43F5E;
}

.contact-list span:last-child {
  color: #C3AAB3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  background-color: #120B0D;
  border: 1px solid #33222B;
  border-radius: 16px;
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #C3AAB3;
  margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
  font-size: 1rem;
  color: #F3E9EC;
  background-color: #1A1115;
  border: 1px solid #33222B;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #BE123C;
}

.contact-form button {
  margin-top: 18px;
  border: 1px solid #BE123C;
}

.form-note {
  font-size: 0.9rem;
  color: #F43F5E;
  margin-top: 12px;
  min-height: 1.2em;
}

/* ============================ FOOTER ============================ */

.site-footer {
  background-color: #120B0D;
  border-top: 1px solid #291A21;
}

.footer-news {
  background-color: #1A1115;
  border-bottom: 1px solid #291A21;
  padding: 40px 0;
}

.news-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F3E9EC;
}

.news-form {
  display: flex;
  gap: 12px;
  flex: 1 1 auto;
  max-width: 420px;
}

.news-form input {
  flex: 1;
  font-size: 0.95rem;
  color: #F3E9EC;
  background-color: #120B0D;
  border: 1px solid #33222B;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
}

.news-form input:focus {
  border-color: #BE123C;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #F3E9EC;
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #C3AAB3;
  max-width: 22rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F43F5E;
  margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
  color: #C3AAB3;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #F3E9EC;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid #291A21;
  color: #8F727D;
  font-size: 0.88rem;
}

.back-top {
  color: #C3AAB3;
  font-weight: 600;
}

.back-top:hover {
  color: #F43F5E;
}

/* ============================ SCROLL REVEAL ============================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .bubble-field {
    min-height: 260px;
    order: -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 760px) {
  .navbar {
    height: 68px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .doors {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #1A1115;
    border-bottom: 1px solid #33222B;
    padding: 12px 18px 18px;
    display: none;
  }

  .doors.open {
    display: flex;
  }

  .door,
  .door-left,
  .door-right {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 4px;
  }

  .doors:hover .door-left,
  .doors:hover .door-right {
    transform: none;
  }

  .seam {
    display: none;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .bubble-field {
    min-height: 200px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

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

  .news-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-form {
    width: 100%;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
