/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === FONTS === */
@font-face {
  font-family: 'Gogol';
  src: url('../fonts/ofont.ru_Gogol.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === VARIABLES === */
:root {
  --dark:        #335560;
  --teal:        #2d5268;
  --teal-light:  #3d6b87;
  --cream:       #eee1d6;
  --beige:       #ede7db;
  --light-gray:  #f4f3ef;
  --accent:      #c8d87a;
  --accent-dark: #b0c062;
  --sage:        #7a9e6e;
  --white:       #ffffff;
  --text:        #335560;
  --text-muted:  #6b7c8a;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --container:   1320px;
  --section-pad: 5rem;
  --header-padding: 0.5rem;
  --radius:      6px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(29, 53, 69, 0.08);
  --shadow-lg:   0 12px 48px rgba(29, 53, 69, 0.14);
  --transition:  0.25s ease;
}

/* === BASE === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

p {
  font-size: 1.125rem;
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* === LAYOUT === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section--beige { background: var(--beige); }
.section--light { background: var(--light-gray); }

.section--dark {
  background: var(--dark);
  color: var(--white);
}

/* === TYPOGRAPHY UTILS === */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.tag--light { color: var(--accent); }

.section-title {
  font-family: 'Manrope', sans-serif;
  font-size: 2.295rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #335560;
  color: var(--dark);
}

.section-title--light { color: var(--white); }

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.45;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8125rem 1.875rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--accent {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* === CHECK LIST === */
.check-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.check-list li {
  padding: 0.5rem 0 0.5rem 2.25rem;
  position: relative;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ================================
   HEADER
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: #f4f3ef;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Header logo */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav__logo {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: var(--header-padding) 0rem;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
}

.logo__tagline {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

/* Nav */
.nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 0;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
}

.nav__list--bottom {
  justify-content: space-around;
}

.nav__divider {
  width: 100%;
  height: 1px;
  background: #335560;
  opacity: 0.3;
}

.nav__link {
  display: block;
  padding: 0.0rem 0.7rem;
  font-size: 1.125rem;
  color: #335560;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--dark);
  background: rgba(51, 85, 96, 0.08);
}

/* Header right */
.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header__phone {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--accent);
  transition: color var(--transition);
}
.header__phone:hover { color: var(--white); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 102;
}

.burger span {
  display: block;
  height: 5px;
  width: 100%;
  background: #335560;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.is-active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.burger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ================================
   HERO
================================ */
.hero {
  position: relative;
  height: 1266px;
  display: flex;
  flex-direction: column;
  background: url('../img/bg1.jpg') center top / cover no-repeat;
  background-color: var(--dark);
  margin-top: var(--header-height, 72px);
  padding-top: 50px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero__wrapper {
  position: sticky;
  bottom: 20px;
  align-self: flex-start;
  width: 100%;
  margin-top: auto;
  padding-top: 50px;
  padding-bottom: 50px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 0;
}

.hero__logo {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.hero__logo img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
  text-align: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7.5vw, 5.75rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 720px;
}

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

.hero__text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: relative;
  left: 0;
  transform: none;
  z-index: 1;
  margin-top: 2rem;
}

.hero__scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ================================
   ABOUT
================================ */
.about__inner {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__content .tag { display: block; }

.about__lead {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about__content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  line-height: 1.45;
}

.about__highlight {
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Media block */
.about__media { position: relative; }

.about__img-wrap {
  border-radius: var(--radius-lg);
  overflow: visible;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.about__img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
}

/* ================================
   PRODUCTS
================================ */
/* ================================
   PRODUCTS
================================ */
.products .tag { color: var(--accent); }
.products .section-title {
  color: #F4F3EF;
  border-bottom-color: #F4F3EF;
}

.products__intro {
  margin: 0 0 3rem 0;
}

.products__intro p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  margin-bottom: 0.875rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
}

.product-card__img {
  height: 150px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.product-card__img img {
  width: 140px;
  height: 140px;
  height: 100%;
  object-fit: contain;
}

.product-card__body { padding: 0.90rem 2rem 1.5rem 2rem; }

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.product-card__body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.products__plans {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.products__plans-text p {
  font-family: 'Gogol', var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0;
  color: var(--white);
}

.products__plans-list {
  display: flex;
  justify-content: flex-end;
}

.products__plans-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.products__plans-list li {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding-left: 2.0rem;
  position: relative;
}

.products__plans-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ================================
   HOW
================================ */
.how {
  position: relative;
  background: url('../img/bg2.jpg') center / cover no-repeat;
  background-color: var(--dark);
  padding-top: 25rem;
}

.how__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.85) 60%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

.how .container {
  position: relative;
  z-index: 1;
}

.how .tag {
  display: block;
  color: var(--accent);
  max-width: 60%;
  margin-left: auto;
}

.how .section-title {
  margin-bottom: 0;
  color: #F4F3EF;
  border-bottom-color: #F4F3EF;
  max-width: 60%;
  margin-left: auto;
}

.how__intro {
  margin: 2rem 0 3rem auto;
  max-width: 60%;
}

.how__intro p {
  font-size: 1.125rem;
  color: #F4F3EF;
  line-height: 1.45;
  margin-bottom: 0.875rem;
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.how__steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(2.25rem + 2rem);
  right: calc(2.25rem + 2rem);
  height: 1px;
  background: var(--teal);
  z-index: 0;
}

.how-step { position: relative; z-index: 1; }

.how-step__num {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.how-step__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.625rem;
}

.how-step p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ================================
   CTA STRIP
================================ */
.cta-strip {
  position: relative;
  background: url('../img/bg2.jpg') center / cover no-repeat;
  padding: 6rem 0;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29, 53, 69, 0.65) 0%,
    rgba(29, 53, 69, 0.45) 60%,
    rgba(45, 82, 104, 0.30) 100%
  );
  z-index: 0;
}

.cta-strip .container {
  position: relative;
  z-index: 1;
}

.cta-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.cta-strip__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--white);
  max-width: 680px;
  line-height: 1.3;
}

.cta-strip__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ================================
   WHY
================================ */
.why__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: stretch;
}

