/* =========================================================
   Varna Walks — Stylesheet
   Base palette (logo):
     --cream      : #F5E6C8  (page background)
     --brown      : #7B3F1E  (primary)
     --brown-dark : #5A2D0C  (hover / accent)
     --brown-mid  : #A0622D  (secondary text / borders)
     --white      : #FEFAF4  (card / section background)
     --text       : #3D1F08  (body copy)
   Extended accent palette:
     --amber      : #C8922A  (CTA, badges, highlights)
     --amber-dark : #A5771F  (amber hover)
     --terracotta : #B85D3A  (warm rust – "не" card, hero accent)
     --sage       : #5E8A52  (earthy green – "е" card, positive)
     --teal       : #3D8FA6  (coastal blue – contact icons, accents)
   ========================================================= */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #F5E6C8;
  --brown:       #7B3F1E;
  --brown-dark:  #5A2D0C;
  --brown-mid:   #A0622D;
  --white:       #FEFAF4;
  --text:        #3D1F08;
  --amber:       #C8922A;
  --amber-dark:  #A5771F;
  --terracotta:  #B85D3A;
  --sage:        #5E8A52;
  --teal:        #3D8FA6;
  --radius:      10px;
  --shadow:      0 4px 18px rgba(90, 45, 12, 0.12);
  --transition:  0.25s ease;
  --max-width:   1100px;
  --nav-h:       72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }

a { color: var(--brown); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brown-dark); }

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--brown);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section-inner {
  padding: 5rem 0;
}

.section-inner--alt {
  background: var(--white);
}

/* ---------- HEADER / NAV ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brown);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream);
}

.nav-logo span {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--cream);
  letter-spacing: 0.03em;
}

#primary-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

#primary-nav a {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

#primary-nav a:hover,
#primary-nav a.active {
  color: #fff;
  border-bottom-color: var(--amber);
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--cream);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- HERO SECTION ---------- */
#hero {
  background: linear-gradient(160deg, var(--cream) 60%, #f0d8b0 100%);
}

#hero .section-inner {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-questions {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.hero-questions li {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: var(--brown-mid);
  padding-left: 1.5rem;
  position: relative;
}

.hero-questions li::before {
  content: '?';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--brown);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text);
  margin-top: 1.5rem;
  border-left: 4px solid var(--amber);
  padding-left: 1rem;
  font-style: italic;
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--amber);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(200, 146, 42, 0.35);
}

.hero-cta:hover {
  background: var(--amber-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 146, 42, 0.45);
}

.hero-cta--secondary {
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
  box-shadow: none;
}

.hero-cta--secondary:hover {
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 6px 20px rgba(90, 45, 12, 0.2);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-cta-group .hero-cta {
  margin-top: 0;
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .hero-cta { width: 100%; text-align: center; }
}

.hero-image figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brown-mid) 0%, var(--brown) 100%);
}

.hero-image figure .img-placeholder {
  color: var(--cream);
  font-size: 1rem;
  font-style: italic;
  opacity: 0.75;
  text-align: center;
  padding: 1rem;
}

.hero-image figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ---------- ABOUT (ЗА ВАС) SECTION ---------- */
#za-vas {
  background: var(--white);
}

.about-pain {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.about-pain blockquote {
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
  color: var(--brown-dark);
  background: var(--cream);
  border: none;
  border-left: 5px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
}

.about-pain blockquote::before {
  content: '"';
  position: absolute;
  top: -0.2rem;
  left: 1rem;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.25;
  font-family: Georgia, serif;
  pointer-events: none;
}

@media (max-width: 600px) {
  .about-pain blockquote { font-size: 1.1rem; }
}

.about-lead {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0.5rem 0 2.5rem;
}

.about-lead p {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text);
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--amber);
  background: rgba(200, 146, 42, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0;
}

.about-lead__highlight {
  font-size: 1.3rem !important;
  font-weight: 700;
  color: var(--brown) !important;
  background: rgba(123, 63, 30, 0.08) !important;
  border-left: 4px solid var(--brown) !important;
}

/* 4-step process */
.steps-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin: 2rem 0 1rem;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  counter-reset: steps;
  list-style: none;
}

.steps-list li {
  counter-increment: steps;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.2rem 3.5rem;
  position: relative;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--text);
  border-top: 3px solid var(--amber);
}

.steps-list li:nth-child(2) { border-top-color: var(--terracotta); }
.steps-list li:nth-child(3) { border-top-color: var(--sage); }
.steps-list li:nth-child(4) { border-top-color: var(--teal); }

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  background: var(--amber);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.steps-list li:nth-child(2)::before { background: var(--terracotta); }
.steps-list li:nth-child(3)::before { background: var(--sage); }
.steps-list li:nth-child(4)::before { background: var(--teal); }

.about-vision {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--brown-dark);
  background: linear-gradient(135deg, rgba(200, 146, 42, 0.1) 0%, rgba(245, 230, 200, 0.5) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  border-left: 5px solid var(--amber);
}

