/* ========================================
   REAKTIVA — Design System & Global Styles
   ======================================== */

:root {
  --bg: #FDFBF7;
  --surface: #F5F0E8;
  --surface-alt: #EDE7DC;
  --primary: #2D4A3E;
  --primary-light: #3D6B58;
  --primary-dark: #1B3028;
  --accent: #C4956A;
  --accent-light: #D4A87E;
  --text: #1A1612;
  --text-sec: #5C554A;
  --text-mut: #8A8279;
  --border: rgba(26,22,18,0.08);
  --hero-grad: linear-gradient(135deg, #2D4A3E 0%, #1B3028 40%, #162822 100%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 60px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(45,74,62,0.06);
  --shadow-md: 0 8px 30px rgba(45,74,62,0.1);
  --shadow-lg: 0 20px 60px rgba(45,74,62,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; }
::selection { background: rgba(196,149,106,0.2); color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 22px; }
p { line-height: 1.75; }

/* Layout */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--lg { padding: 100px 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--hero-grad); color: #fff; }

/* Tag / Label */
.tag { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tag::before { content: ''; width: 32px; height: 2px; background: var(--accent); border-radius: 1px; }
.tag span { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-family: var(--sans); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius-full); font-size: 15px; font-weight: 500; font-family: var(--sans); cursor: pointer; transition: all 0.3s cubic-bezier(.16,1,.3,1); border: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-light); box-shadow: 0 8px 30px rgba(45,74,62,0.25); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-light); box-shadow: 0 8px 30px rgba(196,149,106,0.3); }
.btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--outline:hover { background: rgba(45,74,62,0.06); }
.btn--outline-light { background: transparent; color: rgba(255,255,255,0.8); border: 1.5px solid rgba(255,255,255,0.25); }
.btn--outline-light:hover { background: rgba(255,255,255,0.08); }
.btn--full { width: 100%; justify-content: center; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.4s; }
.nav--scrolled { background: rgba(253,251,247,0.92); backdrop-filter: blur(20px) saturate(1.8); border-bottom: 1px solid var(--border); }
.nav--hero { background: transparent; }
.nav--hero.nav--scrolled { background: rgba(26,22,18,0.9); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
.nav__logo-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 18px; color: #fff; font-style: italic; }
.nav__logo-text { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--text); letter-spacing: -0.02em; }
.nav--hero .nav__logo-text { color: #fff; }
.nav--hero.nav--scrolled .nav__logo-text { color: #fff; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { background: none; border: none; cursor: pointer; padding: 8px 16px; font-size: 14px; font-weight: 400; font-family: var(--sans); color: var(--text-sec); transition: all 0.2s; position: relative; text-decoration: none; }
.nav__link::after { content: ''; position: absolute; bottom: -4px; left: 50%; width: 0; height: 2px; background: var(--primary); transition: all 0.3s; transform: translateX(-50%); border-radius: 1px; }
.nav__link:hover::after { width: 100%; }
.nav__link--active { font-weight: 600; color: var(--primary); }
.nav--hero .nav__link { color: rgba(255,255,255,0.7); }
.nav--hero .nav__link--active { color: #fff; }
.nav--hero .nav__link::after { background: #fff; }
.nav__sep { width: 1px; height: 24px; background: var(--border); margin: 0 8px; }
.nav--hero .nav__sep { background: rgba(255,255,255,0.15); }
.nav__lang { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
.nav__lang a { font-size: 13px; padding: 4px 8px; border-radius: 6px; color: var(--text-mut); font-weight: 500; transition: all 0.2s; }
.nav__lang a:hover, .nav__lang a.active { color: var(--primary); background: rgba(45,74,62,0.06); }
.nav--hero .nav__lang a { color: rgba(255,255,255,0.5); }
.nav--hero .nav__lang a:hover, .nav--hero .nav__lang a.active { color: #fff; background: rgba(255,255,255,0.1); }

/* Mobile nav */
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); }
.nav--hero .nav__burger { color: #fff; }
.nav__mobile { display: none; position: fixed; inset: 0; z-index: 99; background: var(--primary-dark); flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.nav__mobile.open { display: flex; }
.nav__mobile a { color: rgba(255,255,255,0.8); font-size: 28px; font-family: var(--serif); font-weight: 500; padding: 12px 32px; opacity: 0; animation: fadeUp 0.4s forwards; text-decoration: none; }
.nav__mobile a.active { color: var(--accent); }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__sep { display: none; }
  .nav .btn { display: none; }
}

/* Hero */
.hero { min-height: 100vh; background: var(--hero-grad); position: relative; overflow: hidden; display: flex; align-items: center; padding: 120px 24px 80px; }
.hero__glow { position: absolute; top: -20%; right: -10%; width: 60%; height: 140%; background: radial-gradient(ellipse at center, rgba(196,149,106,0.15) 0%, transparent 70%); pointer-events: none; }
.hero__content { max-width: 1120px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero__inner { max-width: 700px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); color: #fff; line-height: 1.1; letter-spacing: -0.03em; margin: 24px 0; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p { color: rgba(255,255,255,0.65); font-size: 17px; line-height: 1.7; max-width: 520px; }
.hero__btns { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; animation: pulse 2.5s infinite; }
.hero__scroll span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.hero__scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent); }

/* Cards */
.card { background: var(--bg); border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border); transition: all 0.4s cubic-bezier(.16,1,.3,1); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(196,149,106,0.27); }
.card--sm { padding: 28px 24px; border-radius: var(--radius-md); }
.card--flat { border-radius: var(--radius-md); padding: 28px 24px; }
.card--surface { background: var(--surface); border: none; }
.card__num { font-size: 48px; font-weight: 700; color: rgba(196,149,106,0.13); font-family: var(--serif); line-height: 1; }
.card__icon { font-size: 32px; margin-bottom: 16px; }

/* Info card */
.info-card { display: flex; align-items: flex-start; gap: 16px; }
.info-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.info-card__label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 4px; }

/* Grid layouts */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid--about { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; align-items: center; }
.grid--pricing { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; }
.grid--faq { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; }
.grid--directions { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid--contact-form { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }

/* Badges / Tags */
.badge { display: inline-block; padding: 6px 16px; border-radius: 40px; font-size: 13px; font-weight: 500; background: rgba(45,74,62,0.04); color: var(--primary); border: 1px solid rgba(45,74,62,0.08); }
.badge-group { display: flex; flex-wrap: wrap; gap: 8px; }

/* About photo placeholder */
.about-photo { aspect-ratio: 3/4; max-width: 400px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--surface), rgba(196,149,106,0.13)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.about-photo__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(26,22,18,0.8), transparent); color: #fff; font-size: 13px; font-weight: 500; text-align: center; }

/* Stats */
.stat { text-align: center; }
.stat__num { font-size: clamp(2rem, 4vw, 3rem); font-family: var(--serif); font-weight: 600; color: var(--primary); letter-spacing: -0.03em; }
.stat__label { font-size: 14px; color: var(--text-mut); margin-top: 8px; }

/* Testimonials */
.testimonial { background: var(--bg); border-radius: var(--radius-md); padding: 28px 24px; border: 1px solid var(--border); }
.testimonial__quote { font-size: 28px; color: var(--accent); margin-bottom: 16px; font-family: var(--serif); }
.testimonial__text { color: var(--text-sec); font-size: 14px; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 10px; }
.testimonial__avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(196,149,106,0.1); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: var(--accent); }

/* Accordion */
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__btn { width: 100%; background: none; border: none; padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; text-align: left; font-family: var(--sans); }
.accordion__btn span:first-child { font-size: 16px; font-weight: 500; color: var(--text); padding-right: 16px; }
.accordion__icon { font-size: 22px; color: var(--text-mut); transition: transform 0.3s; flex-shrink: 0; }
.accordion__item.open .accordion__icon { transform: rotate(45deg); }
.accordion__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s cubic-bezier(.16,1,.3,1); }
.accordion__item.open .accordion__body { grid-template-rows: 1fr; }
.accordion__body-inner { overflow: hidden; }
.accordion__body p { padding: 0 0 20px; color: var(--text-sec); font-size: 15px; line-height: 1.75; }

