:root {
  --bdo-red: #ED1A2D;
  --bdo-red-hover: #D01625;
  --bdo-navy: #1C355E;
  /* BDO sometimes uses a dark navy for footers, but text is dark grey */
  --bdo-black: #2c2a29;
  /* BDO specific very dark grey for main text */
  --white: #ffffff;
  --bg-light-grey: #f4f5f7;
  /* Very light grey for alternate backgrounds */
  --border-grey: #e8ecef;
  --text-grey: #666666;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  /* Clean, modern sans-serif like BDO */
  color: var(--bdo-black);
  background: var(--white);
  line-height: 1.6;
}

/* ================= NAV ================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 80px;
  border-bottom: 1px solid var(--border-grey);
  transition: box-shadow 0.3s, padding 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 70px;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bdo-black);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--bdo-red);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-grey);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--bdo-red);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--text-grey);
  color: var(--text-grey);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--bdo-red);
  color: var(--bdo-red);
}

.wa-nav {
  background: var(--bdo-red);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.wa-nav:hover {
  background: var(--bdo-red-hover);
}

.back-link {
  color: var(--text-grey);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--bdo-red);
}

/* ================= HERO ================= */
.hero {
  min-height: 90vh;
  background: var(--bg-light-grey);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 140px 5vw 80px;
}

.hero-content {
  max-width: 55%;
  position: relative;
  z-index: 2;
}

.hero-image-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  z-index: 1;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 992px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-image-container {
    opacity: 0.15;
    width: 60%;
    clip-path: none;
  }
}

.hero-tag {
  display: inline-block;
  color: var(--bdo-red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--bdo-red);
  padding-left: 12px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--bdo-black);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s 0.1s ease both;
  /* Disable aggressive breaking to keep words whole as per user request */
  overflow-wrap: normal;
  word-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.0rem;
    /* Fits long RU words at 375px */
  }
}

@media (max-width: 330px) {
  .hero h1 {
    font-size: 1.7rem;
    /* Fits long RU words at 320px */
  }
}

.hero h1 em {
  color: var(--bdo-red);
  font-style: normal;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-grey);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 650px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bdo-red);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--bdo-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(237, 26, 45, 0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--bdo-black);
  color: var(--bdo-black);
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}

.btn-outline:hover {
  background: var(--bdo-black);
  color: var(--white);
}

/* ================= DISCLAIMER BAR ================= */
.disclaimer-bar {
  background: var(--bdo-black);
  padding: 0.8rem 5vw;
  text-align: center;
  font-size: 0.85rem;
  color: var(--border-grey);
}

/* ================= SECTIONS GLOBAL ================= */
section {
  padding: 100px 5vw;
}

.section-tag {
  display: inline-block;
  color: var(--text-grey);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--bdo-red);
  padding-bottom: 4px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--bdo-black);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-grey);
  line-height: 1.7;
  max-width: 700px;
}

/* ================= HOW WE HELP ================= */
.help-section {
  background: var(--white);
}

.help-intro {
  max-width: 800px;
  margin-bottom: 4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 0;
  /* Sharp corners for corporate look */
  padding: 2.5rem;
  border-top: 4px solid var(--bdo-red);
  transition: all 0.3s;
  cursor: default;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  border-top: 4px solid var(--bdo-red);
  /* ensure red stays */
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--bdo-red);
}

.card-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--bdo-black);
  margin-bottom: 1rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-grey);
  line-height: 1.6;
}

/* ================= SERVICES ================= */
.services-section {
  background: var(--bg-light-grey);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.accordion {
  margin-top: 2rem;
}

.acc-item {
  border-bottom: 1px solid var(--border-grey);
}

.acc-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.acc-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bdo-black);
  transition: color 0.2s;
}

.acc-header:hover .acc-title {
  color: var(--bdo-red);
}

.acc-icon {
  width: 24px;
  height: 24px;
  color: var(--bdo-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.acc-item.open .acc-icon {
  transform: rotate(45deg);
}

.acc-body {
  display: none;
  padding: 0 0 1.5rem 0;
}

.acc-item.open .acc-body {
  display: block;
}

.acc-body ul {
  list-style: none;
  padding: 0;
}

.acc-body li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-grey);
  line-height: 1.6;
  position: relative;
}