/* Who is it for — two columns */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.who-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.who-card--no {
  background: rgba(184, 93, 58, 0.07);
  border-top: 4px solid var(--terracotta);
}

.who-card--yes {
  background: rgba(94, 138, 82, 0.08);
  border-top: 4px solid var(--sage);
}

.who-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.who-card--no h3 { color: var(--terracotta); }
.who-card--yes h3 { color: var(--sage); }

.who-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0;
}

/* Reviews placeholder */
aside.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--amber);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-stars {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.review-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  border: none;
  padding: 0;
  background: none;
  border-radius: 0;
  flex: 1;
}

.review-card blockquote p {
  margin-bottom: 0.6rem;
}

.review-card blockquote p:last-child {
  margin-bottom: 0;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brown);
  background: transparent;
  padding: 0.5rem 0 0;
  border-top: 1px solid rgba(160, 98, 45, 0.2);
  text-align: left;
  letter-spacing: normal;
}

.review-author .google-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

@media (max-width: 480px) {
  aside.reviews { grid-template-columns: 1fr; }
}

.reviews-more {
  margin-top: 1.25rem;
  text-align: center;
}

.reviews-more a {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brown);
  border: 2px solid var(--brown);
  border-radius: var(--radius);
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.reviews-more a:hover {
  background: var(--brown);
  color: var(--cream);
}

/* ---------- SERVICES SECTION ---------- */
#services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

article.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--amber);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

article.service-card:nth-child(2) { border-top-color: var(--terracotta); }
article.service-card:nth-child(3) { border-top-color: var(--teal); }

article.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(90, 45, 12, 0.18);
}

.service-card h3 {
  color: var(--brown);
  font-size: 1.25rem;
}

.service-card .duration {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

article.service-card:nth-child(2) .duration { background: var(--terracotta); }
article.service-card:nth-child(3) .duration { background: var(--teal); }

.service-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0;
}

/* Services photos placeholder row */
.services-photos {
  display: none; /* hidden until real photos are available */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}

.services-photos figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #c8a07a 0%, var(--brown) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.services-photos figure .img-placeholder {
  color: var(--cream);
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.8;
  text-align: center;
  padding: 0.5rem;
}

/* ---------- CONTACTS SECTION ---------- */
#contacts {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

address { font-style: normal; }

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.contact-card:hover { transform: translateY(-3px); }

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card:nth-child(1) .contact-icon { background: linear-gradient(135deg, #C13584, #E1306C); }
.contact-card:nth-child(2) .contact-icon { background: #fff; border: 2px solid #dadce0; }
.contact-card:nth-child(3) .contact-icon { background: var(--sage); }
.contact-card:nth-child(4) .contact-icon { background: var(--teal); }

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--cream);
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 0;
}

.contact-card a {
  font-size: 0.95rem;
  color: var(--brown-mid);
  word-break: break-all;
}

.contact-card a:hover { color: var(--brown-dark); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--brown-dark);
  color: var(--cream);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

footer a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   RESPONSIVE — Mobile first breakpoints
   ========================================================= */

/* Tablet / small desktop: hide hamburger */
@media (max-width: 768px) {

  /* Nav */
  .hamburger { display: flex; }

  #primary-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--brown-dark);
    padding: 1.5rem 1.5rem 2rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 99;
  }

  #primary-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
  }

  #primary-nav ul {
    flex-direction: column;
    gap: 1.4rem;
    align-items: flex-start;
  }

  #primary-nav a { font-size: 1.05rem; }

  /* Hero */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image { order: -1; }

  /* About */
  .who-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-inner { padding: 3.5rem 0; }

  .nav-logo span { font-size: 1rem; }

  .hero-cta { width: 100%; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ SECTION ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  color: var(--brown);
  transition: background var(--transition);
}

.faq-btn:hover {
  background: rgba(200, 146, 42, 0.07);
}

.faq-btn[aria-expanded="true"] {
  background: rgba(200, 146, 42, 0.1);
  border-bottom: 1px solid rgba(200, 146, 42, 0.25);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  position: relative;
  transition: transform var(--transition), background var(--transition);
}

/* plus sign */
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: #fff;
  border-radius: 2px;
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px;  height: 10px; transition: transform var(--transition); }

.faq-btn[aria-expanded="true"] .faq-icon {
  background: var(--brown);
}
.faq-btn[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 1rem 1.4rem 1.2rem;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.7;
}

.faq-answer p { margin-bottom: 0; }
.faq-answer a { color: var(--brown); font-weight: 600; }
.faq-answer a:hover { color: var(--brown-dark); }

/* ---------- LANGUAGE SWITCHER ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 1.25rem;
  flex-shrink: 0;
}

.lang-switcher a {
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  border: 1.5px solid rgba(245, 230, 200, 0.4);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  text-transform: uppercase;
  text-decoration: none;
}

.lang-switcher a:hover {
  border-color: var(--amber);
  color: #fff;
  background: rgba(200, 146, 42, 0.2);
}

.lang-switcher a.active {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-left: auto;
    margin-right: 0.75rem;
    order: 2;
  }

  .hamburger { order: 3; }
}
