/* ============================================
   PWP Consulting — Main Stylesheet
   ============================================ */

/* --- Font Face Declarations --- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/playfair-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Helvetica Neue';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Helvetica Neue Light'), local('HelveticaNeue-Light'),
       url('../assets/fonts/HelveticaNeueLight.woff2') format('woff2');
}

@font-face {
  font-family: 'Helvetica Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Helvetica Neue'), local('HelveticaNeue'),
       url('../assets/fonts/HelveticaNeueRoman.woff2') format('woff2');
}

@font-face {
  font-family: 'Helvetica Neue';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Helvetica Neue Medium'), local('HelveticaNeue-Medium'),
       url('../assets/fonts/HelveticaNeueMedium.woff2') format('woff2');
}

@font-face {
  font-family: 'Helvetica Neue';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'),
       url('../assets/fonts/HelveticaNeueBold.woff2') format('woff2');
}

/* --- CSS Custom Properties (Design Tokens) --- */

:root {
  /* Colors */
  --color-bg-primary: #0a0511;
  --color-bg-secondary: #10081d;
  --color-bg-dark: #07040c;
  --color-purple: #703BF7;
  --color-purple-light: #a363ff;
  --color-purple-accent: #b08afc;
  --color-purple-glow: #55289b;
  --color-purple-dark: #290f51;
  --color-btn-primary: #E8DEF8;
  --color-btn-primary-text: #1D192B;
  --color-btn-service: #ccc3db;
  --color-text: #FFFFFF;
  --color-text-secondary: #CCCCCC;
  --color-text-muted: #999999;
  --color-text-dim: rgba(255, 255, 255, 0.5);
  --color-nav-bg: rgba(128, 128, 215, 0.022);
  --color-footer-bg: rgba(39, 20, 70, 0.2);
  --color-card-bg: rgba(0, 0, 0, 0.9);
  --color-form-bg: rgba(255, 255, 255, 0.06);
  --color-form-border: rgba(255, 255, 255, 0.25);

  /* Typography */
  --font-primary: 'Helvetica Neue', 'Helvetica', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo: 'Playfair Display', Georgia, serif;

  /* Font Sizes */
  --fs-logo: 64px;
  --fs-h1: 48px;
  --fs-h2: 28px;
  --fs-h3: 22px;
  --fs-nav: 18px;
  --fs-body: 18px;
  --fs-service: 18px;
  --fs-form: 16px;
  --fs-footer: 14px;
  --fs-card-title: 24px;
  --fs-service-title: 36px;
  --fs-popup-heading: 32px;

  /* Border Radii */
  --radius-nav: 20px;
  --radius-card: 15px;
  --radius-pill: 100px;
  --radius-btn: 20px;
  --radius-input: 8px;
  --radius-glass: 50px;
  --radius-service: 12px;
  --radius-popup: 25px;

  /* Spacing */
  --container-max: 1440px;
  --container-padding: 20px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* --- Reset / Normalize --- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- Utility Classes --- */

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

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-btn-primary);
  color: var(--color-btn-primary-text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --- Base Typography --- */

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.2;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: scale(0.98);
}

.btn--pill {
  padding: 14px 40px;
  border-radius: var(--radius-pill);
  background-color: var(--color-btn-primary);
  color: var(--color-btn-primary-text);
  font-size: 16px;
  font-weight: 500;
}

.btn--large {
  padding: 18px 48px;
  border-radius: var(--radius-btn);
  background-color: var(--color-btn-primary);
  color: var(--color-btn-primary-text);
  font-size: 18px;
  font-weight: 500;
  border: 1px solid rgba(6, 3, 10, 0.7);
  box-shadow: 0 0 10px 1px #f1e8ff;
}

.btn--service {
  padding: 18px 48px;
  border-radius: var(--radius-btn);
  background-color: var(--color-btn-service);
  color: #08040f;
  font-size: 18px;
  font-weight: 500;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--color-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  border-radius: var(--radius-nav);
}

.nav__logo {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 36px;
  color: var(--color-text);
  letter-spacing: 2px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: var(--fs-nav);
  font-weight: 400;
  color: var(--color-text);
  text-transform: capitalize;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-purple-accent);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* --- Language Switcher --- */

