/* ========================================================
   SAJŪTU TELPA — STYLES
   ======================================================== */

:root {
  /* Color tokens */
  --bg: #FFFEFB;
  --bg-alt: #EFE7DB;
  --bg-dark: #2A1E15;
  --surface: #FFFFFF;
  --surface-soft: #FBF7F1;

  --text: #2A1E15;
  --text-soft: #6B5B4F;
  --text-mute: #9A887A;

  --primary: #8D6959;
  --primary-hover: #9A6248;
  --primary-soft: #D4A488;
  --accent: #D88C68;
  --accent-soft: #F0CBB4;

  --border: #E5DDD3;
  --border-soft: #EFE7DB;

  --sage: #8FA886;

  --shadow-sm: 0 2px 6px rgba(60, 36, 20, 0.05);
  --shadow-md: 0 8px 24px rgba(60, 36, 20, 0.08);
  --shadow-lg: 0 20px 50px rgba(60, 36, 20, 0.12);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --container: 1290px;
  --header-h: 84px;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================================
   RESET & BASE
   ======================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 em, h2 em, h3 em {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

p { margin: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--accent-soft); }
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(216, 140, 104, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(216, 140, 104, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(216, 140, 104, 0.05); }
}

/* ========================================================
   BUTTONS
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(141, 105, 89, 0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 24px rgba(141, 105, 89, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: none;
  /* Ring instead of border: even curves on iOS; overflow visible avoids .btn clip */
  box-shadow: 0 0 0 1.5px var(--primary);
  overflow: visible;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 1.5px var(--primary);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ========================================================
   HEADER
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2001;
  background: rgba(255, 254, 251, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  width: 50px;
  height: auto;
  object-fit: contain;
  transition: width 0.35s var(--ease), padding 0.35s var(--ease), transform 0.35s var(--ease);
}
.site-header .logo {
  width: 230px;
  flex: 0 0 230px;
  padding-top: 35px;
}
.site-header .logo img {
  width: 230px;
  height: auto;
  transform-origin: left center;
}
.site-header.scrolled .logo {
  padding-top: 5px;
}
.site-header.scrolled .logo img {
  transform: scale(0.7391);
}
.logo-light img {
  width: 88px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.primary-nav a, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.primary-nav a:hover, .nav-trigger:hover {
  color: var(--primary);
  background: var(--surface-soft);
}
.nav-trigger svg { transition: transform 0.3s var(--ease); }
.has-dropdown:hover .nav-trigger svg { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 320px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.dropdown a:hover { background: var(--surface-soft); }
.dropdown strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; font-weight: 600; }
.dropdown span { display: block; font-size: 13px; color: var(--text-soft); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 999px;
  background: #8d6959;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(141, 105, 89, 0.28);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.header-call-icon {
  flex-shrink: 0;
  display: block;
}

.header-call:hover {
  background: #7f5f50;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  padding: 32px 24px;
  z-index: 2000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu[hidden] { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.mobile-menu a {
  display: block;
  padding: 16px 20px;
  font-size: 18px;
  font-family: 'IBM Plex Serif', serif;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-cta .btn {
  justify-content: space-between;
  width: 100%;
}
.mobile-cta .btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.mobile-cta .btn .mobile-cta-text {
  text-align: right;
  font-family: inherit;
}
.mobile-cta .btn:hover svg {
  transform: none;
}

/* ========================================================
   HERO
   ======================================================== */
.hero {
  position: relative;
  padding: 44px 0 92px;
  overflow: hidden;
}
.hero-panel {
  background-color: #f4f3f0;
  background-image: url("../images/image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #ece7df;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 36px 72px 54px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.3vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.hero-title em {
  display: inline-block;
  position: relative;
  color: #d66f41;
}

.hero-sub {
  font-size: 19px;
  color: #6e665f;
  margin-bottom: 30px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 54px;
  margin-top: 60px;
}

.hero-main-cta {
  background: #8b6552;
  box-shadow: 0 12px 24px rgba(139, 101, 82, 0.26);
}
.hero-main-cta:hover {
  background: #775443;
  box-shadow: 0 14px 28px rgba(139, 101, 82, 0.34);
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(42, 30, 21, 0.06);
  max-width: 470px;
  border: 1px solid #eee7dd;
}

.hero-trust-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-avatars {
  display: inline-flex;
  align-items: center;
  margin-top: 1px;
}
.hero-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  margin-left: -8px;
  box-shadow: 0 3px 10px rgba(42, 30, 21, 0.12);
}
.hero-avatar:first-child { margin-left: 0; }
.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #d86f43;
}
.stars svg { width: 15px; height: 15px; }
.trust-text {
  font-size: 13px;
  color: #6f645b;
  line-height: 1.55;
  max-width: 320px;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 540px;
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
}

.hero-shape {
  display: none;
}
.hero-shape-1 {
  width: 420px;
  height: 420px;
  top: -130px;
  right: -85px;
}
.hero-shape-2 {
  width: 460px;
  height: 460px;
  bottom: -190px;
  left: -90px;
}

.hero-image {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease);
}
.hero-image:hover img { transform: scale(1.03); }

/* ========================================================
   MARQUEE
   ======================================================== */
.marquee-section {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 24px 0;
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollX var(--marquee-duration, 40s) linear infinite;
  will-change: transform;
}
.marquee-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 40px;
  padding-right: 40px;
  font-family: 'IBM Plex Serif', serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.marquee-group span:nth-child(even) {
  color: var(--accent);
  font-size: 16px;
}
@keyframes scrollX {
  to { transform: translateX(var(--marquee-shift, -50%)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ========================================================
   ABOUT INTRO
   ======================================================== */
.about-intro { padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about-text-wrap {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
}
.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-soft);
  font-size: 17px;
  margin-bottom: 20px;
  max-width: 460px;
}
.about-text p + p { margin-bottom: 28px; }

.about-gallery {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}
.about-gallery__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-gallery__col--right {
  /* Right column starts lower — masonry stagger (desktop + mobile) */
  margin-top: clamp(1.5rem, 5.5vw, 3.25rem);
}
@media (min-width: 600px) {
  .about-gallery { gap: 20px; }
  .about-gallery__col { gap: 20px; }
  .about-gallery__col--right { margin-top: clamp(2rem, 6vw, 3.75rem); }
}
.gallery-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease);
}
.gallery-img:hover { transform: translateY(-4px); }
.gallery-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-img:hover img { transform: scale(1.04); }

/* ========================================================
   SERVICES
   ======================================================== */
.services { padding: 120px 0; background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--text-soft); font-size: 17px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(216, 140, 104, 0.08));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 60px; height: 60px;
  background: var(--surface-soft);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(-5deg);
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.service-card > p {
  color: var(--text-soft);
  font-size: 15px;
  flex: 1;
  margin-bottom: 24px;
}
.service-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-arrow {
  position: absolute;
  top: 28px; right: 28px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--primary);
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translate(-6px, 6px);
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: var(--primary);
  color: #fff;
}

/* ========================================================
   STATS
   ======================================================== */
.stats { padding: 100px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  padding: 32px 20px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat h3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat p { color: var(--text-soft); font-size: 15px; max-width: 220px; margin: 0 auto; }

/* ========================================================
   WHY US
   ======================================================== */
.why-us { padding: 120px 0; background: var(--bg-alt); }
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 20px;
}
.why-content > p {
  color: var(--text-soft);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 480px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  transition: all 0.3s var(--ease);
}
.features-list li:hover {
  transform: translateX(4px);
  border-color: var(--primary-soft);
}
.feature-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.features-list strong { display: block; font-size: 16px; margin-bottom: 4px; color: var(--text); font-weight: 600; }
.features-list p { color: var(--text-soft); font-size: 14px; }

.why-visual { position: relative; }
.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.why-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.why-image:hover img { transform: scale(1.05); }

.why-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
.why-badge-num {
  font-family: 'IBM Plex Serif', serif;
  font-size: 38px;
  color: var(--primary);
  font-weight: 500;
}
.why-badge-text strong { display: block; font-weight: 600; font-size: 14px; }
.why-badge-text span { font-size: 12px; color: var(--text-soft); }

/* ========================================================
   EXPERT
   ======================================================== */
.expert { padding: 120px 0; }
.expert-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.expert-image { position: relative; }
.expert-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.expert-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}
.expert-quote {
  position: absolute;
  bottom: -28px; right: -20px;
  width: 280px;
  background: var(--bg-dark);
  color: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.expert-quote svg { color: var(--accent); margin-bottom: 8px; }
.expert-quote p { font-family: 'IBM Plex Serif', serif; font-style: italic; font-size: 17px; line-height: 1.4; }

.expert-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}
.expert-lead {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.credentials li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text-soft);
}
.credentials span { color: var(--accent); font-weight: 600; }

