/* ==========================================================================
   Pro vzglyad — Design Tokens & Styles
   Mobile-first editorial beauty aesthetic (Astana, Nura)
   ========================================================================== */

:root {
  /* Palette */
  --bg-milk: #FAF6F2;
  --bg-cream: #F3EAE1;
  --bg-blush-soft: #F7EBE7;
  --bg-surface: #FFFFFF;
  --accent-blush: #E8C9C1;
  --accent-coffee: #6B4F45;
  --accent-coffee-dark: #4D362E;
  --accent-gold: #C2A174;
  --accent-gold-soft: rgba(194, 161, 116, 0.18);
  --whatsapp: #1F8A4C;
  --whatsapp-hover: #176D3B;

  /* Text */
  --text-primary: #33231D;
  --text-secondary: #6E5850;
  --text-muted: #937E76;
  --text-on-dark: #FAF6F2;

  /* Borders & Shadows */
  --border-subtle: rgba(107, 79, 69, 0.12);
  --border-gold: rgba(194, 161, 116, 0.45);
  --shadow-soft: 0 12px 34px rgba(59, 40, 34, 0.06);
  --shadow-card: 0 8px 24px rgba(59, 40, 34, 0.05);
  --shadow-float: 0 16px 40px rgba(51, 35, 29, 0.14);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii & Spacing */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --container: 1160px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-milk);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 68px 0;
}

.section--cream {
  background-color: var(--bg-cream);
}

.section--blush {
  background: linear-gradient(135deg, var(--bg-blush-soft) 0%, #FBF5F1 100%);
}

.section--dark {
  background-color: var(--accent-coffee-dark);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background-color: var(--accent-gold);
}

.section-header {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header--center .eyebrow::before {
  display: none;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: normal;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--accent-coffee);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(107, 79, 69, 0.22);
}

.btn--primary:hover {
  background-color: var(--accent-coffee-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(77, 54, 46, 0.28);
}

.btn--whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(31, 138, 76, 0.22);
}

.btn--whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--accent-coffee);
  color: var(--accent-coffee);
}

.btn--outline:hover {
  background-color: var(--accent-coffee);
  color: #FFFFFF;
}

.btn--gold {
  background-color: var(--accent-gold);
  color: #FFFFFF;
}

.btn--gold:hover {
  background-color: #AF8E61;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 246, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-blush-soft), var(--accent-blush));
  display: grid;
  place-items: center;
  color: var(--accent-coffee);
  flex-shrink: 0;
}

.logo__sub {
  display: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-gold);
  transition: width 0.25s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
}

.lang-switch__btn {
  border: none;
  background: transparent;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch__btn.is-active {
  background: var(--accent-coffee);
  color: #FFFFFF;
}

.header__phone {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-coffee);
}

.header__cta {
  display: none;
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
  color: var(--text-primary);
}

/* Mobile Drawer */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-milk);
  z-index: 95;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 4px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 36px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 201, 193, 0.45) 0%, rgba(250, 246, 242, 0) 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  transition: transform 0.2s var(--ease);
}

.rating-pill:hover {
  transform: translateY(-1px);
}

.rating-pill__star {
  color: var(--accent-gold);
  font-size: 15px;
}

.rating-pill__muted {
  color: var(--text-muted);
  font-weight: 500;
}

.hero__title {
  font-size: clamp(38px, 8vw, 62px);
  line-height: 1.06;
  margin-bottom: 18px;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-coffee);
  font-weight: 500;
}

.hero__lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 26px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.hero__photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-float);
  border: 6px solid var(--bg-surface);
  background: var(--bg-cream);
}

.hero__photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo-inset {
  position: absolute;
  right: -8px;
  bottom: 24px;
  width: 140px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--bg-surface);
  box-shadow: var(--shadow-float);
  display: none;
}

.hero__photo-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__floating-card {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero__floating-card strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
}

.hero__floating-card span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Advantages Strip
   ========================================================================== */
.benefits {
  padding: 28px 0 56px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-blush-soft);
  color: var(--accent-coffee);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.benefit-card__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Services & Pricing
   ========================================================================== */
.service-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: var(--bg-cream);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.service-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.service-tab.is-active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(59, 40, 34, 0.08);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--border-gold);
}

.service-card--featured {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF9F6 100%);
}

.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
}

.service-card__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-gold-soft);
  color: var(--accent-coffee);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.service-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.service-card__price {
  font-size: 19px;
  font-weight: 700;
  color: var(--accent-coffee);
}