/* Service expandable */
.srv { background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; margin-bottom: 20px; }
.srv__head { padding: 28px; cursor: pointer; display: flex; align-items: flex-start; gap: 20px; }
.srv__icon { font-size: 36px; flex-shrink: 0; margin-top: 4px; }
.srv__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.srv__toggle { font-size: 22px; color: var(--text-mut); transition: transform 0.3s; flex-shrink: 0; }
.srv.open .srv__toggle { transform: rotate(45deg); }
.srv__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(.16,1,.3,1); }
.srv.open .srv__body { grid-template-rows: 1fr; }
.srv__body-inner { overflow: hidden; }
.srv__detail { padding: 0 28px 28px 84px; }
.srv__benefits { list-style: none; }
.srv__benefits li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; font-size: 14px; color: var(--text-sec); line-height: 1.5; }
.srv__benefits li::before { content: '✓'; color: var(--accent); font-size: 16px; line-height: 1.4; flex-shrink: 0; }
.srv__price { padding: 10px 16px; background: var(--surface); border-radius: 10px; margin-bottom: 8px; font-size: 15px; font-weight: 500; }

@media (max-width: 640px) {
  .srv__detail { padding-left: 28px; }
}

/* Price table */
.price-table { border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; }
.price-table__head { display: grid; grid-template-columns: 1fr auto auto; padding: 12px 20px; background: var(--surface); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mut); }
.price-table__row { display: grid; grid-template-columns: 1fr auto auto; padding: 14px 20px; border-top: 1px solid var(--border); font-size: 14px; align-items: center; gap: 16px; transition: background 0.2s; }
.price-table__row:hover { background: var(--surface); }
.price-table__name { font-weight: 500; }
.price-table__name--sub { font-weight: 400; color: var(--text-sec); }
.price-table__dur { color: var(--text-mut); font-size: 13px; }
.price-table__price { font-weight: 600; color: var(--primary); text-align: right; font-variant-numeric: tabular-nums; }