.why__text .tag { display: block; }

.why__text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  line-height: 1.45;
}

.why__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 1.0rem 0;
}

.why__item {
  font-size: 1.125rem;
  color: var(--text);
  padding-left: 2.0rem;
  position: relative;
}

.why__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.why__item-num {
  display: none;
}

.why__quote {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 1.125rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.why__quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.why__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  background: linear-gradient(160deg, var(--beige) 0%, var(--teal-light) 100%);
}

/* ================================
   TEAM
================================ */
.team__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card { text-align: center; }

.team-card__avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-light), var(--dark));
  margin: 0 auto 1rem;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.team-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ================================
   GALLERY
================================ */
.gallery .section-title {
  margin-bottom: 2rem;
  text-align: center;
}

.gallery__slider-wrap {
  position: relative;
  padding: 0 1.25rem;
  overflow: hidden;
}

.gallery .carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  height: 700px;
  perspective: 500px;
  transform-style: preserve-3d;
  transform-origin: 0% 50%;
}

.gallery .carousel .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  width: 800px;
  height: 640px;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: none;
}

.gallery .carousel .carousel-item.active {
  visibility: visible;
}

.gallery .carousel .indicators {
  position: absolute;
  inset: auto 0 0;
  text-align: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery .carousel .indicators .indicator-item {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 0.5rem;
  background-color: rgba(51, 85, 96, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--transition);
}

.gallery .carousel .indicators .indicator-item.active {
  background-color: var(--dark);
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(51, 85, 96, 0.88);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.gallery__arrow:hover {
  background: var(--teal);
}

.gallery__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.gallery__arrow--prev {
  left: 0.5rem;
}

.gallery__arrow--next {
  right: 0.5rem;
}

.gallery .carousel .carousel-item img {
  width: 100%;
  height: calc(100% - 2.5rem);
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.gallery__caption {
  position: static;
  display: block;
  height: 2.25rem;
  line-height: 2.25rem;
  margin-bottom: 0.25rem;
  padding: 0 0.75rem;
  font-size: 0.95rem;
  color: var(--dark);
  background: transparent;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
}

/* ================================
   STORES
================================ */
.stores .tag { color: var(--accent); }
.stores .section-title {
  color: #F4F3EF;
  border-bottom-color: #F4F3EF;
}

.stores__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

.store-card:last-child {
  margin-bottom: 0;
}

.store-card:hover {
  transform: none;
  box-shadow: none;
}

.store-card--accent {
  border-color: transparent;
}

.store-card__text {
  padding: 0 0 1rem 0;
  background: transparent;
  font-size: 1.125rem;
  color: #F4F3EF;
  line-height: 1.45;
  text-align: left;
  min-height: calc(1.45em * 3);
}

.store-card__map {
  display: block;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: opacity var(--transition);
}

.store-card__map:hover {
  opacity: 0.85;
}

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

/* ================================
   DECORATIVE SECTION
================================ */
.decor-section {
  min-height: 1000px;
  background: url('../img/bg3.jpg') center / cover no-repeat;
}

/* ================================
   CONTACT
================================ */
/* ================================
   CONTACT
================================ */
.contact .section-title {
  color: #F4F3EF;
  border-bottom-color: #F4F3EF;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  font-family: 'Manrope', sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-card:hover {
  transform: none;
}

.contact-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--dark);
}
  line-height: 1.4;
}

.contact-card__text {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-card__phone {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--teal);
  transition: color var(--transition);
  display: block;
}
.contact-card__phone:hover { color: var(--accent); }

.contact-card__emails {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.contact-card__emails a {
  font-size: 1.125rem;
  color: var(--teal);
  transition: color var(--transition);
}
.contact-card__emails a:hover { color: var(--accent); }

.contact__address {
  margin-top: 2.5rem;
  text-align: left;
}

.contact__address p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.contact__address strong {
  color: var(--white);
  font-weight: 500;
}

/* ================================
   FOOTER
================================ */
.footer {
  background: #111d27;
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  flex-direction: column;
}

.footer__logo .logo__name {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--white);
}

