/* ============================================================
   ARA CREDIT — Main Stylesheet
   aracredit.com
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --color-bg:          #000000;
  --color-bg-card:     #0A0A0A;
  --color-bg-elevated: #0F0F0F;
  --color-gold:        #D4AF37;
  --color-gold-light:  #F0C040;
  --color-gold-bright: #FFD700;
  --color-white:       #FFFFFF;
  --color-text-muted:  #CCCCCC;
  --color-text-dim:    #888888;
  --color-border:      rgba(212, 175, 55, 0.2);

  --font-display:  'Exo 2', sans-serif;
  --font-body:     'Outfit', sans-serif;
  --font-accent:   'Oswald', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #050505;
  background-image:
    url("data:image/svg+xml,%3Csvg width='90' height='78' viewBox='0 0 90 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='45,5 85,73 5,73' fill='none' stroke='rgba(212,175,55,0.11)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 90px 78px;
  background-position: 0 0;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

body.menu-open {
  overflow: hidden;
  touch-action: none;
}
a    { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* ---- Container ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 80px);
}

/* ---- Section base ---- */
.section {
  padding: clamp(64px, 8vw, 120px) 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  position: relative;
}

/* ---- Section header ---- */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 5px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--color-gold);
  color: #000000;
  border: 2px solid var(--color-gold);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
  color: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  outline: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-gold);
  color: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  outline: none;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 38px;
  height: 35px;
  flex-shrink: 0;
}

.logo-divider {
  display: block;
  width: 1px;
  height: 28px;
  background: rgba(212, 175, 55, 0.4);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--color-white);
  text-transform: uppercase;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  padding: 13px 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px; right: 14px;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: center;
}

.nav-link:hover      { color: var(--color-white); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active     { color: var(--color-white); }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.nav-phone:hover { opacity: 1; color: #fff; }

.nav-phone svg { flex-shrink: 0; }

.nav-cta {
  padding: 10px 20px;
  font-size: 0.78rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  margin-left: auto;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-gold);
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(9.25px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-9.25px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(212, 175, 55, 0.04) 80px,
    rgba(212, 175, 55, 0.04) 81px
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.18);
  display: block;
}

.hero-address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0 4px;
}

.hero-address address {
  font-size: 0.8rem;
  color: var(--color-white);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
}

.hero-address svg { flex-shrink: 0; }

.hero-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 600px;
}

/* Selling-point pills from the sign */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  background: rgba(212, 175, 55, 0.04);
}

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

.hero-stats {
  display: flex;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.hero-stat {
  padding: 18px 32px;
  text-align: center;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

.stat-value {
  display: block;
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-dim);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.step-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(212,175,55,0.12);
}

.step-card:hover::before { opacity: 1; }

.step-number {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.08);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
}

.step-icon svg { width: 100%; height: 100%; }

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantage-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.advantage-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.1);
}

.advantage-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.3));
}

.advantage-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.product-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(212,175,55,0.12);
}

.product-card--featured {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(140deg, #0E0B02 0%, #0A0A0A 100%);
}

.product-card--featured:hover {
  box-shadow: 0 20px 60px rgba(212,175,55,0.2);
}

.product-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--color-gold);
  color: #000;
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-header { margin-bottom: 20px; }

