/* ===========================
   AURA FINANCE GROUP — CSS
   BEM Methodology | Mobile First
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --color-bg:          #080812;
  --color-bg-2:        #0d0d1e;
  --color-surface:     #111127;
  --color-card:        #13132a;
  --color-card-hover:  #191935;

  --color-gold:        #c9a055;
  --color-gold-light:  #e8c97a;
  --color-gold-dark:   #a07830;
  --color-gold-muted:  rgba(201,160,85,0.15);
  --color-gold-border: rgba(201,160,85,0.25);

  --color-text:        #f0eee8;
  --color-text-muted:  #8888aa;
  --color-text-dim:    #5a5a7a;
  --color-white:       #ffffff;

  /* Gradients */
  --grad-gold:         linear-gradient(135deg, #c9a055 0%, #e8c97a 50%, #a07830 100%);
  --grad-gold-h:       linear-gradient(90deg, #c9a055, #e8c97a, #c9a055);
  --grad-bg:           linear-gradient(180deg, #080812 0%, #0d0d1e 100%);
  --grad-card:         linear-gradient(135deg, rgba(201,160,85,0.08) 0%, rgba(201,160,85,0.02) 100%);

  /* Typography */
  --font-display:      'Playfair Display', Georgia, serif;
  --font-body:         'Montserrat', sans-serif;

  /* Spacing */
  --sp-xs:   4px;
  --sp-sm:   8px;
  --sp-md:   16px;
  --sp-lg:   24px;
  --sp-xl:   40px;
  --sp-2xl:  64px;
  --sp-3xl:  96px;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --border-gold: 1px solid var(--color-gold-border);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-gold-dark); border-radius: 3px; }

/* ===== BACKGROUND WAVE TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 40% at 20% 10%, rgba(201,160,85,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201,160,85,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 50%, rgba(13,13,30,0.8) 0%, transparent 100%);
  pointer-events: none;
}

/* SVG wave overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M0,400 Q360,200 720,350 T1440,300 L1440,900 L0,900Z' fill='rgba(201,160,85,0.025)'/%3E%3Cpath d='M0,600 Q400,450 800,550 T1440,500 L1440,900 L0,900Z' fill='rgba(201,160,85,0.018)'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
  opacity: 0.8;
}

/* ===== ALL CONTENT ABOVE BACKGROUND ===== */
.header, main, .footer { position: relative; z-index: 1; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--sp-md) 0;
  background: rgba(8,8,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-gold);
  transition: padding var(--transition);
}

.header.scrolled { padding: 10px 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-bg);
  font-weight: 700;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__logo-sub {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Nav Links */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-xl);
}

.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover,
.nav__link.active { color: var(--color-gold-light); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

/* CTA Button in Nav */
.nav__cta {
  display: none;
}

/* Burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-sm);
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Menu */
.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  padding-top: 0;
  margin-top: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-top-color 0.3s ease;
}

.nav__mobile.open {
  max-height: 400px;
  border-top-color: var(--color-gold-border);
  padding-top: var(--sp-md);
  margin-top: var(--sp-md);
}

.nav__mobile-link {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition), padding-left var(--transition);
}

.nav__mobile-link:hover { color: var(--color-gold-light); padding-left: 8px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-gold);
  color: var(--color-bg);
  box-shadow: 0 4px 20px rgba(201,160,85,0.3);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(201,160,85,0.45);
  filter: brightness(1.1);
}

.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn--outline:hover {
  background: var(--color-gold-muted);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,160,85,0.15);
}

.btn--lg { padding: 16px 44px; font-size: 14px; }

/* ===== SECTION ===== */
.section {
  padding: var(--sp-3xl) 0;
}

.section--dark {
  background: rgba(8,8,18,0.6);
}

.section--surface {
  background: rgba(13,13,30,0.8);
  border-top: var(--border-gold);
  border-bottom: var(--border-gold);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

.section-header__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-md);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--sp-md);
}