/* ========================================================
   TESTIMONIALS
   ======================================================== */
.testimonials { padding: 120px 0; background: var(--bg-alt); }

.carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.carousel-track {
  display: flex;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}
.testimonial-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--surface);
  padding: 48px 56px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.testimonial-stars {
  display: inline-flex;
  gap: 4px;
  color: var(--accent);
  margin-bottom: 24px;
}
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-card blockquote {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 28px;
  font-style: italic;
}
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-weight: 600; font-size: 16px; }
.testimonial-author span { font-size: 13px; color: var(--primary); letter-spacing: 0.04em; text-transform: uppercase; }

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.05);
}
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s var(--ease);
  padding: 0;
}
.carousel-dots button.active {
  background: var(--primary);
  width: 28px;
  border-radius: 4px;
}

/* ========================================================
   FAQ
   ======================================================== */
.faq { padding: 120px 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.faq-head p { color: var(--text-soft); margin-bottom: 28px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--primary-soft); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--primary-soft); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'IBM Plex Serif', serif;
}
.faq-item summary > span:first-child {
  min-width: 0;
  flex: 1;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.faq-item[open] .faq-toggle {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 28px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-item[open] .faq-content {
  grid-template-rows: 1fr;
}
.faq-content-inner {
  overflow: hidden;
  min-height: 0;
  padding-bottom: 24px;
}

/* ========================================================
   CTA
   ======================================================== */
.cta { padding: 10px 0 50px; }
.cta-inner {
  position: relative;
  background: linear-gradient(135deg, var(--bg-dark), #3a2a1c);
  color: var(--bg);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-inner h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin: 0 0 16px;
  color: #fff;
}
.cta-inner h2 em { color: var(--accent); }
.cta-inner > p {
  color: rgba(248, 243, 237, 0.75);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-decor {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 140, 104, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-decor-1 { width: 400px; height: 400px; top: -200px; left: -100px; }
.cta-decor-2 { width: 300px; height: 300px; bottom: -150px; right: -50px; background: radial-gradient(circle, rgba(143, 168, 134, 0.18), transparent 70%); }

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--bg);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: rgba(248, 243, 237, 0.6);
  margin: 16px 0 24px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-brand .logo-light img {
  width: 240px;
  max-width: 100%;
  height: auto;
}
.logo-light { color: var(--accent); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: var(--bg);
  transition: all 0.3s var(--ease);
}
.footer-socials a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(248, 243, 237, 0.7);
  font-size: 14px;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-contact li {
  font-size: 14px;
  color: rgba(248, 243, 237, 0.7);
  line-height: 1.6;
}
.footer-contact span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(248, 243, 237, 0.5);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .footer-dev-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(248, 243, 237, 0.55);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.footer-bottom .footer-dev-credit__label {
  font-family: var(--font-sans, system-ui, sans-serif);
  white-space: nowrap;
}
.footer-bottom .footer-dev-credit img {
  display: block;
  height: 28px;
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
}
.footer-bottom .footer-dev-credit:hover {
  color: rgba(248, 243, 237, 0.88);
}
.footer-bottom .footer-dev-credit:hover img {
  opacity: 0.98;
}

/* ========================================================
   BACK TO TOP
   ======================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  transition: all 0.3s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
}

/* ========================================================
   REVEAL ANIMATIONS
   ======================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal[data-reveal="fade"] { transform: translateY(0); }
.reveal[data-reveal="left"] { transform: translateX(-30px); }
.reveal[data-reveal="right"] { transform: translateX(30px); }
.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1100px) {
  .hero-content { padding: 60px 30px 60px 38px; }
  .hero-inner { gap: 8px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .container { padding: 0 24px; }
  .site-header .logo img {
    width: 170px;
    height: auto;
  }

  .primary-nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .header-inner { height: 95px; }

  .hero { padding: 28px 0 52px; }
  .hero-panel { border-radius: 18px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content {
    padding: 48px 24px 40px;
    order: 1;
    border-radius: 18px 18px 0 0;
  }
  .hero-sub { max-width: none; }
  .hero-visual {
    height: 410px;
    order: 2;
    border-radius: 0 0 18px 18px;
  }
  .hero-visual .hero-image {
    border-radius: 0 0 18px 18px;
  }
  .hero-shape-1 {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -90px;
  }
  .hero-shape-2 {
    width: 320px;
    height: 320px;
    bottom: -120px;
    left: -90px;
  }

  .about-intro, .services, .stats, .why-us, .expert, .testimonials, .faq { padding: 80px 0; }
  section.cta { padding: 0 20px 80px 20px; }

  .about-grid, .why-grid, .expert-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-text-wrap { position: static; }
  .faq-head { position: static; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; padding-top: 32px; }

  .expert-quote { right: 10px; bottom: -16px; width: 240px; }
  .why-badge { left: 10px; }

  .testimonial-card { padding: 36px 24px; }

  .cta-inner { padding: 56px 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-sub { font-size: 16px; }
  .hero-trust { max-width: 100%; }
  .hero-main-cta { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-bottom: 1px solid var(--border) !important; padding: 28px 0 !important; }
  .stat:last-child { border-bottom: none !important; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .expert-content .btn { width: 100%; }
}

/* ========================================================
   SERVICE DETAIL PAGES
   ======================================================== */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: #fffefb;
}
.service-body { background: #fffefb; }
.page-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.breadcrumbs {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span[aria-current] { color: var(--text); }
.breadcrumbs li { list-style: none; }
.breadcrumbs ol {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--text-mute);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin: 12px 0 20px;
  line-height: 1.1;
}
.page-hero p.lead {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 32px;
}
.page-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.jaunumi-empty {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.jaunumi-empty p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0 0 32px;
}

.service-feature-img {
  margin: 60px auto 0;
  max-width: var(--container);
  padding: 0 24px;
}
.service-feature-img img {
  width: 100%;
  height: clamp(320px, 50vw, 540px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.service-body {
  padding: 100px 0;
}
.service-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 80px;
  align-items: start;
}

#gift-card-shop {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.service-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  min-width: 0;
  overflow-wrap: break-word;
}
.service-content h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 56px 0 18px;
  line-height: 1.25;
}
.service-content h2:first-child { margin-top: 0; }
.service-content h3 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
}
.service-content p { margin: 0 0 18px; color: var(--text-soft); }
.service-content strong { color: var(--text); }
.service-content ul, .service-content ol {
  padding-left: 0;
  list-style: none;
  margin: 0 0 24px;
}
.service-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-soft);
}
.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.service-content ol { counter-reset: step; }
.service-content ol li {
  position: relative;
  counter-increment: step;
  padding-left: 44px;
  margin-bottom: 14px;
  color: var(--text-soft);
}
.service-content ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  font-family: 'IBM Plex Serif', serif;
}
.service-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--surface-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  color: var(--text);
}
.service-content blockquote p:last-child { margin-bottom: 0; }