.product-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.product-amount {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.product-term {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 300;
  margin-bottom: 24px;
}

.product-features {
  flex: 1;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-features li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

.product-btn {
  width: 100%;
  text-align: center;
  align-self: flex-start;
}

/* ============================================================
   TRUST / TESTIMONIALS
   ============================================================ */
.trust { text-align: center; }

.trust-counter { margin-bottom: 56px; }

.counter-value {
  font-family: var(--font-accent);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: rgba(212,175,55,0.45);
  transform: translateY(-4px);
}

.testimonial-rating {
  color: var(--color-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-text::before {
  content: '\201E';
  color: var(--color-gold);
  font-size: 1.6em;
  line-height: 0;
  vertical-align: -0.45em;
  margin-right: 3px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-date {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  font-weight: 300;
  margin-top: 2px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-container {
  max-width: 860px;
}

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

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: rgba(212, 175, 55, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--color-gold); }

.faq-question[aria-expanded="true"] { color: var(--color-gold); }

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-gold);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  line-height: 1;
  transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer.open {
  max-height: 320px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px solid rgba(212,175,55,0.1);
}

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon { width: 44px; height: 44px; flex-shrink: 0; }
.contact-icon svg { width: 100%; height: 100%; }

.contact-details { flex: 1; }

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 5px;
}

.contact-value {
  font-size: 1rem;
  color: var(--color-white);
  display: block;
}

.contact-link { transition: color var(--transition-fast); }
.contact-link:hover { color: var(--color-gold); }

.contact-hours {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 3px;
  font-weight: 300;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 8px;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

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

.form-label {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input::placeholder { color: var(--color-text-dim); }

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 0.92rem;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.form-status {
  font-size: 0.875rem;
  text-align: center;
  min-height: 20px;
}

.form-status.success { color: #5cb85c; }
.form-status.error   { color: #e74c3c; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg);
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  padding: 80px 0 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2.8fr;
  gap: 80px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-text-dim);
  font-weight: 300;
  line-height: 1.65;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(212,175,55,0.06);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  font-weight: 300;
}

.footer-col ul a {
  color: var(--color-text-dim);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover { color: var(--color-gold); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.footer-legal {
  font-size: 0.73rem;
  color: rgba(136,136,136,0.65);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

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

/* Staggered delays */
.steps-grid        .step-card:nth-child(2)        { transition-delay: 0.14s; }
.steps-grid        .step-card:nth-child(3)        { transition-delay: 0.28s; }
.advantages-grid   .advantage-card:nth-child(2)   { transition-delay: 0.07s; }
.advantages-grid   .advantage-card:nth-child(3)   { transition-delay: 0.14s; }
.advantages-grid   .advantage-card:nth-child(4)   { transition-delay: 0.21s; }
.advantages-grid   .advantage-card:nth-child(5)   { transition-delay: 0.28s; }
.advantages-grid   .advantage-card:nth-child(6)   { transition-delay: 0.35s; }
.products-grid     .product-card:nth-child(2)     { transition-delay: 0.14s; }
.products-grid     .product-card:nth-child(3)     { transition-delay: 0.28s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.14s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.28s; }
.faq-list .faq-item:nth-child(n+2) { transition-delay: calc((var(--i, 1) - 1) * 0.06s); }
.faq-list .faq-item:nth-child(2)  { transition-delay: 0.06s; }
.faq-list .faq-item:nth-child(3)  { transition-delay: 0.12s; }
.faq-list .faq-item:nth-child(4)  { transition-delay: 0.18s; }
.faq-list .faq-item:nth-child(5)  { transition-delay: 0.24s; }
.faq-list .faq-item:nth-child(6)  { transition-delay: 0.30s; }

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

/* 1024px */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   МОБИЛНО МЕНЮ — директно в body, НЕ в header
   ============================================================ */
.mobile-nav {
  display: none; /* скрито на desktop */
}

/* 768px */
@media (max-width: 768px) {
  /* Desktop nav links — скриваме ги */
  .nav-links  { display: none !important; }
  .nav-cta    { display: none !important; }
  .nav-phone  { display: none !important; }

  /* Hamburger */
  .hamburger {
    display: flex;
    position: relative;
    z-index: 1200;
  }

  /* Мобилно меню — директно child на body */
  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 1100;
    background-color: #050505;
    background-image:
      url("data:image/svg+xml,%3Csvg width='90' height='78' viewBox='0 0 90 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='45,5 85,73 5,73' fill='none' stroke='rgba(212,175,55,0.11)' stroke-width='1.5'/%3E%3C/svg%3E"),
      radial-gradient(ellipse at 50% 100%, rgba(212,175,55,0.10) 0%, transparent 65%);
    background-size: 90px 78px, 100% 100%;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow: hidden;
    pointer-events: none;
  }

  .mobile-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 100%;
    padding: 24px 20px;
  }

  .mobile-nav-logo {
    gap: 14px;
  }

  .mobile-nav-logo .logo-icon {
    width: 48px;
    height: 44px;
  }

  .mobile-nav-logo .logo-text {
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
  }

  .mobile-nav-logo .logo-divider {
    height: 32px;
    background: rgba(212,175,55,0.5);
  }

  .mobile-nav-rule {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.4), transparent);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 280px;
  }

  .mobile-nav-links li {
    position: relative;
  }

  .mobile-nav-links li + li::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.3), transparent);
    margin: 0 20px;
  }

  .mobile-nav-link {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.1em;
    padding: 14px 8px 12px;
    text-align: center;
    position: relative;
    transition: color 0.25s ease;
  }

  /* zlatna chertichka — same as desktop .nav-link::after */
  .mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 80%;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:active {
    color: var(--color-gold);
  }

  .mobile-nav-link:hover::after,
  .mobile-nav-link:active::after {
    transform: translateX(-50%) scaleX(1);
  }

  .mobile-nav-cta {
    margin-top: 8px;
    padding: 13px 40px;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }

  /* X бутон за затваряне */
  .mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
    flex-shrink: 0;
  }

  .mobile-nav-close span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--color-gold);
    border-radius: 2px;
  }

  .mobile-nav-close span:first-child { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-nav-close span:last-child  { transform: rotate(-45deg) translate(5px, -5px); }

  /* Grid adjustments */
  .steps-grid         { grid-template-columns: 1fr; }
  .advantages-grid    { grid-template-columns: repeat(2, 1fr); }
  .products-grid      { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }

  /* Hero stats column layout */
  .hero-stats {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .hero-stat-divider {
    width: 100%;
    height: 1px;
  }
}

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

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }

  .hero-pills {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .contact-form-wrapper { padding: 24px; }

  .step-card { padding: 28px 20px; }

  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: 2; }
  .form-row--2 { grid-template-columns: 1fr; }
  .form-row--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   APPLY FORM — антиспам форма за кандидатстване
   ============================================================ */