.nav__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav__lang-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  transition: color var(--transition-fast);
  letter-spacing: 0.5px;
}

.nav__lang-btn:hover {
  color: var(--color-text);
}

.nav__lang-btn--active {
  color: var(--color-text);
  font-weight: 700;
}

.nav__lang-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  user-select: none;
}

.mobile-menu .nav__lang {
  margin-left: 0;
  gap: 8px;
}

.mobile-menu .nav__lang-btn {
  font-size: 20px;
}

.mobile-menu .nav__lang-divider {
  font-size: 20px;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 5, 17, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--color-purple-accent);
}

/* --- Nav Dropdown (Desktop) --- */

.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__dropdown-arrow {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-base);
}

.nav__dropdown:hover .nav__dropdown-arrow,
.nav__dropdown:focus-within .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: rgba(16, 8, 29, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-service);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav__dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav__dropdown-item:hover {
  color: var(--color-text);
  background: rgba(112, 59, 247, 0.15);
}

/* Hide desktop dropdown on mobile */
.nav__dropdown-menu {
  display: none;
}

/* --- Mobile Menu Services Submenu --- */

.mobile-menu__group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu__link--toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color var(--transition-fast);
}

.mobile-menu__link--toggle:hover {
  color: var(--color-purple-accent);
}

.mobile-menu__toggle-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-base);
}

.mobile-menu__link--toggle[aria-expanded="true"] .mobile-menu__toggle-arrow {
  transform: rotate(180deg);
}

.mobile-menu__submenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), opacity var(--transition-base), margin var(--transition-base);
  margin-top: 0;
}

.mobile-menu__submenu--open {
  max-height: 300px;
  opacity: 1;
  margin-top: 20px;
}

.mobile-menu__sublink {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.mobile-menu__sublink:hover {
  color: var(--color-purple-accent);
}

/* ============================================
   Back-to-Top Button
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-purple);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base), background-color var(--transition-fast);
  box-shadow: 0 2px 12px rgba(112, 59, 247, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-purple-light);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   CTA Section — About Variant
   ============================================ */

.section-cta--about {
  background: var(--color-bg-secondary);
  padding: 78px var(--container-padding) 104px;
}

/* About page inline contact form */
.section-contact--about {
  padding: 100px var(--container-padding) 120px;
  position: relative;
  overflow: hidden;
}

.section-contact--about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(112, 59, 247, 0.18) 0%, rgba(112, 59, 247, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-contact--about .section-contact__inner {
  position: relative;
  z-index: 1;
}

.section-contact--about .section-contact__title {
  font-family: var(--font-primary);
  font-weight: 400;
}

.section-contact--about .section-contact__subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0;
  margin-bottom: 50px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-footer-bg);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(80, 30, 140, 0.4) 40%, rgba(80, 30, 140, 0.5) 60%, transparent 100%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer__logo-box {
  border: 1px solid #616161;
  border-radius: 0;
  padding: 25px 60px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 48px;
  color: var(--color-text);
  letter-spacing: 2px;
}

.footer__logo-divider {
  width: 100%;
  height: 1px;
  background: #616161;
  margin: 8px 0;
  border: none;
}

.footer__logo-subtitle {
  font-size: 15.8px;
  font-weight: 300;
  color: var(--color-text);
  margin-top: 4px;
}

.footer__heading {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 20px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-link {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--color-text);
}

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

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__contact-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer__contact-link {
  color: var(--color-text);
  transition: color var(--transition-fast);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.footer__contact-link--phone {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-text);
}

.footer__contact-link--phone:hover {
  color: var(--color-purple-accent);
}

.footer__contact-link:hover {
  color: var(--color-purple-accent);
}

.footer__social {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer__social-link {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(217, 217, 217, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--color-purple-accent);
  background-color: rgba(176, 138, 252, 0.1);
}

.footer__social-link svg {
  width: 22px;
  height: 22px;
  fill: var(--color-text);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 13px;
  color: var(--color-text-dim);
  position: relative;
  z-index: 1;
}

/* ============================================
   Popup Modal
   ============================================ */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: rgba(98, 42, 154, 0.2);
  border-radius: var(--radius-popup);
  padding: 40px 30px;
  width: 100%;
  max-width: 1065px;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-base);
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.popup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 500px;
  height: 400px;
  background: #602a9a;
  border-radius: 50%;
  filter: blur(467px);
  pointer-events: none;
  z-index: 0;
}

