/* ============================================================
   TIMI TRAVEL — main stylesheet (mobile-first, light theme)
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F9FC;
  --orange: #FF7A00;
  --orange-soft: #FFB020;
  --blue: #2D9CDB;
  --blue-soft: #4FD1FF;
  --ink: #0E2A5E;
  --ink-soft: #4A5B7D;
  --card-shadow: 0 8px 30px rgba(14, 42, 94, 0.08);
  --card-shadow-hover: 0 16px 40px rgba(14, 42, 94, 0.15);
  --radius: 18px;
  --font-head: 'Roboto Condensed', sans-serif;
  --font-body: 'Roboto Condensed', sans-serif;
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; }

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

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-soft) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(255, 122, 0, 0.45); }

.btn-ghost { background: #fff; color: var(--ink); border-color: #E1E8F2; }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue); box-shadow: 0 10px 24px rgba(45, 156, 219, 0.18); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
#site-header.scrolled { box-shadow: 0 4px 20px rgba(14, 42, 94, 0.08); border-color: #EDF1F7; }

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

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; position: relative; z-index: 2; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  color: #fff; font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(255, 122, 0, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; letter-spacing: 0.03em; color: var(--ink); }
.brand-text small { font-size: 0.68rem; color: var(--ink-soft); letter-spacing: 0.02em; }

#main-nav { display: none; gap: 1.6rem; }
#main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem;
  position: relative; padding: 0.25rem 0; transition: color 0.25s;
}
#main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 3px; width: 0;
  border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--blue));
  transition: width 0.3s ease;
}
#main-nav a:hover, #main-nav a.active { color: var(--ink); }
#main-nav a:hover::after, #main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

/* ---------- Language switcher (Google Translate) ---------- */
.gt-hidden { display: none !important; }
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd { display: none !important; }
body { top: 0 !important; position: static !important; }

.lang-switch-new { position: relative; }

.lang-current-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--bg-alt); border: 1px solid #E1E8F2; border-radius: 999px;
  padding: 0.4rem 0.7rem; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.lang-current-btn:hover { border-color: var(--blue); }
.lang-current-btn img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; display: block; }
.lang-chevron { color: var(--ink-soft); transition: transform 0.2s; }
.lang-current-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 170px;
  background: #fff; border: 1px solid #E1E8F2; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(14, 42, 94, 0.18);
  padding: 6px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
.lang-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.lang-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.lang-opt:hover { background: var(--bg-alt); color: var(--ink); }
.lang-opt img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

#menu-toggle {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg-alt); border: 1px solid #E1E8F2;
  color: var(--ink); font-size: 1.05rem; cursor: pointer;
}
.header-cta { display: none; }

#mobile-nav {
  display: flex; flex-direction: column;
  background: #fff; border-bottom: 1px solid #EDF1F7;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
#mobile-nav.open { max-height: 380px; box-shadow: 0 16px 30px rgba(14, 42, 94, 0.1); }
#mobile-nav a {
  padding: 0.9rem 5%; text-decoration: none; color: var(--ink); font-weight: 600;
  border-top: 1px solid #F2F5FA;
}
#mobile-nav a:hover { background: var(--bg-alt); color: var(--orange); }

/* ---------- Hero ---------- */
#hero-section {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FE 100%);
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; }
.shape-1 { width: 340px; height: 340px; background: var(--blue-soft); top: -120px; right: -80px; }
.shape-2 { width: 260px; height: 260px; background: var(--orange-soft); bottom: 0; left: -110px; }
.shape-3 { width: 180px; height: 180px; background: var(--blue); top: 45%; left: 42%; opacity: 0.15; }
.route-line { position: absolute; top: 8%; left: 50%; width: 55%; max-width: 640px; }

.hero-inner {
  position: relative;
  display: grid; gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid #E1E8F2; border-radius: 999px;
  padding: 0.45rem 1rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: 0 4px 14px rgba(14, 42, 94, 0.06);
  margin-bottom: 1.2rem;
}
.hero-badge i { color: var(--orange); }

.hero-services-row {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  margin-bottom: 1.3rem;
}
.hero-service-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid #E1E8F2; border-radius: 999px;
  padding: 0.4rem 0.9rem; font-size: 0.78rem; font-weight: 700; color: var(--ink-soft);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(14, 42, 94, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.hero-service-pill i { color: var(--orange); font-size: 0.85rem; }
.hero-service-pill:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.18);
}