/* Gift banner */
.gift { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; align-items: center; margin-top: 48px; }
.gift__value { font-size: 36px; font-family: var(--serif); font-weight: 600; color: var(--primary); margin-bottom: 8px; }

/* Form */
.form__group { margin-bottom: 16px; }
.form__label { display: block; font-size: 13px; font-weight: 500; color: var(--text-sec); margin-bottom: 6px; }
.form__input, .form__select, .form__textarea { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--border); font-size: 15px; font-family: var(--sans); background: var(--bg); color: var(--text); transition: all 0.2s; }
.form__input:focus, .form__select:focus, .form__textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,74,62,0.13); }
.form__textarea { resize: vertical; }

/* Map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/7; min-height: 320px; background: var(--surface); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 320px; }

/* Footer */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; font-family: var(--sans); }
.footer a, .footer button { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 14px; cursor: pointer; padding: 3px 0; font-family: var(--sans); display: block; text-decoration: none; transition: color 0.2s; }
.footer a:hover, .footer button:hover { color: rgba(255,255,255,0.9); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; margin-top: 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer__top-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); padding: 8px 16px; border-radius: 40px; cursor: pointer; font-size: 12px; font-family: var(--sans); font-weight: 500; }

/* Dark section overrides */
.section--dark .tag span { color: var(--accent); }
.section--dark h2 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.6); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 480px; margin: 0 auto 32px; }
.cta-band__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.fade-in.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section--lg { padding: 80px 0; }
  .hero { padding: 100px 24px 60px; min-height: 90vh; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .grid--about { gap: 40px; }
  .about-photo { max-width: 100%; aspect-ratio: 1/1; }
}

/* Page top spacer */
.page-top { padding-top: 120px; }
