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

:root {
  --dark:     #1e1d1a;
  --dark-2:   #2c2b27;
  --dark-3:   #3d3c38;
  --dark-4:   #57554f;
  --cream:    #f0ebe1;
  --cream-2:  #e5dfd5;
  --copper:   #9e7b52;
  --burgundy: #6e2030;
  --text-on-dark:   #cdc8be;
  --text-muted:     #7a766e;
  --white:    #ffffff;
  --tr: 0.35s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 22px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--tr), padding var(--tr), backdrop-filter var(--tr);
}
.navbar.scrolled {
  background: rgba(30, 29, 26, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 64px;
}
.nav-logo img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 44px;
}
.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(205,200,190,0.75);
  transition: color var(--tr);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-on-dark);
  font-size: 1.4rem;
  line-height: 1;
}

/* ─── HERO (Главная) ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 65%, rgba(90,78,58,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 72% 35%, rgba(55,50,40,0.45) 0%, transparent 50%),
    linear-gradient(170deg, #17160f 0%, #252420 45%, #0c0b09 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/bg-dark-tone.png') center / cover no-repeat;
  opacity: 0.22;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInDown 1.3s ease both;
}
.hero-logo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
}
.hero-tagline {
  margin-top: 36px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeInUp 1.5s ease 0.4s both;
}
.scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeIn 2.5s ease 1s both;
}
.scroll-hint span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ─── GENERIC SECTION WRAPPER ─── */
.section { padding: 108px 64px; }
.section--dark { background: var(--dark-2); color: var(--text-on-dark); }
.section--darker { background: var(--dark); color: var(--text-on-dark); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--no-pad { padding: 0; }

.inner { max-width: 1280px; margin: 0 auto; }

.label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}
.label--copper { color: var(--copper); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 28px;
}
.section-title--light { color: var(--cream); }
.section-title--italic { font-style: italic; }

/* ─── WHO WE ARE ─── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.who-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--cream);
  line-height: 1.3;
}
.who-right p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ─── SERVICES ─── */
.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}
.services-intro p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--dark-4);
  margin-top: 20px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.service-card .icon {
  margin-bottom: 28px;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.service-card p {
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--dark-4);
}

/* bottle SVG icon inline */
.bottle-icon {
  width: 28px;
  opacity: 0.35;
}

/* ─── TWO-COL SPLIT (dark bg + image) ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.split-text {
  padding: 100px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-text h2 { font-size: clamp(1.9rem, 2.8vw, 2.9rem); color: var(--cream); margin-bottom: 22px; }
.split-text p  { font-size: 0.88rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 40px; }
.split-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--dark);
}
.split-image img {
  width: 70%;
  height: auto;
  object-fit: contain;
  align-self: flex-end;
}

/* ─── FRANCHISE ─── */
.franchise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.franchise-text p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--dark-4);
  margin-bottom: 36px;
}
.franchise-image img {
  width: 100%;
  height: 420px;
  object-fit: contain;
}

/* ─── WHY US ─── */
.why-us {
  position: relative;
  overflow: hidden;
}
.why-us-bg {
  position: absolute;
  inset: 0;
  background: url('assets/bg-dark-type.png') center / cover no-repeat;
  opacity: 0.12;
}
.why-us-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.why-us-inner p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 34px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.btn--light  { color: var(--cream);  border-color: rgba(205,200,190,0.5); background: transparent; }
.btn--light:hover  { background: var(--cream);  color: var(--dark); }
.btn--dark   { color: var(--dark);   border-color: var(--dark-3);         background: transparent; }
.btn--dark:hover   { background: var(--dark);   color: var(--cream); }
.btn--copper { color: var(--copper); border-color: var(--copper);          background: transparent; }
.btn--copper:hover { background: var(--copper); color: var(--white); }