.section-header__title span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header__subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== GOLD DIVIDER ===== */
.divider {
  width: 60px;
  height: 2px;
  background: var(--grad-gold);
  margin: var(--sp-lg) auto;
  border-radius: 2px;
}

/* ===== CARD ===== */
.card {
  background: var(--grad-card);
  background-color: var(--color-card);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--sp-xl) var(--sp-lg);
  transition: all var(--transition);
}

.card:hover {
  background-color: var(--color-card-hover);
  border-color: rgba(201,160,85,0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(201,160,85,0.1);
}

.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  font-size: 22px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
}

.card__text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ===== GRIDS ===== */
.grid-2 { display: grid; gap: var(--sp-lg); }
.grid-3 { display: grid; gap: var(--sp-lg); }
.grid-4 { display: grid; gap: var(--sp-lg); }

/* ===== HERO (HOMEPAGE) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(120px + var(--sp-3xl)) 0 var(--sp-3xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px; right: -100px;
  height: 600px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,160,85,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 8px 20px;
  border: var(--border-gold);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-xl);
  background: var(--color-gold-muted);
}

.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: var(--sp-xl);
  color: var(--color-text);
}

.hero__title .gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto var(--sp-xl);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--sp-xl);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-3xl);
  padding-top: var(--sp-xl);
  border-top: var(--border-gold);
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== SERVICES ICONS STRIP ===== */
.services-strip {
  padding: var(--sp-xl) 0;
  border-top: var(--border-gold);
  border-bottom: var(--border-gold);
  background: rgba(8,8,18,0.7);
}

.services-strip__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-lg);
}

.services-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--radius-md);
  border: var(--border-gold);
  background: var(--color-gold-muted);
  transition: all var(--transition);
  min-width: 120px;
}

.services-strip__item:hover {
  background: rgba(201,160,85,0.2);
  transform: translateY(-3px);
}

.services-strip__icon { font-size: 28px; }
.services-strip__label {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== ABOUT SECTION ===== */
.about__grid {
  display: grid;
  gap: var(--sp-2xl);
  align-items: center;
}

.about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--sp-md);
}

.about__text h2 span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-md);
}

.about__tagline {
  font-size: 14px;
  color: var(--color-gold-muted);
  font-style: italic;
  margin-bottom: var(--sp-xl);
  color: var(--color-text-muted);
}

.about__body p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-md);
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  border: var(--border-gold);
  border-radius: var(--radius-sm);
  background: var(--color-gold-muted);
}

.about__feature-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__feature-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold-light);
  line-height: 1.4;
}

/* ===== WHY US ===== */
.why__grid {
  display: grid;
  gap: var(--sp-lg);
}

/* ===== TESTIMONIALS ===== */
.testimonials__grid {
  display: grid;
  gap: var(--sp-lg);
}

.testimonial {
  background: var(--color-card);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(201,160,85,0.15);
  position: absolute;
  top: 10px; left: 20px;
  line-height: 1;
}

.testimonial__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-muted);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial__stars {
  color: var(--color-gold);
  margin-top: var(--sp-md);
  font-size: 14px;
  letter-spacing: 2px;
}

/* ===== FAQ ===== */
.faq__list { display: flex; flex-direction: column; gap: var(--sp-sm); }

.faq__item {
  border: var(--border-gold);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item.open { border-color: rgba(201,160,85,0.5); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  background: transparent;
  transition: color var(--transition);
}

.faq__item.open .faq__question { color: var(--color-gold-light); }

.faq__chevron {
  width: 20px; height: 20px;
  border: 1px solid var(--color-gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--color-gold);
  transition: transform var(--transition), background var(--transition);
}

.faq__item.open .faq__chevron {
  transform: rotate(180deg);
  background: var(--color-gold-muted);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq__item.open .faq__answer { max-height: 500px; }

.faq__answer-inner {
  padding: 0 var(--sp-lg) var(--sp-lg);
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-text-muted);
}

/* ===== CONTACT / CTA SECTION ===== */
.cta-section {
  padding: var(--sp-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,160,85,0.07) 0%, transparent 70%);
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-2xl);
}

