/* ============================================
   MOVA Translations — Design Tokens & Styles
   ============================================ */

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

:root {
  /* Brand colors */
  --green-dark:   #2A3526;
  --green-mid:    #4A5E42;
  --green-sage:   #6B7F5A;
  --green-light:  #8FA07E;
  --green-pale:   #EEF1EB;
  --gold:         #C9A555;
  --gold-light:   #DEC07A;
  --gold-pale:    #F5EDD8;

  /* Neutrals */
  --cream:        #F8F5F0;
  --cream-dark:   #EDE8E0;
  --text-dark:    #1E2420;
  --text-mid:     #4A4A47;
  --text-light:   #7A7A76;
  --white:        #FFFFFF;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', Helvetica, sans-serif;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  /* Transitions */
  --ease-main: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.25s;
  --dur-mid:  0.5s;
  --dur-slow: 1.5s;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(42,53,38,0.08);
  --shadow-md: 0 8px 32px rgba(42,53,38,0.14);
  --shadow-lg: 0 20px 60px rgba(42,53,38,0.18);

  /* Header height */
  --header-h: 104px;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Intro Splash ───────────────────────────── */
#intro-splash {
  position: fixed; inset: 0; z-index: 1000;
  background: url('../uploads/Preloader New.png') center / cover no-repeat;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.splash-logo {
  width: 240px;
  opacity: 0;
  animation: splashFadeIn 1.4s var(--ease-main) forwards;
  transform-origin: center center;
}
@keyframes splashFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Page content (hidden until splash done) ── */
#page-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

/* ── Header ─────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: #697A58 url('../uploads/Wide logo new.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--space-md);
  transition: box-shadow var(--dur-fast) ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-logo-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── Language Switcher ─────────────────────── */
.lang-switcher { position: relative; z-index: 2; }
#lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,165,85,0.3);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
#lang-btn:hover { background: rgba(201,165,85,0.15); border-color: var(--gold); }
.lang-arrow { font-size: 0.65rem; margin-left: 2px; transition: transform var(--dur-fast) ease; }
#lang-btn[aria-expanded="true"] .lang-arrow { transform: rotate(180deg); }

#lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--green-dark);
  border: 1px solid rgba(201,165,85,0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-width: 130px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease, visibility var(--dur-fast);
  box-shadow: var(--shadow-md);
}
#lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
  cursor: pointer;
}
.lang-option:hover { background: rgba(201,165,85,0.12); color: var(--gold-light); }
.lang-option.active { color: var(--gold); font-weight: 500; }

/* ── Section Animations ─────────────────────── */
.animate-section {
  opacity: 0; transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease-main), transform var(--dur-slow) var(--ease-main);
}
.animate-section.visible { opacity: 1; transform: translateY(0); }
.animate-child {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease-main), transform 0.8s var(--ease-main);
}
.animate-child.visible { opacity: 1; transform: translateY(0); }

/* ── Section common ─────────────────────────── */
.section { padding: var(--space-lg) var(--space-md); }
.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: var(--space-sm);
}
.section-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 560px;
}
.divider-gold {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: var(--space-sm) 0;
  border-radius: 2px;
}

/* ── About Section ─────────────────────────── */
.about-section { background: var(--white); }
.about-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.about-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { margin-bottom: var(--space-sm); }
.about-text p:last-child { margin-bottom: 0; }

.about-list {
  list-style: none;
  margin: 0.25rem 0 var(--space-sm);
  padding: 0;
}
.about-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.45;
}
.about-tagline {
  margin-top: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ── Why Section ───────────────────────────── */
.why-section { background: var(--green-pale); }
.why-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.why-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  order: 2;
}
.why-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.why-text { order: 1; }
.why-features { margin-top: var(--space-md); display: grid; gap: var(--space-sm); }
.feature-item {
  display: flex; gap: var(--space-sm); align-items: flex-start;
}
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 2px;
}
.feature-desc { font-size: 0.88rem; color: var(--text-mid); }

/* ── Services Section ──────────────────────── */
.services-section { background: var(--cream); }
.services-inner { max-width: 780px; margin: 0 auto; }
.services-header { text-align: center; margin-bottom: var(--space-md); }
.services-header .section-heading { font-size: clamp(2rem, 3.5vw, 3rem); }
.services-header .divider-gold { margin: var(--space-sm) auto; }