.popup::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 350px;
  height: 280px;
  background: #622a9a;
  border-radius: 50%;
  filter: blur(196px);
  pointer-events: none;
  z-index: 0;
}

.popup__close,
.popup__title,
.popup__subtitle,
.popup__form {
  position: relative;
  z-index: 1;
}

.popup-overlay.active .popup {
  transform: translateY(0);
}

.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  cursor: pointer;
  z-index: 1;
}

.popup__close:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

.popup__title {
  font-size: var(--fs-popup-heading);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -3.47px;
}

.popup__subtitle {
  font-size: 18.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 29px;
  letter-spacing: -0.19px;
}

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

.popup__form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* --- Form Styles (shared) --- */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group__label {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-form);
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 26px;
}

.form-group__input,
.form-group__textarea,
.form-group__select {
  background: var(--color-form-bg);
  border: 1px solid var(--color-form-border);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  font-size: var(--fs-form);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.form-group__input:focus,
.form-group__textarea:focus,
.form-group__select:focus {
  border-color: var(--color-purple);
}

.form-group__input::placeholder,
.form-group__textarea::placeholder {
  color: var(--color-text-muted);
}

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

.form-group__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group__select option {
  background: var(--color-bg-secondary);
  color: var(--color-text);
}

.form__submit {
  margin-top: 10px;
}

.popup__form .form-group__input,
.popup__form .form-group__select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 14px 0;
}

.popup__form .form-group__input:focus,
.popup__form .form-group__select:focus {
  border-bottom-color: var(--color-purple);
}

.popup__form .form-group__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
}

.popup__form .form__submit {
  max-width: 318px;
  width: 100%;
  align-self: center;
  letter-spacing: -1.35px;
}

.form__status {
  font-size: 14px;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-input);
  display: none;
}

.form__status--success {
  display: block;
  background: rgba(76, 175, 80, 0.15);
  color: #81c784;
}

.form__status--error {
  display: block;
  background: rgba(244, 67, 54, 0.15);
  color: #e57373;
}

/* --- Consent Checkbox --- */

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  cursor: pointer;
  margin-top: 8px;
}
.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-purple);
  margin-top: 2px;
  cursor: pointer;
}
.consent-check a {
  color: var(--color-purple-accent);
  text-decoration: underline;
}
.consent-check a:hover {
  color: var(--color-purple-light);
}

/* ============================================
   Hero Section (Home)
   ============================================ */

.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--container-padding) 80px;
  position: relative;
  overflow: hidden;
}

.section-hero__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  z-index: 0;
}

.section-hero__bg-circle {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-hero__bg-circle--outer {
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(112, 59, 247, 0.35) 0%, rgba(80, 40, 180, 0.15) 50%, transparent 70%);
  border: 1px solid rgba(112, 59, 247, 0.3);
}

.section-hero__bg-circle--mid {
  width: 350px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(112, 59, 247, 0.45) 0%, rgba(100, 50, 200, 0.2) 50%, transparent 70%);
  border: 1px solid rgba(112, 59, 247, 0.25);
}

.section-hero__bg-circle--inner {
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(112, 59, 247, 0.55) 0%, rgba(120, 60, 220, 0.25) 50%, transparent 70%);
  border: 1px solid rgba(112, 59, 247, 0.2);
}

.section-hero__bg-circle--core {
  width: 80px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(163, 99, 255, 0.7) 0%, rgba(140, 80, 240, 0.3) 50%, transparent 70%);
}

/* Purple blur blob behind hero circles */
.section-hero__bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(112, 59, 247, 0.5) 0%, rgba(90, 40, 200, 0.3) 30%, rgba(70, 30, 160, 0.15) 50%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
}