.cta-section__text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--sp-md);
}

.cta-section__text h2 span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section__text p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-lg);
}

.cta-section__contacts { display: flex; flex-direction: column; gap: var(--sp-md); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
}

.contact-item__icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-dim);
  margin-bottom: 2px;
}

.contact-item__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.contact-item__value a {
  color: inherit;
  transition: color var(--transition);
}
.contact-item__value a:hover { color: var(--color-gold-light); }

/* ===== FORM ===== */
.form { display: flex; flex-direction: column; gap: var(--sp-md); }

.form__group { display: flex; flex-direction: column; gap: var(--sp-xs); }

.form__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  transition: all var(--transition);
  outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder { color: var(--color-text-dim); }

.form__input:focus,
.form__textarea:focus {
  border-color: rgba(201,160,85,0.6);
  background: rgba(201,160,85,0.04);
  box-shadow: 0 0 0 3px rgba(201,160,85,0.08);
}

/* CSS Validation */
.form__input:invalid:not(:placeholder-shown) {
  border-color: rgba(255,100,100,0.4);
}

.form__input:valid:not(:placeholder-shown) {
  border-color: rgba(100,200,100,0.3);
}

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

.form__note {
  font-size: 11px;
  color: var(--color-text-dim);
  text-align: center;
  line-height: 1.6;
}

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  padding: calc(120px + var(--sp-3xl)) 0 var(--sp-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(201,160,85,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-size: 12px;
  color: var(--color-text-dim);
  margin-bottom: var(--sp-lg);
}

.page-hero__breadcrumb a { color: var(--color-gold); }
.page-hero__breadcrumb span { color: var(--color-text-dim); }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-lg);
}

.page-hero__title span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto var(--sp-xl);
  line-height: 1.8;
}

/* ===== PRICING TABLE ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pricing-table th {
  background: var(--color-gold-muted);
  padding: var(--sp-md) var(--sp-lg);
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border-bottom: var(--border-gold);
}

.pricing-table td {
  padding: var(--sp-md) var(--sp-lg);
  font-size: 13px;
  color: var(--color-text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tr:hover td { background: rgba(201,160,85,0.04); }

.pricing-table td:last-child {
  font-weight: 600;
  color: var(--color-gold-light);
  white-space: nowrap;
}

/* ===== PROCESS STEPS ===== */
.process__steps {
  display: grid;
  gap: var(--sp-lg);
  counter-reset: step;
}

.process__step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-lg);
  padding: var(--sp-xl);
  background: var(--color-card);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.process__step:hover {
  border-color: rgba(201,160,85,0.5);
  transform: scale(1.05);
  transition: transform 0.3s ease, border-color var(--transition);
}

.process__step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
}

.process__step-content {}

.process__step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: var(--sp-sm);
}

.process__step-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg);
  border-top: var(--border-gold);
  padding: var(--sp-3xl) 0 var(--sp-xl);
}

.footer__grid {
  display: grid;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.footer__logo-icon {
  width: 44px; height: 44px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-bg);
  font-size: 18px;
}

.footer__logo-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__about {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.footer__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-lg);
}

.footer__links { display: flex; flex-direction: column; gap: var(--sp-sm); }

.footer__link {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition), padding-left var(--transition);
}

.footer__link:hover { color: var(--color-gold-light); padding-left: 6px; }

.footer__contact { font-size: 13px; color: var(--color-text-muted); margin-bottom: var(--sp-sm); }
.footer__contact a { color: inherit; transition: color var(--transition); }
.footer__contact a:hover { color: var(--color-gold-light); }