/* ─── CONTACT ─── */
.contact-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner p.sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 16px 0 54px;
  line-height: 1.75;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--dark-3);
  color: var(--text-on-dark);
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--tr);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--copper); }
.contact-form textarea { height: 90px; resize: none; }
.contact-form .btn { align-self: center; margin-top: 8px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-2);
  padding: 70px 64px 40px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--dark-3);
}
.footer-logo-img {
  height: 42px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 18px;
}
.footer-grid p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-grid h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { font-size: 0.85rem; color: var(--text-on-dark); transition: color var(--tr); }
.footer-nav a:hover { color: var(--white); }
.footer-contact p { font-size: 0.85rem; }
.footer-contact a { color: var(--copper); }
.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── PAGE HERO (consulting / about) ─── */
.page-hero {
  padding: 170px 64px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero--light {
  background: var(--cream);
}
.page-hero--light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/bg-wine-stains.png') center / cover no-repeat;
  opacity: 0.38;
}
.page-hero--dark {
  background: var(--dark);
  color: var(--cream);
}
.page-hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  position: relative;
  z-index: 2;
}
.page-hero .lead {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 0.88rem;
  line-height: 1.85;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
}
.page-hero .label { position: relative; z-index: 2; }

/* Service Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}
.tab {
  padding: 10px 26px;
  border: 1px solid var(--dark-3);
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: default;
  color: var(--dark-3);
  background: transparent;
}

/* Consulting card */
.consult-card {
  background: var(--dark);
  padding: 90px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.consult-card h2 { font-size: clamp(1.8rem, 2.5vw, 2.6rem); color: var(--cream); margin-bottom: 22px; }
.consult-card p  { font-size: 0.88rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 36px; }

.apply-side {
  background: url('assets/bg-wine-stains.png') center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apply-circle {
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 1px solid var(--dark-3);
  background: rgba(240,235,225,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
  text-align: center;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
  text-decoration: none;
}
.apply-circle:hover { background: var(--dark); color: var(--cream); border-color: transparent; }

/* Digital / Coming soon */
.digital-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.digital-grid p { font-size: 0.9rem; line-height: 1.85; color: var(--dark-4); }
.coming-card {
  background: var(--cream-2);
  padding: 54px 44px;
  text-align: center;
}
.coming-card .tag { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--copper); margin-bottom: 16px; display: block; }
.coming-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.coming-card .soon-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

/* ─── ABOUT HERO ─── */
.about-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/bg-dark-type.png') center / cover no-repeat;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 16, 0.52);
}
.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
}
.about-hero-content .label { color: rgba(205,200,190,0.55); }
.about-hero-content .logo-sym {
  width: 72px;
  filter: invert(1);
  margin: 0 auto 22px;
}

/* ─── MISSION ─── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mission-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: grayscale(100%);
}
.mission-grid p { font-size: 0.9rem; line-height: 1.9; color: var(--text-muted); }

/* ─── PHILOSOPHY ─── */
.philosophy-quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}
.philosophy-quote::before {
  content: '';
  display: block;
  width: 1px;
  height: 64px;
  background: var(--copper);
  margin: 0 auto 30px;
}
.philosophy-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.55;
}
.philosophy-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.philosophy-body img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: grayscale(80%);
}
.philosophy-body p { font-size: 0.9rem; line-height: 1.9; color: var(--dark-4); }

/* ─── FOUNDERS ─── */
.founders-header { text-align: center; margin-bottom: 72px; }
.founders-header .logo-sym-sm {
  width: 56px;
  margin: 18px auto;
}
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.founder-card { text-align: center; }
.founder-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  margin: 0 auto 28px;
  border: 1px solid var(--dark-3);
}
.founder-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}
.founder-card p { font-size: 0.85rem; line-height: 1.9; color: var(--text-muted); }

/* ─── DIVIDER ─── */
.divider-sym {
  display: block;
  width: 56px;
  margin: 0 auto 32px;
  opacity: 0.3;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .section { padding: 80px 32px; }
  .navbar { padding: 18px 32px; }
  .navbar.scrolled { padding: 12px 32px; }
  .footer { padding: 60px 32px 36px; }
  .page-hero { padding: 140px 32px 70px; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh; width: 280px;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 60px 40px;
    transition: right var(--tr);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.9rem; color: var(--text-on-dark); }
  .nav-toggle { display: block; z-index: 1001; }

  .who-grid,
  .services-grid,
  .split,
  .franchise-grid,
  .digital-grid,
  .mission-grid,
  .philosophy-body,
  .founders-grid { grid-template-columns: 1fr; gap: 40px; }

  .split-text { padding: 60px 32px; }
  .consult-card { padding: 60px 32px; }
  .split-image { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 60px 20px; }
  .hero-logo { width: 150px; height: 150px; }
  .tabs { flex-direction: column; align-items: center; }
}