.section-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.section-hero__title {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 0.93;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFFFF 54.167%, #b372cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-hero__subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.section-hero__description {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-hero .btn--pill {
  padding: 18px 52px;
  font-size: 18px;
  box-shadow: 0 0 20px 4px rgba(232, 222, 248, 0.3);
  transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-base);
}

.section-hero .btn--pill:hover {
  box-shadow: 0 0 30px 8px rgba(232, 222, 248, 0.45);
}

/* Contact form subtitle */
.section-contact__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 30px;
  margin-top: -20px;
  line-height: 1.5;
}

/* ============================================
   Services Card Grid (Home)
   ============================================ */

.section-services {
  padding: 120px 0;
  position: relative;
  overflow: visible;
}

/* Radial gradient background for services section — soft, wide fade */
.section-services::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: calc(100% + 120px);
  background: radial-gradient(ellipse 70% 60% at center, rgba(112, 59, 247, 0.05) 0%, rgba(85, 40, 155, 0.025) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-services__header {
  margin-bottom: 40px;
  padding: 0 var(--container-padding);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-services__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-services__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-services__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.section-services__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.section-services__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.section-services__arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-services__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
  padding: 0 var(--container-padding);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.section-services__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.section-services__dot--active {
  background: rgba(255, 255, 255, 0.7);
}

.section-services__grid {
  display: flex;
  gap: 24px;
  padding: 0 var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: 20px;
  padding-bottom: 20px;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, black 2%, black 98%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.section-services__grid > .service-card {
  flex: 0 0 100%;
  transition: transform 0.4s ease;
}

.service-card {
  background: var(--color-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  box-shadow: 0px 0px 20px 3px rgba(85, 40, 155, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 0px 30px 5px rgba(85, 40, 155, 0.4);
}

/* Purple glow behind cards */
.service-card::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: rgba(91, 66, 197, 0.15);
  filter: blur(80px);
  z-index: -1;
  border-radius: var(--radius-card);
}

.service-card__pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, rgba(112, 59, 247, 0.3) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(163, 99, 255, 0.2) 0%, transparent 50%);
}

.service-card__title {
  font-size: var(--fs-card-title);
  font-weight: 500;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  line-height: 1.25;
  min-height: calc(var(--fs-card-title) * 1.25 * 3);
}

.service-card__title--small {
  font-size: calc(var(--fs-card-title) * 0.82);
}

.service-card__list {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.service-card__list::-webkit-scrollbar {
  display: none;
}

.service-card__list li {
  font-size: 16px;
  color: var(--color-text-muted);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.service-card__list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-purple);
}

.service-card__link {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -1.35px;
  color: var(--color-btn-primary);
  padding: 12px 28px;
  background: var(--color-purple-dark);
  border: 1px solid white;
  border-radius: 15px;
  box-shadow: 0 0 10px 2px #7450ad, inset 0 0 10px 0 #734fac;
  align-self: stretch;
  text-align: center;
  text-decoration: none;
  position: relative;
  z-index: 1;
  margin-top: auto;
  transition: background-color var(--transition-fast);
}

.service-card__link:hover {
  background: rgba(112, 59, 247, 0.4);
}

.service-card__list-wrap {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  min-height: 0;
}

.service-card__scroll-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 5, 17, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  color: inherit;
  padding: 0;
  align-self: center;
  flex-shrink: 0;
}

.service-card__scroll-arrow--up {
  order: -1;
  margin-bottom: 4px;
}

.service-card__scroll-arrow--down {
  margin-top: auto;
}

.service-card__scroll-arrow.visible {
  opacity: 1;
  pointer-events: auto;
}

.service-card__scroll-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-purple-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-purple-accent);
}

/* ============================================
   Why Us Section (Home)
   ============================================ */

.section-why {
  padding: 80px var(--container-padding);
}

.section-why__container {
  max-width: var(--container-max);
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #7e7e7e;
  border-radius: var(--radius-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 50px 5px rgba(255, 255, 255, 0.05), inset 0 4px 50px 5px rgba(255, 255, 255, 0.05);
  padding: 40px 16px;
}

.section-why__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
}

.section-why__divider {
  width: 100%;
  height: 1px;
  background: rgba(110, 110, 110, 0.15);
  filter: blur(1px);
  margin-bottom: 40px;
  border: none;
}