.acc-body li::before {
  content: '■';
  /* Square bullets for corporate feel */
  font-size: 0.5rem;
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--bdo-red);
}

.services-visual {
  background: var(--bdo-black);
  padding: 4rem 3rem;
  color: var(--white);
  position: sticky;
  top: 120px;
}

.sv-quote {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  color: var(--white);
}

.sv-quote span {
  font-weight: 700;
  color: var(--bdo-red);
}

.sv-list {
  list-style: none;
}

.sv-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0.8rem 0;
  font-size: 1rem;
  color: var(--border-grey);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sv-list li:last-child {
  border-bottom: none;
}

.sv-dot {
  width: 8px;
  height: 8px;
  background: var(--bdo-red);
  flex-shrink: 0;
}

/* ================= APPROACH ================= */
.approach-section {
  background: var(--white);
}

.approach-section .section-title {
  color: var(--bdo-black);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.ap-card {
  background: var(--bg-light-grey);
  border: 1px solid var(--border-grey);
  padding: 3rem 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.ap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--bdo-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}

.ap-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.ap-card:hover::before {
  transform: scaleY(1);
}

.ap-num {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--border-grey);
  margin-bottom: 1rem;
  line-height: 1;
  transition: color 0.3s;
}

.ap-card:hover .ap-num {
  color: var(--bdo-red);
}

.ap-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--bdo-black);
  margin-bottom: 1rem;
}

.ap-text {
  font-size: 0.95rem;
  color: var(--text-grey);
  line-height: 1.6;
}

/* ================= CONTACT ================= */
.contact-section {
  background: var(--bg-light-grey);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-grey);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.wa-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bdo-red);
  color: var(--white);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  margin-bottom: 1rem;
}

.wa-button:hover {
  background: var(--bdo-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(237, 26, 45, 0.2);
}

.wa-icon {
  width: 28px;
  height: 28px;
}

.wa-sub {
  font-size: 0.9rem;
  color: var(--text-grey);
  margin-top: 0.5rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  padding: 3.5rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: var(--bdo-black);
  border-bottom: 2px solid var(--bdo-red);
  padding-bottom: 10px;
  display: inline-block;
}

.c-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 2rem;
}

.c-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bdo-red);
  flex-shrink: 0;
  border-radius: 4px;
}

.c-label {
  font-size: 0.85rem;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 600;
}

.c-value {
  font-size: 1.05rem;
  color: var(--bdo-black);
  font-weight: 500;
}

.c-value a {
  color: var(--bdo-red);
  text-decoration: none;
  transition: color 0.2s;
}

.c-value a:hover {
  color: var(--bdo-black);
  text-decoration: underline;
}

/* ================= FOOTER ================= */
footer {
  background: #2c2a29;
  /* BDO dark footer */
  color: #a0a0a0;
  padding: 4rem 5vw 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.foot-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.foot-logo span {
  color: var(--bdo-red);
}

.foot-tagline {
  color: #d0d0d0;
  font-size: 1rem;
}

.foot-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.foot-links a {
  color: #d0d0d0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.foot-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.foot-disclaimer {
  max-width: 800px;
  line-height: 1.6;
}

/* ================= PAGE STRUCTURE (terms, privacy) ================= */
.page-header {
  background: var(--bg-light-grey);
  padding: 140px 5vw 80px;
  text-align: center;
  border-bottom: 1px solid var(--border-grey);
}

.page-header h1 {
  font-family: 'Inter', sans-serif;
  color: var(--bdo-black);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-header p {
  color: var(--text-grey);
  font-size: 1rem;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 5vw;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bdo-black);
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-grey);
}

h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-grey);
  margin-bottom: 1.5rem;
}

ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-grey);
  margin-bottom: 0.5rem;
}

.highlight-box {
  background: var(--bg-light-grey);
  border-left: 4px solid var(--bdo-red);
  padding: 2rem;
  margin: 2rem 0;
}

.highlight-box p {
  margin: 0;
  color: var(--bdo-black);
  font-weight: 500;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

  .services-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-visual {
    position: static;
  }

  .hero::after {
    opacity: 0.5;
  }
}

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

  .hero {
    padding-top: 120px;
  }

  .ap-card {
    padding: 2rem 1.5rem;
  }

  .contact-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline,
  .wa-button {
    width: 100%;
    justify-content: center;
  }
}