.td-editable {
  max-width: 100%;
  overflow-wrap: break-word;
}

.price-table {
  margin: 24px 0 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 16px;
}
.price-row:last-child { border-bottom: none; }
.price-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}
.price-row small { color: var(--text-mute); font-size: 13px; }
.price-row .price-tag {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}
.tech-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tech-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
}
.tech-card .tech-level {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.tech-card h4 {
  font-size: 1rem;
  margin: 0 0 8px;
  font-family: 'IBM Plex Serif', serif;
}
.tech-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
}

.service-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}
.info-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  color: #F4ECDF;
  box-shadow: var(--shadow-md);
}
.info-card .eyebrow {
  color: var(--accent-soft);
}
.info-card h3 {
  font-size: 1.35rem;
  margin: 8px 0 18px;
  color: #fff;
}
.info-card .info-meta {
  display: grid;
  gap: 14px;
  margin: 20px 0 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.info-card .info-meta div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(244,236,223,0.7);
}
.info-card .info-meta strong {
  color: #fff;
  font-family: 'IBM Plex Serif', serif;
  font-size: 15px;
  font-weight: 500;
}
.info-card .info-actions {
  display: grid;
  gap: 10px;
}
.info-card .btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}
.info-card .btn-primary:hover { background: var(--accent-soft); }
.info-card .btn-outline-light {
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  background: transparent;
}
.info-card .btn-outline-light:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}
.info-card .info-trust {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(244,236,223,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Related services */
.related-services {
  padding: 100px 0;
  background: var(--bg-alt);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.related-card {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid var(--border-soft);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.related-card .related-img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.related-card .related-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.related-card:hover .related-img img { transform: scale(1.08); }
.related-card h3 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}
.related-card p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 14px;
}
.related-card .related-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .service-body-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
}
@media (max-width: 900px) {
  .page-hero { padding: calc(var(--header-h) + 40px) 0 40px; }
  .service-feature-img { margin-top: 40px; }
  .service-body { padding: 64px 0; }
  .service-body-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-aside { position: static; }
  .related-services { padding: 64px 0; }
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .related-card { padding: 22px; gap: 18px; }
  .related-card .related-img { width: 72px; height: 72px; }
  .tech-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   CONTACT PAGE
   ======================================================== */
.cta.cta-kontakti { padding-top: 50px; }
.contact-section {
  padding: 40px 0 60px;
  background: #fffefb;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-card:hover .contact-icon {
  background: var(--accent);
  color: #fff;
}
.contact-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.contact-card strong {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.contact-meta {
  font-size: 14px;
  color: var(--text-soft);
}

.contact-grid-section {
  padding: 80px 0;
  background: #fffefb;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 12px 0 16px;
}
.contact-info > p {
  color: var(--text-soft);
  margin-bottom: 28px;
  max-width: 460px;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--border);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.hours-list li span { color: var(--text-soft); }
.hours-list li strong {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  color: var(--text);
}
.hours-list li.hours-closed strong { color: var(--text-mute); font-style: italic; }
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 460px;
  border: 1px solid var(--border-soft);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
  filter: saturate(0.92);
}
.map-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease);
}
.map-link:hover { transform: translateY(-2px); }

