/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --black: #000000;
  --white: #ffffff;
  --red: #FF3C3C;
  --grey-1: #C8D2DF;
  --grey-2: #A7B3C3;
  --grey-3: #91969F;
  --dark-text: #161918;

  --font-heading: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Montserrat', 'Inter', -apple-system, sans-serif;
  --font-inter: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body), sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   Site Wrapper
   ============================================================ */
.site-wrapper {
  min-height: 100vh;
  background: var(--black);
  position: relative;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 80px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  flex-shrink: 0;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav */
.header__nav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  gap: 0;
}

.header__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.contact-label-text {
  font-family: var(--font-body), sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.contact-value {
  font-family: var(--font-body), sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}

.contact-link:hover {
  color: var(--red);
  transition: color 0.2s;
}

.header__sep {
  width: 1px;
  height: 60px;
  background: var(--grey-1);
  opacity: 0.4;
  margin: 0 10px;
  flex-shrink: 0;
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.social-btn--tg {
  border-color: #ABCFDF;
}

.social-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.05);
}

.social-btn img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.header__phone {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px;
}

.phone-number {
  font-family: var(--font-body), sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: -0.3px;
  transition: color 0.2s;
}

.phone-number:hover {
  color: var(--red);
}

/* Callback button */
.btn-callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body), sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 61px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.btn-callback:hover {
  background: #e02a2a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,60,60,0.4);
}

.btn-callback--full {
  width: 100%;
  margin-left: 0;
  padding: 18px 32px;
  font-size: 16px;
}

/* Mobile header (hidden on desktop) */
.header__mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__mobile-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone--mobile {
  padding: 0;
  gap: 2px;
}

.header__phone--mobile .contact-label-text {
  font-size: 12px;
}

.header__phone--mobile .phone-number {
  font-size: 17px;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Glow effects */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.hero__glow--right {
  width: 449px;
  height: 432px;
  top: 12%;
  right: 0;
  background: radial-gradient(circle at 50% 50%, rgba(225, 194, 80, 1) 30%, rgba(28, 58, 99, 0) 100%);
}

.hero__glow--left {
  width: 497px;
  height: 477px;
  top: 35%;
  left: -100px;
  background: radial-gradient(circle at 50% 50%, rgba(225, 194, 80, 0.7) 30%, rgba(28, 58, 99, 0) 100%);
}

/* Background image */
.hero__bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.25;
}

/* Hero inner layout */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 140px 80px 60px;
  gap: 0;
}

/* Left content */
.hero__content {
  flex: 0 0 auto;
  width: 50%;
  padding-top: 80px;
  padding-right: 40px;
}