.section-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.section-why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: rgba(176, 138, 252, 0.15);
  border: 1px solid #b08afc;
  border-radius: 10px;
  padding: 14px 12px;
}

.section-why__icon-svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-purple-light);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.section-why__item-title {
  font-size: 16px;
  font-weight: 500;
}

.section-why__item-text {
  display: none;
}

/* ============================================
   CTA Section (Home)
   ============================================ */

.section-cta {
  padding: 80px var(--container-padding);
  text-align: center;
}

.section-cta__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta__description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

/* ============================================
   About Page — Hero
   ============================================ */

.section-about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px var(--container-padding) 80px;
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.section-about-hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(112, 59, 247, 0.25) 0%, rgba(112, 59, 247, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section-about-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-about-hero__title {
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-about-hero__title span {
  font-family: var(--font-logo);
  color: var(--color-purple-light);
  font-weight: 600;
  display: block;
}

.section-about-hero__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-about-hero__description {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============================================
   About Page — Mission / Vision
   ============================================ */

.section-mission,
.section-vision {
  padding: 100px var(--container-padding);
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.section-mission::before,
.section-vision::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section-mission::before {
  top: 50%;
  left: 0;
  transform: translate(-30%, -50%);
  background: radial-gradient(circle, rgba(112, 59, 247, 0.2) 0%, rgba(112, 59, 247, 0.06) 40%, transparent 70%);
}

.section-vision::before {
  top: 50%;
  right: 0;
  left: auto;
  transform: translate(30%, -50%);
  background: radial-gradient(circle, rgba(112, 59, 247, 0.2) 0%, rgba(112, 59, 247, 0.06) 40%, transparent 70%);
}

.section-mission__inner,
.section-vision__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
}

.section-mission__title,
.section-vision__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-mission__title span,
.section-vision__title span {
  color: var(--color-purple-light);
}

.section-mission__text,
.section-vision__text {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 800px;
}

/* ============================================
   Contact Form Section
   ============================================ */

.section-contact {
  padding: 80px var(--container-padding);
  background: var(--color-bg-secondary);
}

.section-contact__inner {
  max-width: 700px;
  margin: 0 auto;
}

.section-contact__title {
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: -0.25px;
  margin-bottom: 40px;
  text-align: center;
}

.section-contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-contact__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ============================================
   Service Pages
   ============================================ */

.section-service-hero {
  padding: 180px var(--container-padding) 40px;
  background: var(--color-bg-secondary);
  position: relative;
}

.section-service-hero::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: 160%;
  background-image: url('../assets/images/Abstract Design.png');
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.45;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 55%, transparent 100%);
}

.section-service-hero__title {
  font-size: var(--fs-service-title);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -3.036px;
  background: linear-gradient(180deg, #FFFFFF 54.167%, #b372cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-service-content {
  padding: 40px var(--container-padding);
  background: var(--color-bg-secondary);
}

.section-service-content__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-block {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.service-block__header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  gap: 16px;
  position: relative;
  border-left: 1px solid var(--color-purple);
}

.service-block__title {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 0;
}

.service-block__body {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 var(--radius-service) var(--radius-service) var(--radius-service);
  padding: 30px 24px;
  background: linear-gradient(152deg, rgba(112, 59, 247, 0.08) 0%, transparent 50%);
  position: relative;
}

/* --- Alternating title alignment --- */

/* Odd blocks: title left, border-left purple */
.service-block:nth-child(odd) .service-block__header-wrap {
  border-left: 1px solid var(--color-purple);
  border-right: none;
  text-align: left;
}
.service-block:nth-child(odd) .service-block__body {
  border-radius: 0 var(--radius-service) var(--radius-service) var(--radius-service);
}

/* Even blocks: title right, border-right purple */
.service-block:nth-child(even) .service-block__header-wrap {
  border-right: 1px solid var(--color-purple);
  border-left: none;
  text-align: right;
  flex-direction: row-reverse;
}
.service-block:nth-child(even) .service-block__body {
  border-radius: var(--radius-service) 0 var(--radius-service) var(--radius-service);
}

/* --- Gradient corner glow --- */

/* Horizontal gradient line under header: purple fading to transparent */
.service-block:nth-child(odd) .service-block__header-wrap::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-purple) 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  pointer-events: none;
}
.service-block:nth-child(even) .service-block__header-wrap::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(270deg, var(--color-purple) 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  pointer-events: none;
}