.service-card__duration {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-note {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-blush-soft);
  border: 1px dashed var(--border-gold);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Portfolio & Lightbox
   ========================================================================== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--accent-coffee);
  color: #FFFFFF;
  border-color: var(--accent-coffee);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: var(--bg-cream);
  box-shadow: var(--shadow-card);
  border: none;
  padding: 0;
  text-align: left;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 14px 14px;
  background: linear-gradient(180deg, rgba(51, 35, 29, 0) 0%, rgba(51, 35, 29, 0.78) 100%);
  color: #FFFFFF;
}

.portfolio-item__cat {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blush);
  margin-bottom: 3px;
}

.portfolio-item__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.portfolio-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.portfolio-demo-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(29, 20, 17, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__dialog {
  position: relative;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox__img {
  max-height: 76vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__caption {
  text-align: center;
  color: var(--text-on-dark);
}

.lightbox__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 4px;
}

.lightbox__caption span {
  font-size: 14px;
  color: rgba(250, 246, 242, 0.78);
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(51, 35, 29, 0.75);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--accent-coffee);
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__nav--prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   About Master
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--bg-surface);
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__quote {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--accent-coffee);
  padding-left: 18px;
  border-left: 2px solid var(--accent-gold);
  margin: 20px 0;
  line-height: 1.35;
}

.about__list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.about__list li::before {
  content: "✦";
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}

.reviews-score__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-coffee);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.review-card__stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
  font-size: 15px;
  margin-bottom: 10px;
}

.review-card__text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.review-card__author {
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   Home Visit Banner & Training Teaser
   ========================================================================== */
.feature-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.training-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.training-teaser__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid rgba(250, 246, 242, 0.14);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25);
}

.training-teaser__text {
  color: rgba(250, 246, 242, 0.84);
  margin: 14px 0 22px;
}

.training-teaser__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.pill-dark {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(250, 246, 242, 0.1);
  border: 1px solid rgba(194, 161, 116, 0.35);
  font-size: 13px;
  color: var(--text-on-dark);
}

/* ==========================================================================
   Steps & Quick WhatsApp Form
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: var(--accent-blush);
  line-height: 1;
  margin-bottom: 10px;
}

.step-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.booking-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-milk);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent-coffee);
  background: #FFFFFF;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-coffee);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--border-gold);
}

.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-gold);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__body {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contacts & Map
   ========================================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contacts-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-blush-soft);
  color: var(--accent-coffee);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-row__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-row__val {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: linear-gradient(145deg, #EFE5DC 0%, #E7D7CB 100%);
  min-height: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.map-card__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(12%) contrast(96%);
}

.map-card__overlay {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* ==========================================================================
   Footer & Floating WhatsApp
   ========================================================================== */
.footer {
  background: var(--text-primary);
  color: rgba(250, 246, 242, 0.78);
  padding: 44px 0 32px;
  font-size: 14px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(250, 246, 242, 0.12);
}

.footer .logo {
  color: #FFFFFF;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer__links a:hover {
  color: var(--accent-blush);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(250, 246, 242, 0.56);
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(31, 138, 76, 0.38);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}

.wa-float:hover {
  transform: scale(1.08);
  background: var(--whatsapp-hover);
}

/* ==========================================================================
   Courses Page (training.html) & Privacy Page
   ========================================================================== */
.page-hero {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-milk) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.course-card__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.course-card__list li {
  display: flex;
  gap: 10px;
}

.course-card__list li::before {
  content: "✓";
  color: var(--accent-gold);
  font-weight: 700;
}

.prose {
  max-width: 780px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 28px;
  margin: 30px 0 12px;
}

.prose p,
.prose li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 479px) {
  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .service-tabs {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .service-tab {
    flex: 1;
    padding: 9px 10px;
    font-size: 13px;
    text-align: center;
  }

  .rating-pill {
    font-size: 12px;
    padding: 7px 12px;
    flex-wrap: wrap;
  }

  .lightbox__nav {
    width: 38px;
    height: 38px;
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }

  .wa-float {
    width: 48px;
    height: 48px;
    right: 12px;
    bottom: 12px;
  }

  .wa-float svg {
    width: 24px;
    height: 24px;
  }

  .footer {
    padding-bottom: 72px;
  }
}

@media (min-width: 640px) {
  .benefits__grid,
  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-form__full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .section {
    padding: 88px 0;
  }

  .logo {
    font-size: 26px;
    gap: 10px;
  }

  .logo__sub {
    display: block;
  }

  .nav {
    display: flex;
  }

  .header__phone,
  .header__cta {
    display: inline-flex;
  }

  .burger {
    display: none;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
  }

  .hero__photo-inset {
    display: block;
  }

  .hero__floating-card {
    right: 110px;
  }

  .benefits__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-banner {
    grid-template-columns: 1.3fr 0.7fr;
    padding: 40px 44px;
  }

  .training-teaser {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
  }

  .contacts-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