/* Honeypot — невидимо за хора */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row--3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.form-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-dim);
  margin-top: 5px;
}

.field-error {
  display: block;
  font-size: 0.72rem;
  color: #e74c3c;
  margin-top: 4px;
  min-height: 16px;
}

.form-input.is-error  { border-color: #e74c3c; }
.form-input.is-valid  { border-color: #27ae60; }

/* Select field */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  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='%23D4AF37' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-select option {
  background: #111;
  color: #fff;
}

/* ---- Amount & Term sliders ---- */
.amount-slider-group { gap: 6px; }
.term-slider-group   { gap: 6px; }

.amount-slider-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 6px;
  min-height: 42px;
}

.amount-eur {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.03em;
}

.amount-sep {
  font-size: 1rem;
  color: var(--color-text-dim);
}

.amount-bgn {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.rate-loading { opacity: 0.4; }

.term-slider-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  letter-spacing: 0.04em;
  padding: 10px 0 6px;
  min-height: 42px;
}

.term-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--color-gold) 0%, var(--color-gold) var(--pct, 0%), rgba(255,255,255,0.12) var(--pct, 0%), rgba(255,255,255,0.12) 100%);
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0;
}

.term-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid #050505;
  box-shadow: 0 0 0 2px var(--color-gold), 0 2px 8px rgba(212,175,55,0.5);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.term-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid #050505;
  box-shadow: 0 0 0 2px var(--color-gold), 0 2px 8px rgba(212,175,55,0.5);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.term-slider::-webkit-slider-thumb:hover,
.term-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(212,175,55,0.35), 0 2px 12px rgba(212,175,55,0.6);
  transform: scale(1.15);
}

.term-slider::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
}

.term-slider-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
  padding: 4px 2px 0;
}

/* Consent checkbox */
.form-consent {
  margin-top: 4px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

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

.consent-label a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-photo  { max-height: 320px; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 260px;
}

.cookie-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.cookie-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  font-weight: 300;
}

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

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-decline {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.cookie-accept {
  padding: 10px 24px;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
