@import url("buttons.css");

/* ===== Design tokens ===== */
:root {
  --color-bg: #f4f9fc;
  --color-bg-alt: #ffffff;
  --color-white: #ffffff;
  --color-navy: #0f3552;
  --color-navy-light: #1a5a8a;
  --color-green: #0ea5e9;
  --color-green-light: #38bdf8;
  --color-accent: #0ea5e9;
  --color-accent-light: #38bdf8;
  --color-accent-deep: #0369a1;
  --color-accent-mid: #0c8ec9;
  --color-wood: #a66a43;
  --color-wood-light: #c4895f;
  --color-text: #0c1e30;
  --color-text-muted: #5a6d7d;
  --color-gold: #c9a227;

  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 28px rgba(15, 53, 82, 0.06);
  --shadow-md: 0 8px 32px rgba(15, 53, 82, 0.1);
  --shadow-lg: 0 16px 48px rgba(15, 53, 82, 0.12);
  --header-h: 80px;
  --tabbar-h: 64px;
  --container: min(1140px, 100% - 2rem);
  --transition: 0.25s ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --btn-h: 48px;
  --btn-h-lg: 50px;
  --btn-icon: 34px;
  --btn-gap: 0.5rem;
  --btn-pad-x: 1.375rem;
  --btn-pad-icon: 0.35rem 1.25rem 0.35rem 0.35rem;
  --btn-radius: 999px;
  --btn-primary-a: #0e7fb8;
  --btn-primary-b: #2aabe8;
  --btn-primary-c: #5ec4f7;
  --btn-glass-edge: rgba(255, 255, 255, 0.5);
  --btn-shadow-water: 0 4px 14px rgba(3, 105, 161, 0.17), 0 1px 3px rgba(3, 105, 161, 0.08);
  --btn-shadow-hover: 0 8px 22px rgba(3, 105, 161, 0.2), 0 2px 6px rgba(56, 189, 248, 0.1);
  --btn-shadow-soft: 0 1px 3px rgba(15, 53, 82, 0.05), 0 4px 12px rgba(15, 53, 82, 0.04);
}