#hero-section h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  font-weight: 900;
  margin-bottom: 1.1rem;
}
#hero-section h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub { font-size: 1.05rem; max-width: 34rem; margin-bottom: 1.8rem; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem 2.8rem; }
.stat { display: flex; flex-direction: column; }
.stat-num, .stat-plus {
  font-family: var(--font-head); font-weight: 900; font-size: 1.9rem; color: var(--ink);
  display: inline;
}
.stat-plus { color: var(--orange); }
.stat > .stat-num { display: inline; }
.stat-label { font-size: 0.85rem; color: var(--ink-soft); }
.stat { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 0.5rem; }
.stat .stat-label { flex-basis: 100%; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 42, 94, 0.22);
  transform: rotate(-1.5deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.hero-float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.7rem;
  background: #fff; border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: var(--card-shadow-hover);
  animation: floaty 4s ease-in-out infinite;
}
.hero-float-card i { font-size: 1.3rem; color: var(--orange); }
.hero-float-card strong { display: block; font-family: var(--font-head); font-size: 0.85rem; color: var(--ink); }
.hero-float-card span { font-size: 0.75rem; color: var(--ink-soft); }
.float-a { top: -18px; left: -10px; }
.float-b { bottom: -18px; right: -6px; animation-delay: 2s; }
.float-b i { color: var(--orange-soft); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; }
.section-wave svg { width: 100%; height: 60px; display: block; }

.section-tag {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 122, 0, 0.1);
  padding: 0.35rem 0.9rem; border-radius: 999px;
  margin-bottom: 0.9rem;
}

/* ---------- Tours page (tours.html) ---------- */
.tours-page-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FE 100%);
}
.tours-page-hero .section-tag { display: block; width: fit-content; }
.tours-page-hero h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); font-weight: 900; margin: 0.6rem 0 0.9rem; }
.tours-page-hero p { max-width: 40rem; font-size: 1.05rem; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.9rem;
  margin-bottom: 1.4rem; transition: color 0.2s;
}
.back-link:hover { color: var(--orange); }

.tours-cta { text-align: center; max-width: 34rem; margin: 0 auto; }
.tours-cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 0.7rem; }
.tours-cta p { margin-bottom: 1.6rem; }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; margin-bottom: 0.7rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.6rem; align-items: center; }
.about-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 800; margin-bottom: 1rem; }
.about-copy p { margin-bottom: 1rem; }
.about-values { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.about-values li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; color: var(--ink); }
.about-values i { color: var(--blue); font-size: 1.1rem; }

.about-photo { position: relative; border-radius: var(--radius); overflow: visible; }
.about-photo img {
  border-radius: 24px; width: 100%; aspect-ratio: 5/4; object-fit: cover;
  box-shadow: var(--card-shadow-hover);
}
.about-photo-badge {
  position: absolute; bottom: -16px; left: 20px;
  background: #fff; border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 700; font-size: 0.85rem; color: var(--ink);
  box-shadow: var(--card-shadow-hover);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.about-photo-badge i { color: var(--orange); }

/* ---------- Tours ---------- */
.tour-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 2.4rem;
}
.tour-tab {
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  padding: 0.65rem 1.6rem; border-radius: 999px;
  border: 2px solid #E1E8F2; background: #fff; color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s ease;
}
.tour-tab:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.tour-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(45, 156, 219, 0.35);
}

.tours-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.tours-more { text-align: center; margin-top: 2.6rem; }

/* ---------- Modals ---------- */
body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 1rem;
  background: rgba(14, 42, 94, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.22s ease;
}
.modal-overlay.open { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(14, 42, 94, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(14, 42, 94, 0.06); color: var(--ink);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(14, 42, 94, 0.14); }

.modal-img { width: 100%; height: 220px; overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.modal-body { padding: 1.6rem 1.8rem 2rem; }
.modal-body h3 { font-size: 1.4rem; margin: 0.6rem 0 0.7rem; }
.modal-body p { font-size: 0.98rem; margin-bottom: 1.1rem; }
.modal-body .tour-meta { margin-bottom: 1.4rem; }

.modal-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.modal-actions .btn { flex: 1 1 auto; justify-content: center; }

.modal-form { padding: 1.8rem 1.8rem 2rem; }
.modal-form h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.modal-form > p { color: var(--ink-soft); margin-bottom: 1.3rem; font-size: 0.95rem; }
.modal-form label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink);
  margin-bottom: 1rem;
}
.modal-form input, .modal-form textarea {
  width: 100%; margin-top: 0.4rem;
  padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid #E1E8F2;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  resize: vertical;
}
.modal-form input:focus, .modal-form textarea:focus { outline: none; border-color: var(--blue); }
.modal-note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); }
.modal-note a { color: var(--blue); text-decoration: none; }

.modal-confirm { width: min(360px, 100%); padding: 2rem 1.6rem 1.8rem; text-align: center; }
.modal-confirm-icon {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1rem;
  background: rgba(255, 122, 0, 0.1); color: var(--orange); font-size: 1.4rem;
}
.modal-confirm p { font-size: 1.02rem; color: var(--ink); font-weight: 600; margin-bottom: 1.5rem; }
.modal-confirm .modal-actions { gap: 0.7rem; }

.tour-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }

.tour-img { position: relative; overflow: hidden; }
.tour-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s ease; }
.tour-card:hover .tour-img img { transform: scale(1.07); }