/* Purple glow overlay on body border near title corner */
.service-block:nth-child(odd) .service-block__body::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, var(--color-purple) 0%, rgba(255, 255, 255, 0.15) 80%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.service-block:nth-child(even) .service-block__body::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 1px;
  height: 60%;
  background: linear-gradient(180deg, var(--color-purple) 0%, rgba(255, 255, 255, 0.15) 80%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.service-block__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-block__list li {
  font-size: var(--fs-service);
  font-weight: 400;
  color: var(--color-text-muted);
  padding-left: 30px;
  position: relative;
  line-height: 30px;
}

.service-block__list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-purple);
}

.service-block__text {
  font-size: var(--fs-service);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 30px;
}

.service-block__text + .service-block__list {
  margin-top: 8px;
}

.service-block__list + .service-block__text {
  margin-top: 16px;
}

/* ============================================
   Public Offer Page
   ============================================ */

.section-offer-hero {
  padding: 140px var(--container-padding) 40px;
  background: var(--color-bg-secondary);
}
.section-offer-hero__title {
  font-size: var(--fs-service-title);
  font-weight: 500;
  letter-spacing: 2px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.section-offer-content {
  padding: 0 var(--container-padding) 40px;
  background: var(--color-bg-secondary);
}
.section-offer-content__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.section-offer-content iframe {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: var(--radius-service);
}
.section-offer-content__actions {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Scroll Animations
   ============================================ */

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

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive — Tablet (768px+)
   ============================================ */

@media (min-width: 768px) {
  :root {
    --fs-h1: 64px;
    --fs-h2: 32px;
    --fs-h3: 24px;
    --fs-nav: 20px;
    --fs-body: 20px;
    --fs-card-title: 27px;
    --fs-service-title: 48px;
    --fs-popup-heading: 44px;
    --container-padding: 40px;
  }

  .nav {
    padding: 16px 40px;
    height: 85px;
  }

  .footer__inner {
    grid-template-columns: auto 1fr 1fr auto;
    gap: 40px;
    align-items: start;
  }

  .footer__logo-box {
    padding: 20px 70px;
    align-self: center;
    margin-right: 20px;
  }

  .section-contact__row {
    grid-template-columns: 1fr 1fr;
  }

  .section-services__grid > .service-card {
    flex: 0 0 100%;
  }

  .section-why__grid {
    gap: 30px;
  }

  .section-why__item {
    padding: 16px 20px;
  }

  .section-why__item-title {
    font-size: 20px;
  }

  .section-why__container {
    padding: 60px 50px;
  }

  .popup {
    padding: 50px 40px;
  }

  .popup__form-row {
    grid-template-columns: 1fr 1fr;
  }

  /* About hero 2-column */
  .section-about-hero__content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
  }

  .section-about-hero__title {
    flex: 0 0 45%;
  }

  .section-about-hero__right {
    flex: 1;
  }

  /* Mission/Vision 2-column */
  .section-mission__inner,
  .section-vision__inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
  }

  .section-mission__title,
  .section-vision__title {
    flex: 0 0 35%;
    margin-bottom: 0;
  }

  .section-mission__text,
  .section-vision__text {
    flex: 1;
  }

  /* Vision reversed order */
  .section-vision__inner {
    flex-direction: row-reverse;
  }

  .section-hero__bg {
    width: 1000px;
    height: 1000px;
  }

  .section-hero__bg::before {
    width: 800px;
    height: 800px;
  }

  .section-hero__bg-circle--outer {
    width: 700px;
    height: 700px;
  }

  .section-hero__bg-circle--mid {
    width: 500px;
    height: 500px;
  }

  .section-hero__bg-circle--inner {
    width: 300px;
    height: 300px;
  }

  .section-hero__bg-circle--core {
    width: 120px;
    height: 120px;
  }

  .section-services::before {
    width: 1400px;
    height: calc(100% + 180px);
  }

  .section-about-hero::before {
    width: 450px;
    height: 450px;
  }

  .section-mission::before,
  .section-vision::before {
    width: 400px;
    height: 400px;
  }

  .popup::before {
    width: 700px;
    height: 550px;
  }

  .popup::after {
    width: 500px;
    height: 380px;
  }

  .section-service-content__inner {
    gap: 70px;
  }

  .service-block__body {
    padding: 40px 32px;
  }

  .service-block__header-wrap {
    padding: 20px 24px;
  }
}