.accordion-item {
  border-bottom: 1px solid var(--cream-dark);
}
.accordion-header {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--green-dark);
  transition: color var(--dur-fast) ease;
  text-align: left;
}
.accordion-header:hover { color: var(--green-sage); }
.accordion-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--cream-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.accordion-icon::after {
  content: '';
  display: block;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--green-sage);
  border-bottom: 1.5px solid var(--green-sage);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.accordion-item.open .accordion-header { color: var(--gold); }
.accordion-item.open .accordion-icon { background: var(--gold-pale); border-color: var(--gold-light); }
.accordion-item.open .accordion-icon::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--gold);
}
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-main);
}
.accordion-body-inner {
  padding: 0 0 var(--space-sm) 0;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  white-space: pre-line;
}

/* ── Contact Section ───────────────────────── */
.contact-section { background: var(--green-dark); }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: var(--space-md); }
.contact-header .section-label { color: var(--gold-light); }
.contact-header .section-heading { color: var(--white); }
.contact-header .section-body { color: rgba(255,255,255,0.65); max-width: 100%; text-align: center; }
.contact-header .divider-gold { margin: var(--space-sm) auto; }

.form-group { margin-bottom: var(--space-sm); }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease;
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: rgba(201,165,85,0.06);
}
.form-input.invalid { border-color: #e07070; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-size: 0.78rem;
  color: #e07070;
  margin-top: 5px;
  min-height: 1em;
}
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 17px;
  border-radius: var(--radius-sm);
  margin-top: var(--space-xs);
  transition: background var(--dur-fast) ease, transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
  position: relative;
  overflow: hidden;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-submit.loading::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
#form-error-msg {
  display: none;
  text-align: center;
  color: #e07070;
  font-size: 0.88rem;
  margin-top: var(--space-sm);
  padding: 12px;
  background: rgba(224,112,112,0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(224,112,112,0.2);
}

/* Form success state */
#form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#form-success.visible { opacity: 1; transform: translateY(0); }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(201,165,85,0.15);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.success-icon svg { width: 32px; height: 32px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#form-success h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-xs);
}
#form-success p { color: rgba(255,255,255,0.65); }

/* ── FAB ────────────────────────────────────── */
#fab-group {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.fab-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.fab-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
#fab-call { background: var(--gold); }
#fab-messenger { background: var(--green-dark); border: 1px solid rgba(201,165,85,0.4); }
#fab-messenger.active { background: var(--green-mid); }
.fab-btn svg { width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#fab-call svg { stroke: var(--green-dark); }

/* Speed dial */
#speed-dial {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  pointer-events: none;
}
.speed-dial-item {
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#speed-dial.open .speed-dial-item { opacity: 1; transform: translateY(0); pointer-events: all; }
#speed-dial.open .speed-dial-item:nth-child(1) { transition-delay: 0.06s; }
#speed-dial.open .speed-dial-item:nth-child(2) { transition-delay: 0.12s; }
#speed-dial.open .speed-dial-item:nth-child(3) { transition-delay: 0.18s; }
.speed-dial-label {
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.speed-dial-label.disabled { opacity: 0.5; }
.speed-dial-mini {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform var(--dur-fast) ease;
}
.speed-dial-mini:hover { transform: scale(1.1); }
.speed-dial-mini svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dial-telegram { background: #2AABEE; }
.dial-whatsapp { background: #25D366; }
.dial-viber    { background: #7360F2; }

/* ── Footer ─────────────────────────────────── */
.site-footer {
  background: #1A2118;
  padding: var(--space-md);
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-wrap img { height: 48px; }
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.footer-address {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
  letter-spacing: 0.03em;
  transition: color var(--dur-fast) ease;
}
.footer-address:hover { color: var(--gold-light); }
.footer-nav {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast) ease;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-social {
  display: flex; justify-content: flex-end; gap: 16px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) ease;
}
.footer-social a:hover { background: rgba(201,165,85,0.2); }
.footer-social svg { width: 17px; height: 17px; stroke: rgba(255,255,255,0.65); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-copy {
  max-width: 1160px; margin: var(--space-sm) auto 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