.footer__bottom {
  padding-top: var(--sp-xl);
  border-top: var(--border-gold);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 12px;
  color: var(--color-text-dim);
}

.footer__legal {
  display: flex;
  gap: var(--sp-lg);
}

.footer__legal-link {
  font-size: 12px;
  color: var(--color-text-dim);
  transition: color var(--transition);
}

.footer__legal-link:hover { color: var(--color-gold); }

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  gap: var(--sp-lg);
}

.pricing-card {
  background: var(--color-card);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: rgba(201,160,85,0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.pricing-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: var(--border-gold);
}

.pricing-card__list { display: flex; flex-direction: column; gap: var(--sp-sm); }

.pricing-card__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-md);
  font-size: 13px;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-card__item:last-child { border-bottom: none; }

.pricing-card__service { color: var(--color-text-muted); line-height: 1.5; }

.pricing-card__price {
  font-weight: 700;
  color: var(--color-gold-light);
  white-space: nowrap;
  text-align: right;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: var(--color-gold-muted);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--sp-xl) var(--sp-2xl);
  text-align: center;
}

.highlight-box__text {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}

/* ===== FEATURE LIST ===== */
.feature-list { display: flex; flex-direction: column; gap: var(--sp-sm); margin-top: var(--sp-lg); }

.feature-list__item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-size: 14px;
  color: var(--color-text-muted);
}

.feature-list__item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

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

.fade-in-up:nth-child(1) { transition-delay: 0s; }
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (min-width: 480px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .why__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr 1fr; }

  .cta-section__inner { align-items: center; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }

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

  /* 2×2 grid for all "How We Work" blocks on tablet */
  .process__steps,
  .process__steps--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }

  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr 1fr; }

  /* 4-step pages (legal-business, legal-services) — single horizontal row */
  .process__steps { grid-template-columns: repeat(4, 1fr); }

  /* 5-step pages (accounting) — single horizontal row with narrower cards */
  .process__steps--5 { grid-template-columns: repeat(5, 1fr); }

  /* Vertical card layout for compact desktop columns */
  .process__step {
    flex-direction: column;
    padding: var(--sp-lg) var(--sp-md);
    gap: var(--sp-sm);
  }

  .process__step:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }

  .process__step-num { font-size: 32px; }
  .process__step-title { font-size: 14px; }
  .process__step-text { font-size: 12px; }
}

/* ===== FORM SUCCESS TOAST ===== */
.form-toast {
  position: fixed;
  bottom: var(--sp-xl);
  right: var(--sp-xl);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg) var(--sp-xl);
  background: var(--color-card);
  border: 1px solid rgba(80, 200, 120, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  max-width: 360px;
  pointer-events: none;
}

.form-toast--visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.form-toast--error { border-color: rgba(220, 80, 80, 0.4); }

.form-toast__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(80, 200, 120, 0.15);
  border: 1px solid rgba(80, 200, 120, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #50c878;
  flex-shrink: 0;
  font-weight: 700;
}

