/* === Турфирма — Туры в Турцию — Демо === */
:root {
  --color-sea: #0d9488;
  --color-sand: #f59e0b;
  --color-dark: #1e293b;
  --color-text: #334155;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --font-main: 'Montserrat', 'Segoe UI', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  /* Высота фиксированной шапки — отступ контента под неё (с запасом при переносе меню) */
  --header-height: 120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.lang-link {
  color: var(--color-text);
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.lang-link:hover {
  color: var(--color-sea);
}

.lang-link.is-active {
  color: var(--color-sea);
  background: rgba(13, 148, 136, 0.1);
}

.lang-sep {
  color: #94a3b8;
  font-weight: 400;
  user-select: none;
}

/* Гамбургер — по умолчанию скрыт (показывается только на мобильных) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  border-radius: var(--radius);
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.hamburger:hover {
  background: rgba(13, 148, 136, 0.1);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-sea);
}

.logo span { color: var(--color-sand); }

.nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--color-sea); }

.header-phone {
  font-weight: 700;
  color: var(--color-sea);
  text-decoration: none;
  white-space: nowrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-sea), #0f766e);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}

/* Иконка личного кабинета в шапке */
.header-cabinet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.header-cabinet-link:hover {
  color: var(--color-sea);
  background: rgba(13, 148, 136, 0.08);
}

.header-cabinet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(20, 184, 166, 0.12));
  border-radius: 50%;
  color: var(--color-sea);
}