.hero__eyebrow {
  font-family: var(--font-heading), sans-serif;
  font-size: clamp(56px, 5vw, 127px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__title {
  font-family: var(--font-heading), sans-serif;
  font-size: clamp(46px, 4.3vw, 103px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero__subtitle {
  font-family: var(--font-inter);
  font-size: clamp(18px, 1.9vw, 36px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 40px;
  max-width: 680px;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 712px;
  padding: 28px 48px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-inter);
  font-size: clamp(16px, 1.8vw, 35px);
  font-weight: 400;
  border-radius: 55px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-cta:hover {
  background: #e02a2a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,60,60,0.45);
}

/* Right side: lawyer image + quote */
.hero__image-wrap {
  flex: 0 0 auto;
  width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero__lawyer-img {
  width: 100%;
  max-width: 680px;
  height: auto;
  object-fit: cover;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.hero__quote-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 24px;
  padding: 28px 36px;
  max-width: 680px;
  width: 100%;
  margin-top: -40px;
}

.hero__quote-card p {
  font-family: var(--font-inter);
  font-size: clamp(16px, 1.6vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
}

/* Desktop-only line break helper */
.desktop-only { display: initial; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-radius: 30px 30px 0 0;
  padding: 20px 80px;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-family: var(--font-body), sans-serif;
  font-size: 13px;
  font-weight: 350;
  color: var(--grey-3);
  white-space: nowrap;
}

.footer__legal {
  font-family: var(--font-body), sans-serif;
  font-size: 13px;
  font-weight: 350;
  color: var(--grey-2);
  flex: 1;
}

.footer__links {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}

.footer__link {
  font-family: var(--font-body), sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--grey-3);
  transition: color 0.2s;
  white-space: nowrap;
}

.footer__link:hover {
  color: var(--red);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: relative;
  background: var(--black);
  border-radius: 30px;
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 480px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0;
}

.modal__close:hover {
  opacity: 1;
}

.modal__title {
  font-family: var(--font-inter);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  margin-bottom: 14px;
}

.modal__subtitle {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  text-align: center;
  margin-bottom: 32px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__input-wrap {
  position: relative;
}

.modal__input {
  width: 100%;
  height: 58px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 150px;
  padding: 0 24px;
  font-family: var(--font-inter);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.modal__input::placeholder {
  color: rgba(255,255,255,0.35);
}

.modal__input:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.1);
}

.modal__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.modal__consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--red);
  margin-top: 2px;
  cursor: pointer;
}

.modal__consent-text {
  font-family: 'Roboto', var(--font-inter), sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
}

.modal__consent-text a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal__consent-text a:hover {
  color: var(--red);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  background: var(--black);
  border-radius: 0 0 30px 30px;
  padding: 24px 20px 32px;
  width: calc(100% - 32px);
  max-width: 390px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-overlay.is-open .mobile-menu {
  transform: translateY(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.mobile-menu__close:hover {
  background: rgba(255,255,255,0.16);
}

.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu__socials {
  display: flex;
  gap: 10px;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .header {
    padding: 20px 40px;
  }

  .hero__inner {
    padding: 120px 40px 60px;
  }

  .hero__eyebrow {
    font-size: clamp(42px, 5.5vw, 80px);
  }

  .hero__title {
    font-size: clamp(34px, 4.5vw, 64px);
  }

  .hero__subtitle {
    font-size: clamp(16px, 1.7vw, 24px);
  }

  .btn-cta {
    font-size: clamp(15px, 1.6vw, 22px);
    padding: 22px 36px;
  }

  .hero__quote-card p {
    font-size: clamp(14px, 1.4vw, 20px);
  }

  .footer {
    padding: 18px 40px;
  }

  .header__contact--address {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Show mobile header, hide desktop nav */
  .header__logo { display: none; }
  .header__nav { display: none; }
  .header__mobile { display: flex; }

  .header {
    padding: 16px 16px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
  }

  .logo-img {
    height: 36px;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero__inner {
    flex-direction: column;
    padding: 80px 16px 40px;
    gap: 0;
  }

  .hero__content {
    width: 100%;
    padding-right: 0;
    padding-top: 40px;
  }

  .hero__eyebrow {
    font-size: clamp(52px, 16vw, 72px);
  }

  .hero__title {
    font-size: clamp(42px, 13vw, 58px);
    margin-bottom: 20px;
  }

  .hero__subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 28px;
  }

  .desktop-only { display: none; }

  .btn-cta {
    font-size: 16px;
    padding: 18px 24px;
    max-width: 100%;
    border-radius: 55px;
  }

  .hero__image-wrap {
    width: 100%;
    margin-top: 40px;
    align-items: center;
  }

  .hero__lawyer-img {
    width: 85%;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero__quote-card {
    margin-top: 0;
    border-radius: 24px;
    padding: 20px 24px;
    margin-top: -20px;
    width: calc(100% - 0px);
  }

  .hero__quote-card p {
    font-size: 16px;
    text-align: center;
  }

  .hero__glow--right {
    width: 280px;
    height: 280px;
    top: 5%;
    right: -60px;
  }

  .hero__glow--left {
    width: 300px;
    height: 300px;
    top: 45%;
    left: -80px;
  }

  /* Footer mobile */
  .footer {
    padding: 24px 16px;
    border-radius: 20px 20px 0 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer__legal {
    font-size: 12px;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .header__phone--mobile .phone-number {
    font-size: 15px;
  }

  .hero__eyebrow {
    font-size: 48px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__subtitle {
    font-size: 16px;
  }
}

/* ============================================================
   FORM STATES
   ============================================================ */
.form-message {
  font-family: var(--font-inter);
  font-size: 13px;
  text-align: center;
  padding: 10px 16px;
  border-radius: 12px;
  animation: fadeIn 0.2s ease;
}

.form-message--error {
  background: rgba(255, 60, 60, 0.12);
  color: #ff7070;
  border: 1px solid rgba(255, 60, 60, 0.3);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0 8px;
  animation: fadeIn 0.4s ease;
}

.form-success h3 {
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.form-success p {
  font-family: var(--font-inter);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCROLL LOCK (when modals open)
   ============================================================ */
body.no-scroll {
  overflow: hidden;
}