.form-toast__icon--error { background: rgba(220, 80, 80, 0.15); border-color: rgba(220, 80, 80, 0.4); color: #dc5050; }

.form-toast__body { flex: 1; }

.form-toast__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.form-toast__text {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .form-toast {
    left: var(--sp-md);
    right: var(--sp-md);
    bottom: var(--sp-md);
    max-width: none;
  }
}

/* ===== SVG ICON SYSTEM ===== */
.custom-svg-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.card__icon .custom-svg-icon {
  width: 36px;
  height: 36px;
}

.services-strip__icon .custom-svg-icon {
  width: 32px;
  height: 32px;
}

.about__feature-icon .custom-svg-icon {
  width: 22px;
  height: 22px;
}

.contact-item__icon .custom-svg-icon {
  width: 22px;
  height: 22px;
}

.nav__logo-icon .custom-svg-icon {
  width: 24px;
  height: 24px;
}

.pricing-card__title .custom-svg-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

/* ===== HOVER SCALE ENHANCEMENT ===== */
.card:hover {
  transform: translateY(-4px) scale(1.05);
}

.card:hover .custom-svg-icon {
  transform: scale(1.08);
}

.services-strip__item:hover {
  transform: translateY(-3px) scale(1.05);
}

.services-strip__item:hover .custom-svg-icon {
  transform: scale(1.08);
}

.pricing-card:hover {
  transform: translateY(-3px) scale(1.05);
}

.about__feature {
  transition: transform 0.3s ease-in-out;
}

.about__feature:hover {
  transform: scale(1.05);
}

.about__feature:hover .custom-svg-icon {
  transform: scale(1.08);
}

.contact-item {
  transition: transform 0.3s ease-in-out;
}

.contact-item:hover {
  transform: scale(1.05);
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold-light); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mb-lg { margin-bottom: var(--sp-lg); }

/* =============================================================
   RADICAL ICON RESCALE & GRID CORRECTIONS
   ============================================================= */

/* Icon dimension tokens */
:root {
  --icon-size: 90px;
  --icon-size-logo: 95px;
}

/* --- Card icons: 1/3 of block, centered, prominent --- */
.card__icon {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-xl);
}

.card__icon .custom-svg-icon {
  width: var(--icon-size);
  height: var(--icon-size);
}

/* --- Services strip icons --- */
.services-strip__item { min-width: 160px; }

.services-strip__icon .custom-svg-icon {
  width: var(--icon-size);
  height: var(--icon-size);
}