.header-cabinet-link:hover .header-cabinet-icon {
  background: linear-gradient(135deg, var(--color-sea), #14b8a6);
  color: var(--color-white);
}

.header-cabinet-text {
  font-size: 0.95rem;
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.card-image {
  height: 180px;
  background: linear-gradient(135deg, #99f6e4, #5eead4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
}

.card-body { padding: 1.25rem; }

.card-title {
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.card-price {
  font-weight: 700;
  color: var(--color-sea);
  font-size: 1.1rem;
}

/* Why us */
.why-us {
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.why-item .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-sea), #14b8a6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-white);
}

.why-item h3 {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.why-item p { font-size: 0.95rem; color: var(--color-text); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 4rem;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-sea);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step h3 {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.step p { font-size: 0.95rem; color: var(--color-text); }

/* Contact form */
.contact-section {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 0 1.5rem 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.contact-section .section-title,
.contact-section .section-subtitle { color: inherit; }

.contact-section .section-subtitle { opacity: 0.9; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder { color: rgba(255,255,255,0.7); }

.contact-section textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-section .btn-primary {
  background: var(--color-white);
  color: var(--color-sea);
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer a:hover { color: var(--color-white); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========== Внутренние страницы ========== */
.page-hero {
  padding: calc(var(--header-height) + 2.5rem) 1.5rem 3rem;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: var(--color-white);
  text-align: center;
}

.page-hero-content { max-width: 640px; margin: 0 auto; }

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.page-content { padding-bottom: 2rem; }

.content-block { max-width: 720px; margin: 0 auto; }

.content-block--narrow { max-width: 640px; }

.content-title {
  font-size: 1.75rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.content-block p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.section--alt { background: var(--color-white); box-shadow: var(--shadow); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-sea);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text);
}

.doc-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
  color: var(--color-text);
}

.doc-list li { margin-bottom: 0.5rem; }

.cta-block { text-align: center; }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-outline {
  background: transparent;
  color: var(--color-sea);
  border: 2px solid var(--color-sea);
}

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

.nav a.nav-active { color: var(--color-sea); font-weight: 600; }

/* Контакты */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contacts-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contacts-card--office {
  background-image: url("../images/contacts-card-office-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-dark);
}

.contacts-card--hours {
  background-image: url("../images/contacts-card-hours-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-dark);
}

.contacts-card--phone {
  background-image: url("../images/contacts-card-phone-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-dark);
}

.contacts-card--email {
  background-image: url("../images/contacts-card-email-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-dark);
}

.contacts-card--office::before,
.contacts-card--hours::before,
.contacts-card--phone::before,
.contacts-card--email::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  border-radius: inherit;
  pointer-events: none;
}

.contacts-card--office .contacts-card-icon,
.contacts-card--office h3,
.contacts-card--office p,
.contacts-card--office a,
.contacts-card--hours .contacts-card-icon,
.contacts-card--hours h3,
.contacts-card--hours p,
.contacts-card--phone .contacts-card-icon,
.contacts-card--phone h3,
.contacts-card--phone p,
.contacts-card--phone a,
.contacts-card--email .contacts-card-icon,
.contacts-card--email h3,
.contacts-card--email p,
.contacts-card--email a {
  position: relative;
  z-index: 1;
}

.contacts-card--wide { grid-column: 1 / -1; }

.contacts-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contacts-card h3 {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.contacts-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contacts-card a {
  color: var(--color-sea);
  text-decoration: none;
  font-weight: 500;
}

.contacts-card a:hover { text-decoration: underline; }

.contacts-note {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.contacts-messengers { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; }

.contacts-messenger {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-sea);
  color: var(--color-white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contacts-messenger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

.map-address {
  margin-bottom: 1rem !important;
  font-weight: 500;
  color: var(--color-dark);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  background: #e2e8f0;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* ========== Мобильное меню (гамбургер) ========== */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }

  .header-inner {
    padding: 0.5rem 1rem;
    flex-wrap: nowrap;
  }

  .header-left .nav {
    display: none;
  }

  .header-right .lang-switcher,
  .header-right .header-phone,
  .header-right .btn {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    font-size: 1.25rem;
  }
}

/* Панель мобильного меню */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  background: var(--color-white);
  padding: calc(var(--header-height, 56px) + 1rem) 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease-out, visibility 0.25s;
  visibility: hidden;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-dark);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--color-sea);
}

.mobile-menu-lang {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.mobile-menu-lang .lang-link {
  padding: 0.35rem 0.5rem;
}

.mobile-menu-phone {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-sea);
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.mobile-menu-btn {
  display: block;
  text-align: center;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu-cabinet {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-sea);
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.5rem;
}

.mobile-menu-cabinet:hover {
  color: #0f766e;
}

/* На десктопе мобильное меню не показываем */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== Личный кабинет ========== */
.cabinet-page {
  min-height: 60vh;
  padding-bottom: 3rem;
}

.cabinet-hero {
  padding: calc(var(--header-height) + 2.5rem) 1.5rem 2.5rem;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cabinet-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cabinet-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cabinet-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cabinet-hero p {
  font-size: 1.05rem;
  opacity: 0.95;
}

.cabinet-hero-tours .cabinet-hero-inner {
  max-width: 640px;
}

.btn-logout {
  margin-top: 1.25rem;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
  background: transparent;
}

.btn-logout:hover {
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
  border-color: var(--color-white);
}

.cabinet-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Форма авторизации — премиальный блок */
.auth-box {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 2rem 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.auth-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sea), var(--color-sand));
  border-radius: 16px 16px 0 0;
}

.auth-test-hint {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: #f1f5f9;
  border-radius: 8px;
  border-left: 4px solid var(--color-sea);
}

.auth-test-hint strong {
  color: var(--color-dark);
}

.auth-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
}

.auth-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.auth-tab:hover {
  color: var(--color-dark);
}

.auth-tab.is-active {
  background: var(--color-white);
  color: var(--color-sea);
  box-shadow: var(--shadow);
}

.auth-form {
  margin-bottom: 1rem;
}

.auth-label {
  display: block;
  margin-bottom: 1.1rem;
}

.auth-label-text {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.auth-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: var(--color-sea);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.auth-switch {
  font-size: 0.95rem;
  color: var(--color-sea);
  margin-top: 1rem;
  cursor: pointer;
  font-weight: 500;
}

.auth-switch:hover {
  text-decoration: underline;
}

/* Блок «Мои туры» */
.cabinet-tours {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.cabinet-tour-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.cabinet-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.cabinet-tour-image {
  height: 160px;
  background: linear-gradient(135deg, #99f6e4, #5eead4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.cabinet-tour-body {
  padding: 1.25rem;
  flex: 1;
}

.cabinet-tour-title {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cabinet-tour-desc {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.cabinet-tour-price {
  font-weight: 700;
  color: var(--color-sea);
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .header-cabinet-text {
    display: none;
  }

  .header-cabinet-link {
    padding: 0.5rem;
  }

  .auth-box {
    padding: 1.5rem 1.25rem;
  }
}

/* Responsive (десктоп — без изменений для шапки) */
@media (max-width: 768px) {
  .header-inner { flex-direction: row; align-items: center; }
  .header-left { flex-direction: row; align-items: center; }
  .header-right { margin-left: auto; }
}