.social-section {
  padding: 80px 0;
  background: var(--bg-alt);
}
.social-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.social-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 12px 0 16px;
}
.social-inner > div > p { color: var(--text-soft); margin: 0; }
.social-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.social-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.social-link svg { color: var(--primary); margin-bottom: 14px; }
.social-link span {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.05rem;
  font-weight: 500;
}
.social-link small {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .contact-cards { grid-template-columns: 1fr; gap: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .social-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .contact-card { padding: 28px 24px; }
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-actions .btn { width: 100%; }
  .social-links { grid-template-columns: 1fr; }
  .contact-grid-section, .social-section { padding: 56px 0; }
}

/* ---------- Gallery Page ---------- */
.gallery-section {
  padding: 0px 0 80px;
  background: #fffefb;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 48px;
}
.gallery-filter {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all .2s ease;
}
.gallery-filter:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.gallery-masonry {
  column-count: 3;
  column-gap: 20px;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 20px;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #f3ece2;
  box-shadow: 0 4px 18px rgba(40, 24, 14, 0.06);
  position: relative;
  cursor: zoom-in;
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(40, 24, 14, 0.12);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px 14px;
  background: linear-gradient(to top, rgba(40, 24, 14, 0.78), rgba(40, 24, 14, 0));
  color: #F4ECDF;
  font-family: 'IBM Plex Serif', serif;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .gallery-masonry { column-count: 2; }
}
@media (max-width: 600px) {
  .gallery-masonry { column-count: 1; column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 6, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
@media (max-width: 600px) {
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