/* --- About feature icons: column layout --- */
.about__feature {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about__feature-icon {
  flex-shrink: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__feature-icon .custom-svg-icon {
  width: var(--icon-size);
  height: var(--icon-size);
}

.about__feature-label { text-align: center; }

/* --- Contact item icons: column layout, large scale --- */
.contact-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-item__icon {
  width: auto;
  height: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item__icon .custom-svg-icon {
  width: var(--icon-size);
  height: var(--icon-size);
}

.contact-item__label,
.contact-item__value { text-align: center; }

/* --- logo.png: 5px larger for brand hierarchy --- */
img[src*="logo"].custom-svg-icon {
  width: var(--icon-size-logo);
  height: var(--icon-size-logo);
}

/* Nav header — premium logo; header height is auto so it expands naturally */
.header .nav__logo-icon .custom-svg-icon {
  width: 100px;
  height: 100px;
}

/* Footer logo — matches nav brand scale */
.footer .nav__logo-icon {
  width: 100px;
  height: 100px;
}
.footer .nav__logo-icon .custom-svg-icon {
  width: 100px;
  height: 100px;
}

/* --- Equal-height cards: stretch rows in all service grids --- */
.grid-2,
.grid-3,
.grid-4 {
  align-items: stretch;
}

.grid-2 .card,
.grid-3 .card,
.grid-4 .card {
  display: flex;
  flex-direction: column;
}

.grid-2 .card .card__text,
.grid-3 .card .card__text,
.grid-4 .card .card__text {
  flex: 1;
}

/* --- Strict 2×2 grid (налоговая оптимизация & 4-card sections) --- */
.grid-2 { grid-template-columns: 1fr; }

@media (min-width: 480px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* --- Strict 3×2 grid (услуги / юридические / бухгалтерский / правовая защита) --- */
.grid-3 { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.25s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-dialog {
  position: relative;
  background: var(--color-bg-2);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl) var(--sp-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalScaleIn 0.25s ease forwards;
}

@keyframes modalScaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.modal-close {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 26px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  transition: color var(--transition);
  border-radius: var(--radius-sm);
}

.modal-close:hover { color: var(--color-gold-light); }

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-xl);
  padding-right: var(--sp-2xl);
}

/* Prevent body scroll when modal is open */
body.modal-open { overflow: hidden; }

@media (max-width: 480px) {
  .modal-dialog {
    width: 90vw;
    padding: var(--sp-xl) var(--sp-md);
    max-height: 92vh;
  }
}

/* ===== FOOTER MOBILE — stack & center ===== */
@media (max-width: 767px) {
  .footer__grid {
    text-align: center;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__links {
    align-items: center;
  }

  .footer__contact {
    text-align: center;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }

  /* Process steps: single column, full-width on mobile */
  .process__steps,
  .process__steps--5 {
    grid-template-columns: 1fr;
  }

  .process__step {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ===== CTA SECTION — centered content (all inner pages) ===== */
.cta-section__text {
  text-align: center;
  width: 100%;
}

.cta-section__contacts {
  align-items: center;
}

.feature-list {
  align-items: center;
}

/* ===== ABOUT SECTION — full-width, consultation button ===== */
.about__cta-btn {
  display: flex;
  width: 100%;
  margin-top: var(--sp-xl);
  justify-content: center;
}

/* ===== CONTACT CARD WRAPPER ===== */
.cta-contact-row {
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
}

.cta-card-wrap {
  background: var(--grad-card);
  background-color: var(--color-card);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 16px rgba(201,160,85,0.08);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.cta-card-wrap__brand {
  background: var(--grad-gold);
  border-radius: var(--radius-sm);
  padding: var(--sp-md);
  text-align: center;
}

.cta-card-wrap__brand-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-bg);
  margin-bottom: var(--sp-xs);
}

.cta-card-wrap__brand-sub {
  font-size: 12px;
  color: var(--color-bg);
  opacity: 0.9;
  line-height: 1.5;
}

.cta-card-wrap__info {
  background-color: var(--color-surface);
  border: var(--border-gold);
  border-radius: var(--radius-sm);
  padding: var(--sp-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
}

.cta-card-wrap__icon {
  width: 40px;
  height: 40px;
  display: block;
}

.cta-card-wrap__value {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.cta-card-wrap__btn {
  width: 100%;
}

@media (max-width: 768px) {
  .cta-contact-row {
    grid-template-columns: 1fr;
  }
  .cta-card-wrap {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cta-card-wrap {
    padding: var(--sp-md);
  }
}

/* ===== RESPONSIVE BREAKPOINT IMPROVEMENTS ===== */

/* Mobile: 320px – 480px */
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .cta-section { padding: 48px 0; }
  .footer { padding-top: 48px; }
  .section-header { margin-bottom: var(--sp-xl); }

  .page-hero {
    padding-top: calc(90px + var(--sp-xl));
    padding-bottom: var(--sp-2xl);
  }

  .hero {
    padding-top: calc(90px + var(--sp-xl));
    padding-bottom: var(--sp-2xl);
  }

  .btn--lg { padding: 14px 28px; font-size: 13px; }

  .pricing-card__item {
    flex-direction: column;
    gap: var(--sp-xs);
  }
  .pricing-card__price { text-align: left; }

  .process__step { padding: var(--sp-lg) var(--sp-md); }

  .faq__question { font-size: 13px; padding: var(--sp-md); }
  .faq__answer-inner { padding: 0 var(--sp-md) var(--sp-md); }
}

/* Large mobile / small tablet: 481px – 767px */
@media (min-width: 481px) and (max-width: 767px) {
  .section { padding: 64px 0; }
  .cta-section { padding: 64px 0; }

  .page-hero {
    padding-top: calc(100px + var(--sp-2xl));
    padding-bottom: var(--sp-2xl);
  }

  .hero {
    padding-top: calc(100px + var(--sp-2xl));
    padding-bottom: var(--sp-2xl);
  }
}

/* Tablet: 768px – 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .section { padding: 80px 0; }
  .cta-section { padding: 80px 0; }
}

/* Large desktop: 1441px+ */
@media (min-width: 1441px) {
  .container { max-width: 1360px; }
}