.tour-region-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.badge-balkan { background: linear-gradient(135deg, var(--blue), var(--blue-soft)); }
.badge-europe { background: linear-gradient(135deg, #7B61FF, #4FD1FF); }

.tour-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tour-body h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 0.5rem; }
.tour-body p { font-size: 0.9rem; margin-bottom: 1rem; flex: 1; }

.tour-meta {
  display: flex; gap: 1.2rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.tour-meta i { color: var(--blue); margin-right: 0.3rem; }

.tour-actions { display: flex; gap: 0.6rem; }
.tour-actions .btn { flex: 1; justify-content: center; }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.benefit-card {
  background: #fff; border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
.benefit-icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  border-radius: 20px; font-size: 1.5rem; color: #fff;
}
.icon-orange { background: linear-gradient(135deg, var(--orange), var(--orange-soft)); box-shadow: 0 10px 22px rgba(255, 122, 0, 0.35); }
.icon-blue { background: linear-gradient(135deg, var(--blue), var(--blue-soft)); box-shadow: 0 10px 22px rgba(45, 156, 219, 0.35); }
.benefit-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.55rem; }
.benefit-card p { font-size: 0.9rem; }

/* ---------- Services (Резервации) ---------- */
.services-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
.service-icon {
  width: 60px; height: 60px; margin-bottom: 1rem;
  display: grid; place-items: center;
  border-radius: 18px; font-size: 1.4rem; color: #fff;
}
.service-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.86rem; margin-bottom: 1.3rem; flex-grow: 1; }
.service-card .btn { width: 100%; justify-content: center; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FE 100%); }

.contact-grid { display: grid; gap: 2rem; }

.contact-form {
  background: #fff; border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--card-shadow);
}
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 0.4rem; }
.form-field input, .form-field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: var(--bg-alt);
  border: 2px solid #E1E8F2; border-radius: 12px;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45, 156, 219, 0.15);
  background: #fff;
}
#form-status { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 600; min-height: 1.4em; }
#form-status.ok { color: #1E9E58; }
#form-status.err { color: #E0453A; }

.contact-list { list-style: none; display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #fff; color: var(--orange); font-size: 1.1rem;
  box-shadow: var(--card-shadow);
}
.contact-list strong { display: block; font-family: var(--font-head); font-size: 0.85rem; color: var(--ink); }
.contact-list a, .contact-list span { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.contact-list a:hover { color: var(--blue); }

.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 240px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
#site-footer {
  background: var(--ink);
  color: #B9C6E2;
  padding: 3.6rem 0 0;
}
.footer-grid { display: grid; gap: 2.2rem; padding-bottom: 2.6rem; }

.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, 0.65); }
.brand-light .brand-logo {
  background: #fff; border-radius: 10px; padding: 4px 8px;
}
.footer-brand p { margin: 1rem 0 1.3rem; font-size: 0.92rem; max-width: 24rem; }

.social-row { display: flex; gap: 0.7rem; }
.social-row a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff; font-size: 1rem; text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.social-row a:hover { background: var(--orange); transform: translateY(-3px); }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 1rem; margin-bottom: 0.4rem; }
.footer-links a { color: #B9C6E2; text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-soft); }
.footer-contact p { font-size: 0.92rem; display: flex; align-items: center; gap: 0.6rem; }
.footer-contact i { color: var(--orange-soft); width: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0; text-align: center; font-size: 0.85rem;
}

/* ---------- Back to top ---------- */
#back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  color: #fff; font-size: 1rem; cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.3s ease;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-4px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float-card { animation: none; }
}

/* ---------- Mobile bottom nav ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  display: flex; align-items: stretch;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid #E1E8F2;
  box-shadow: 0 -8px 24px rgba(14, 42, 94, 0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; padding: 0.6rem 0.2rem 0.5rem;
  border: none; background: none; cursor: pointer;
  text-decoration: none; color: var(--ink-soft);
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
}
.bottom-nav-item i { font-size: 1.15rem; color: var(--orange); }
.bottom-nav-item:active { color: var(--ink); }

.bottom-nav-social-wrap { position: relative; flex: 1; display: flex; }
.bottom-nav-social-wrap .bottom-nav-item { width: 100%; }

.bottom-nav-social-menu {
  position: absolute; bottom: calc(100% + 12px); right: 0.4rem;
  display: flex; gap: 0.5rem;
  background: #fff; border: 1px solid #E1E8F2; border-radius: 999px;
  padding: 0.5rem 0.7rem;
  box-shadow: 0 12px 30px rgba(14, 42, 94, 0.18);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.bottom-nav-social-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.bottom-nav-social-menu a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); color: var(--ink); font-size: 0.95rem; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bottom-nav-social-menu a:hover { background: var(--orange); color: #fff; }

/* ============ Responsive ============ */
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .g-wide { grid-column: span 2; }
}

@media (max-width: 899px) {
  .footer-bottom { padding-bottom: calc(1rem + 64px + env(safe-area-inset-bottom)); }
  #back-to-top { bottom: calc(20px + 64px + env(safe-area-inset-bottom)); }
}

@media (min-width: 900px) {
  #main-nav { display: flex; }
  #menu-toggle, #mobile-nav { display: none; }
  .header-cta { display: inline-flex; }
  .brand-logo { height: 68px; }
  .bottom-nav { display: none; }

  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .about-grid { grid-template-columns: 1.05fr 0.95fr; }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; }
}