/* ===== Reset & base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-green-light);
}

h1,
h2,
h3,
h4 {
  color: var(--color-navy);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

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

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section__header p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 0;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 252, 255, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.logo__img {
  width: auto;
  height: 44px;
  max-width: min(150px, 40vw);
  object-fit: contain;
  display: block;
}

@media (min-width: 769px) {
  .logo__img {
    width: 200px;
    height: auto;
    max-width: 200px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-green);
  background: rgba(14, 165, 233, 0.08);
}

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

.header__phone {
  display: none;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--color-green);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero--home {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 162, 39, 0.18), transparent 26rem),
    radial-gradient(circle at 86% 15%, rgba(14, 165, 233, 0.18), transparent 28rem),
    linear-gradient(135deg, #f8f3eb 0%, #edf3f1 48%, #efe0d2 100%);
  color: var(--color-text);
}

.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 42, 67, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 67, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
  pointer-events: none;
}

.hero__decor {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.45;
  pointer-events: none;
}

.hero__decor--one {
  width: 18rem;
  height: 18rem;
  left: -8rem;
  bottom: 6rem;
  background: rgba(166, 106, 67, 0.22);
}

.hero__decor--two {
  width: 24rem;
  height: 24rem;
  right: -10rem;
  top: 4rem;
  background: rgba(14, 165, 233, 0.18);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero__content {
  max-width: 660px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0.9rem;
  color: var(--color-green);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 42, 67, 0.06);
}

.hero__eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-gold);
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  color: var(--color-navy);
  font-size: clamp(2.55rem, 6.2vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero__lead {
  max-width: 590px;
  color: rgba(31, 41, 51, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.btn--hero {
  padding-inline: 2rem;
  box-shadow: var(--btn-shadow-water);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 620px;
}

.hero__trust div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(16, 42, 67, 0.08);
  backdrop-filter: blur(12px);
}

.hero__trust strong {
  display: block;
  color: var(--color-navy);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
}

.hero__trust span {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero__visual {
  position: relative;
  min-height: clamp(460px, 58vw, 660px);
}

.hero__photo {
  position: absolute;
  overflow: hidden;
  background: var(--color-white);
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(16, 42, 67, 0.22);
}

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

.hero__photo--main {
  inset: 5% 9% 13% 0;
  z-index: 2;
}

.hero__photo--side {
  top: 0;
  right: 0;
  z-index: 3;
  width: 38%;
  height: 48%;
  border-radius: 28px;
}

.hero__photo--small {
  right: 7%;
  bottom: 0;
  z-index: 4;
  width: 42%;
  height: 29%;
  border-radius: 24px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 7%;
  bottom: 3%;
  height: 16%;
  background: rgba(14, 165, 233, 0.2);
  border-radius: 999px;
  filter: blur(34px);
}

.hero__glass-card {
  position: absolute;
  left: 5%;
  bottom: 7%;
  z-index: 5;
  min-width: 190px;
  padding: 1rem 1.15rem;
  color: var(--color-white);
  background: rgba(16, 42, 67, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 42, 67, 0.28);
  backdrop-filter: blur(18px);
}

.hero__glass-card span,
.hero__glass-card strong {
  display: block;
}

.hero__glass-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.hero__glass-card strong {
  margin-top: 0.15rem;
  font-size: 1.25rem;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 55%, #0c8ec9 100%);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ===== Features grid ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 42, 67, 0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-green);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 0;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16, 42, 67, 0.06);
  transition: box-shadow var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card__image img {
  transform: scale(1.03);
}

.card__body {
  padding: 1.5rem;
}

.card__tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-wood);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.card__body h3 {
  margin-bottom: 0.5rem;
}

.card__body p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.card__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.gallery__item--large {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery__item--small:nth-child(2) {
  grid-column: span 5;
}

.gallery__item--small:nth-child(3) {
  grid-column: span 5;
}

.gallery__item--small:nth-child(4) {
  grid-column: span 5;
}

/* ===== Packages ===== */
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.package-card {
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.package-card--featured {
  border-color: var(--color-green);
  background: linear-gradient(180deg, #fff 0%, rgba(14, 165, 233, 0.04) 100%);
}

.package-card__days {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.package-card h3 {
  margin: 0.5rem 0 1rem;
}

.package-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.package-card__includes {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.package-card__includes li {
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
  font-size: 0.9375rem;
}

.package-card__includes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* ===== About split ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split__content ul {
  margin-bottom: 1.5rem;
}

.split__content li {
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

/* ===== Procedure list ===== */
.procedure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.procedure-item {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-green);
  box-shadow: var(--shadow-sm);
}

.procedure-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.procedure-item p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

.notice {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-size: 1rem;
}

.notice strong {
  color: var(--color-green);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 1.25rem;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  margin: 0;
  font-size: 1.0625rem;
}

.contact-item a {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-navy);
}

.contact-item a:hover {
  color: var(--color-green);
}

.contact-form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font);
  font-size: 1.0625rem;
  border: 2px solid var(--color-bg-alt);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.map-wrap {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

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

.footer .logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer .logo__img {
  height: 40px;
  max-width: min(140px, 50vw);
}

@media (min-width: 769px) {
  .footer .logo__img {
    width: 200px;
    height: auto;
    max-width: 200px;
  }
}

.footer p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 0;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

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

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.9375rem;
  opacity: 0.7;
}

/* ===== Mobile tab bar ===== */
.tabbar {
  display: none;
}

.tabbar__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-width: 0;
  min-height: var(--tabbar-h);
  padding: 0.4rem 0.2rem 0.55rem;
  color: var(--color-text-muted);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.tabbar__item:hover,
.tabbar__item:focus-visible {
  color: var(--color-accent-deep);
}

.tabbar__item:active:not(.tabbar__item--center) {
  transform: scale(0.96);
}

.tabbar__item--active {
  color: var(--color-accent-deep);
}

.tabbar__item--active .tabbar__icon {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.95) 0%, rgba(186, 230, 253, 0.55) 100%);
  color: var(--color-accent-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.tabbar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  color: var(--color-navy-light);
  transition:
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.tabbar__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.tabbar__label {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: -0.01em;
}

/* Центральная кнопка «Связаться» */
.tabbar__item--center {
  flex: 0 0 auto;
  min-width: 4.5rem;
  margin-top: -1.35rem;
  padding-bottom: 0.3rem;
  color: var(--color-accent-deep);
}

.tabbar__item--center .tabbar__icon--center {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(
    168deg,
    var(--btn-primary-a) 0%,
    var(--btn-primary-b) 48%,
    var(--btn-primary-c) 100%
  );
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 10px 28px rgba(3, 105, 161, 0.28),
    0 2px 6px rgba(14, 165, 233, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.tabbar__item--center .tabbar__icon--center svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.75;
}

.tabbar__item--center .tabbar__label {
  margin-top: 0.1rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-accent-deep);
}

.tabbar__item--center:hover .tabbar__icon--center,
.tabbar__item--center:focus-visible .tabbar__icon--center {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 14px 32px rgba(3, 105, 161, 0.32),
    0 3px 8px rgba(14, 165, 233, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tabbar__item--center:active .tabbar__icon--center {
  transform: translateY(0) scale(0.98);
}

.tabbar__item--center.tabbar__item--active .tabbar__label {
  color: var(--color-accent-deep);
}

.tabbar__item--menu {
  border: none;
  background: transparent;
  font-family: var(--font);
  cursor: pointer;
}

.tabbar__icon--menu svg,
.tabbar__icon--burger svg {
  width: 22px;
  height: 22px;
}

.tabbar__item--menu.tabbar__item--active .tabbar__icon {
  background: rgba(14, 165, 233, 0.14);
  color: var(--color-accent-deep);
}

/* ===== Mobile slide-up menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu--open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 38, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu--open .mobile-menu__backdrop {
  opacity: 1;
}

body.has-tabbar .mobile-menu__panel {
  bottom: 0;
  max-height: calc(100dvh - 0.5rem);
  padding-bottom: calc(0.65rem + var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.has-tabbar .mobile-menu__handle {
  margin-bottom: 0.65rem;
}

body.has-tabbar .mobile-menu__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
}

body.has-tabbar .mobile-menu__nav {
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

body.has-tabbar .mobile-menu__link {
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
}

body.has-tabbar .mobile-menu__form {
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

body.has-tabbar .mobile-menu__form input {
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
}

body.has-tabbar .mobile-menu__submit {
  min-height: 46px;
}

body.has-tabbar .mobile-menu__address {
  margin-bottom: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

body.has-tabbar .mobile-menu__slogan {
  display: none;
}

.mobile-menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(88vh, 640px);
  padding: 0.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f6 100%);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 60px rgba(16, 42, 67, 0.2);
  transform: translateY(105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-menu--open .mobile-menu__panel {
  transform: translateY(0);
}

.mobile-menu__handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 1rem;
  background: rgba(16, 42, 67, 0.15);
  border-radius: 999px;
}

.mobile-menu__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

.mobile-menu__title {
  display: block;
  color: var(--color-navy);
  font-size: 1.125rem;
  line-height: 1.2;
}

.mobile-menu__phone {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--color-green);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(16, 42, 67, 0.06);
  color: var(--color-navy);
  cursor: pointer;
}

.mobile-menu__close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.mobile-menu__link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.1);
  transition: background var(--transition), border-color var(--transition);
}

.mobile-menu__link:hover {
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-navy);
}

.mobile-menu__link--active {
  color: #fff;
  background: linear-gradient(160deg, var(--color-green) 0%, var(--color-accent-deep) 100%);
  border-color: transparent;
}

.mobile-menu__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.mobile-menu__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.mobile-menu__form input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font);
  font-size: 1.0625rem;
  border: 2px solid rgba(16, 42, 67, 0.1);
  border-radius: 14px;
  background: var(--color-white);
}

.mobile-menu__form input:focus {
  outline: none;
  border-color: var(--color-green);
}

.mobile-menu__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 0.35rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 38%),
    linear-gradient(168deg, var(--btn-primary-a) 0%, var(--btn-primary-b) 42%, var(--btn-primary-c) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 22px rgba(13, 31, 51, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mobile-menu__submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.mobile-menu__submit:active {
  transform: scale(0.985);
}

.mobile-menu__address {
  margin: 0 0 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--color-navy);
  font-size: 0.9375rem;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.08);
  border-radius: 14px;
}

.mobile-menu__slogan {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

body.menu-open {
  overflow: hidden;
}

.header__call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-green);
  text-decoration: none;
  flex-shrink: 0;
}

.header__call svg {
  width: 22px;
  height: 22px;
}

.header__call:hover {
  background: rgba(14, 165, 233, 0.18);
  color: var(--color-green-light);
}

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: #25d366;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: var(--color-white);
}

[data-wa-icon] {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  line-height: 0;
  flex-shrink: 0;
}

[data-wa-icon] .icon-wa,
.icon-wa {
  display: block;
  width: 100%;
  height: 100%;
}

.whatsapp-float [data-wa-icon] {
  width: 24px;
  height: 24px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-green);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero--home {
    min-height: auto;
    padding: 2.5rem 0 3.25rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero__visual {
    min-height: 520px;
    order: -1;
  }

  .hero__photo--main {
    inset: 6% 0 13% 0;
  }

  .hero__photo--side {
    width: 34%;
    height: 43%;
  }

  .split,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--large,
  .gallery__item--small:nth-child(n) {
    grid-column: span 12;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  body.has-tabbar {
    padding-bottom: calc(var(--tabbar-h) + 1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .tabbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(14, 165, 233, 0.14);
    box-shadow: 0 -8px 32px rgba(15, 53, 82, 0.1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .menu-toggle,
  .nav {
    display: none !important;
  }

  .header__phone,
  .header__actions .btn {
    display: none;
  }

  .header__call {
    display: flex;
  }

  .footer {
    margin-bottom: 0;
  }

  .footer__grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__grid > div {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .footer__grid > div:first-child {
    align-items: center;
    text-align: center;
  }

  .footer__grid > div:first-child .logo {
    justify-content: center;
    width: 100%;
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .whatsapp-float {
    display: none;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .hero--home {
    padding: 1.35rem 0 2rem;
    min-height: auto;
  }

  .hero__grid {
    gap: 1.25rem;
  }

  .hero__visual {
    min-height: 330px;
    margin-inline: -0.4rem;
  }

  .hero__photo {
    border-width: 6px;
    border-radius: 22px;
  }

  .hero__photo--main {
    inset: 0 4% 9% 0;
  }

  .hero__photo--side {
    top: 4%;
    right: 0;
    width: 39%;
    height: 42%;
    border-radius: 20px;
  }

  .hero__photo--small {
    right: 4%;
    bottom: 0;
    width: 46%;
    height: 28%;
    border-radius: 18px;
  }

  .hero__glass-card {
    left: 5%;
    bottom: 5%;
    min-width: 142px;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
  }

  .hero__glass-card span {
    font-size: 0.68rem;
  }

  .hero__glass-card strong {
    font-size: 1rem;
  }

  .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .hero__lead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
  }

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

  .hero__actions .btn {
    padding: 0.8rem 0.7rem;
    font-size: 0.92rem;
  }

  .hero__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .hero__trust div {
    padding: 0.75rem 0.55rem;
    border-radius: 14px;
  }

  .hero__trust strong {
    font-size: 1.2rem;
  }

  .hero__trust span {
    font-size: 0.68rem;
  }
}

@media (min-width: 769px) {
  .header__phone {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