.footer__logo .logo__tagline {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 3px;
}

.footer__socials-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer__socials-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer__social:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__social img {
  width: 18px;
  height: 18px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
}

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(51, 85, 96, 0.9);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--teal);
}

/* === MEDIA QUERIES === */

/* Large desktop: up to 1280px */
@media (max-width: 1280px) {
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small desktop / tablet landscape: up to 1024px */
@media (max-width: 1024px) {
  :root { --section-pad: 4rem; }

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

  .how__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .how__steps::before { display: none; }

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

  .about__inner,
  .why__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Decor section */
  .decor-section { min-height: 600px; }

  .how .tag,
  .how .section-title,
  .how__intro {
    max-width: 100%;
    margin-left: 0;
  }

  .how {
    padding-top: 4rem;
  }

  .how__overlay {
    background: rgba(0, 0, 0, 0.75);
  }

  .about__media { order: -1; }

  .contact__right { padding-top: 0; }

  .why__img-wrap { aspect-ratio: 16 / 9; }
}

/* Tablet portrait: up to 991px */
@media (max-width: 991px) {
  :root { --section-pad: 3rem; }

  .section { padding-top: 5rem; }

  .header,
  .header.is-scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  /* Mobile nav */
  .nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #f4f3ef;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
    padding-top: 3.75rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.32s ease;
    z-index: 99;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }

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

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__divider {
    display: none;
  }

  .nav__link {
    padding: 0.875rem 0.75rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(51, 85, 96, 0.15);
    border-radius: 0;
    text-align: center;
  }

  .nav__list--bottom li:last-child .nav__link {
    border-bottom: none;
  }

  .burger {
    display: flex;
    width: 50px;
    height: 50px;
    padding: 7px 9px;
    border-radius: 50%;
    background: var(--cream);
  }
  .header__phone { display: none; }

.header__logo {
    display: none;
  }
  
    .nav__logo {
    display: flex;
    justify-content: center;
            margin-bottom: 0.3rem;
        margin-top: 1.2rem;
  }

  .nav__logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
  }

  .header__inner {
    justify-content: center;
  }

  .about__badge {
    left: 0;
  }

  .header__right {
    margin-left: auto;
  }

  .header .logo__name {
    font-size: 1.85rem !important;
  }

  .logo__tagline {
    font-size: 0.742rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  
  .hero {
	  margin-top:0px;
  }

  /* Hero */
  .hero__title { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 50%; }

  .hero__tagline {
    font-size: clamp(0.65rem, 3vw, 1.15rem);
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  /* Products */
  .products__grid { grid-template-columns: 1fr; }

  .products__plans {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .products__plans-list {
    justify-content: flex-start;
  }

  .products__plans-list ul {
    flex-direction: column;
  }

  /* How */
  .how__steps { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Team */
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Gallery */
  .gallery .carousel {
    width: 100%;
    height: 500px;
  }

  .gallery__slider-wrap {
    padding: 0 2.1rem;
  }

  .gallery .carousel .carousel-item {
    width: 500px;
    height: 411px;
  }

  /* Stores */
  .stores__grid { grid-template-columns: 1fr; }

  .store-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .store-card__map {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* CTA */
  .cta-strip__btns { flex-direction: column; align-items: center; }
  .cta-strip__btns .btn { width: 100%; max-width: 300px; }

  /* Contact form row */
  .form-row { grid-template-columns: 1fr; }

  /* Decor section */
  .decor-section { min-height: 600px; }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer__nav { gap: 1rem; }

  /* Decor section */
  .decor-section { min-height: 400px; }
}

/* Mobile: up to 640px */
@media (max-width: 640px) {
  :root { --section-pad: 2.5rem; }

  .container { padding: 0 1rem; }

  .hero__inner {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero {
    /*height: auto;
    min-height: 100vh;*/
	
	        min-height: 600px;
        height: 100vh;
	
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    justify-content: flex-end;
    align-items: center;
    background-position: center right -200px;
  }

  .hero__wrapper {
    position: static;
    margin-top: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .logo__name {
    font-size: 1.5rem !important;
  }

  .hero__logo {
    padding: 0 1.25rem;
  }

  .hero__title { font-size: 2.8rem; }
  .hero__actions .btn { width: 100%; }

  .gallery .carousel {
    width: 100%;
    height: 380px;
    overflow: visible;
  }

  .gallery__slider-wrap {
    padding: 0 1.6rem;
  }

  .gallery__arrow {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.35rem;
  }

  .gallery__arrow--prev {
    left: 0;
  }

  .gallery__arrow--next {
    right: 0;
  }

  .gallery .carousel .carousel-item {
    width: 330px;
    height: 284px;
  }

  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .team-card__avatar { width: 80px; height: 80px; }

  .section-title { font-size: 2.0rem; }

  /* Decor section */
  .decor-section { min-height: 300px; }
}