/* ============================================
   Responsive — Desktop (1024px+)
   ============================================ */

@media (min-width: 1024px) {
  :root {
    --fs-h1: 90px;
    --fs-h2: 35px;
    --fs-h3: 27px;
    --fs-nav: 24px;
    --fs-body: 24px;
    --fs-service: 20px;
    --fs-card-title: 30px;
    --fs-service-title: 60px;
    --fs-popup-heading: 58px;
    --container-padding: 60px;
  }

  .nav {
    top: 32px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 18px 50px;
  }

  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .nav__dropdown-menu {
    display: block;
  }

  .nav__logo {
    font-size: 64px;
  }

  .btn--large,
  .btn--service {
    font-size: 27px;
  }

  .service-card__link {
    font-size: 27px;
  }

  .footer__heading {
    font-size: 27px;
    letter-spacing: -1.08px;
  }

  .section-mission__title,
  .section-vision__title {
    font-size: 80px;
  }

  .section-hero__title {
    line-height: 84px;
  }

  .section-hero__subtitle {
    font-size: 36px;
  }

  .section-hero__description {
    font-size: 24px;
  }

  .section-hero__bg {
    width: 1200px;
    height: 1200px;
  }

  .section-hero__bg::before {
    width: 1000px;
    height: 1000px;
  }

  .section-hero__bg-circle--outer {
    width: 900px;
    height: 900px;
  }

  .section-hero__bg-circle--mid {
    width: 650px;
    height: 650px;
  }

  .section-hero__bg-circle--inner {
    width: 400px;
    height: 400px;
  }

  .section-hero__bg-circle--core {
    width: 180px;
    height: 180px;
  }

  .section-hero__content {
    max-width: 1064px;
  }

  .section-services__grid > .service-card {
    flex: 0 0 310px;
  }

  .section-services__dots {
    margin-top: 40px;
  }

  .section-services__title {
    font-size: 80px;
  }

  .section-cta__title {
    font-size: 48px;
  }

  .section-cta__description {
    font-size: 25px;
  }

  .section-why__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  .section-why__container {
    padding: 70px 80px;
  }

  .btn--pill {
    font-size: 27px;
    padding: 16px 24px;
  }

  .section-why__item-title {
    font-size: 24px;
    font-weight: 400;
  }

  .section-why__item {
    padding: 20px 24px;
  }

  .section-service-content__inner {
    gap: 80px;
  }

  .service-block__body {
    padding: 50px;
  }

  .section-about-hero__title {
    font-size: 90px;
  }

  .section-about-hero__description {
    font-size: 20px;
  }

  .section-mission__text,
  .section-vision__text {
    font-size: 24px;
  }

  .section-service-hero__title {
    line-height: 84px;
  }

  .section-service-content ~ .section-contact .section-contact__title {
    font-size: 27px;
    color: rgba(255, 255, 255, 0.7);
  }

  .section-service-content ~ .section-contact .section-contact__subtitle {
    color: rgba(255, 255, 255, 0.85);
  }

  .popup {
    padding: 60px 50px;
  }

  .popup__title {
    line-height: 68px;
  }

  .section-services::before {
    width: 2200px;
    height: calc(100% + 240px);
  }

  .section-about-hero::before {
    width: 600px;
    height: 600px;
  }

  .section-mission::before,
  .section-vision::before {
    width: 500px;
    height: 500px;
  }

  .popup::before {
    width: 990px;
    height: 725px;
  }

  .popup::after {
    width: 683px;
    height: 500px;
  }
}
