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

:root {
  --color-primary: #17b6a4;
  --color-primary-dark: #0c6a60;
  --color-primary-light: rgba(23, 182, 164, .16);
  --color-accent: #ff8a5c;
  --color-ink: #f3f6f5;
  --color-ink-soft: #a9b6b3;
  --color-bg: #111111;
  --color-bg-alt: #171b1a;
  --color-surface: #1c211f;
  --color-border: #2a302e;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .55);
  --radius: 10px;
  --radius-sm: 8px;
  --portrait-width: 430px;
  --logo-height: 90px;
  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  color-scheme: dark;
}

:root.light {
  --color-primary-dark: #0a5751;
  --color-primary-light: rgba(15, 122, 114, .12);
  --color-ink: #101a19;
  --color-ink-soft: #4d5c5a;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f8f7;
  --color-surface: #ffffff;
  --color-border: #e3e9e8;
  --shadow-sm: 0 2px 10px rgba(16, 26, 25, .06);
  --shadow-md: 0 10px 30px rgba(16, 26, 25, .10);
  --shadow-lg: 0 20px 50px rgba(16, 26, 25, .16);
  color-scheme: light;
}

html { scroll-behavior: smooth; background: var(--color-bg); transition: background .2s ease; }

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.lead { color: var(--color-ink-soft); font-size: 1.05rem; max-width: 60ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #0a0c0b;
}
.btn-primary:hover { background: #22cdb9; }
.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-danger {
  background: #ff6b6b;
  color: #1a0a0a;
}
.btn-danger:hover { background: #ff8484; }
.btn-danger:disabled { opacity: .45; cursor: not-allowed; }
.btn-danger:disabled:hover { background: #ff6b6b; }
.btn-header { padding: 10px 18px; font-size: .85rem; }

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 1000;
  transition: width .1s ease-out;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(17, 17, 17, .75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .3s ease, box-shadow .3s ease;
}
:root.light .site-header { background: rgba(255, 255, 255, .8); }
.site-header.scrolled { border-color: var(--color-border); box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 92px;
}

.logo-link { display: flex; align-items: center; }
.logo-img { height: var(--logo-height, 90px); width: auto; }
.logo-img-light { display: none; }
:root.light .logo-img-dark { display: none; }
:root.light .logo-img-light { display: block; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; position: relative; }
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-ink-soft);
  transition: color .2s ease;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--color-ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.theme-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.theme-toggle-track {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--color-border);
  transition: background .2s ease;
}
.theme-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: transform .25s ease;
}
:root.light .theme-toggle-thumb { transform: translateX(18px); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  padding: 206px 0 110px;
  border-bottom: 1px solid var(--color-border);
}
.hero-inner { max-width: 760px; }
.hero-sub { color: var(--color-primary); font-weight: 600; margin: 10px 0 22px; }
.hero-text { color: var(--color-ink-soft); font-size: 1.1rem; max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.section { padding: 110px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 640px; margin-bottom: 50px; }
.offers-head { margin-top: 90px; }

.about-grid {
  display: grid;
  grid-template-columns: var(--portrait-width, 430px) 1fr;
  gap: 60px;
  align-items: center;
}
.about-portrait {
  width: 100%;
  aspect-ratio: 3 / 4.4;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--color-primary), var(--color-primary-dark));
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content h2 { margin-bottom: 18px; }
.about-content .lead { margin-bottom: 34px; }

.timeline { display: flex; flex-direction: column; gap: 20px; }
.timeline li { display: flex; gap: 16px; align-items: flex-start; }
.timeline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--color-primary-light);
}
.timeline strong { font-family: var(--font-head); font-size: .92rem; color: var(--color-ink); }
.timeline p { color: var(--color-ink-soft); font-size: .95rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 30px;
}
.service-card, .offer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px;
  transition: border-color .2s ease;
}
.service-card:hover, .offer-card:hover {
  border-color: var(--color-primary);
}
.service-card h3, .offer-card h3 {
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-primary-light);
}
.service-card p, .offer-card p { color: var(--color-ink-soft); font-size: .95rem; }

.offer-list { display: flex; flex-direction: column; gap: 8px; }
.offer-list > li {
  position: relative;
  padding-left: 18px;
  color: var(--color-ink-soft);
  font-size: .95rem;
}
.offer-list > li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.offer-sublist { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.offer-sublist li {
  position: relative;
  padding-left: 16px;
  color: var(--color-ink-soft);
  font-size: .95rem;
}
.offer-sublist li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--color-ink-soft);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.custom-section-inner { max-width: 760px; margin: 0 auto; }
.custom-section-head { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }
.custom-section-head .eyebrow { text-align: center; }
.custom-section-text { color: var(--color-ink-soft); font-size: 1.05rem; text-align: center; }
.custom-section-text p { margin-bottom: 1em; }
.custom-section-text p:last-child { margin-bottom: 0; }

.custom-section-inner.has-image {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.custom-section-inner.has-image .custom-section-head,
.custom-section-inner.has-image .custom-section-text,
.custom-section-inner.has-image .custom-section-head .eyebrow {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.custom-section-inner.has-image.custom-section-imgright { direction: rtl; }
.custom-section-inner.has-image.custom-section-imgright > * { direction: ltr; }
.custom-section-media img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
@media (max-width: 860px) {
  .custom-section-inner.has-image { grid-template-columns: 1fr; }
  .custom-section-inner.has-image.custom-section-imgright { direction: ltr; }
}
.custom-subblock { margin-top: 28px; }
.custom-subblock h3 { margin-bottom: 10px; }

.custom-block-accordion { max-width: 820px; margin: 0 auto; }

.custom-table-wrap { overflow-x: auto; }
.custom-table { width: 100%; border-collapse: collapse; }
.custom-table th, .custom-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
  color: var(--color-ink-soft);
  white-space: nowrap;
}
.custom-table th {
  color: var(--color-ink);
  font-family: var(--font-head);
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary-light);
}
.custom-table tr:last-child td { border-bottom: none; }

.custom-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(140px, calc((100% - (var(--gallery-cols, 3) - 1) * 20px) / var(--gallery-cols, 3))), 1fr));
  gap: 20px;
}
.custom-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: var(--gallery-ratio, 4 / 3);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-size-small { --gallery-ratio: 1 / 1; --gallery-row-h: 110px; --gallery-justify-h: 150px; --gallery-circle-d: 90px; }
.gallery-size-medium { --gallery-ratio: 4 / 3; --gallery-row-h: 150px; --gallery-justify-h: 210px; --gallery-circle-d: 120px; }
.gallery-size-large { --gallery-ratio: 3 / 2; --gallery-row-h: 190px; --gallery-justify-h: 270px; --gallery-circle-d: 150px; }
.gallery-size-xlarge { --gallery-ratio: 16 / 9; --gallery-row-h: 230px; --gallery-justify-h: 330px; --gallery-circle-d: 180px; }

.gallery-layout-masonry { display: block; columns: 200px var(--gallery-cols, 3); column-gap: 20px; }
.gallery-layout-masonry img { aspect-ratio: auto; height: auto; margin-bottom: 20px; break-inside: avoid; }

.gallery-layout-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.gallery-layout-carousel img { flex: 0 0 max(140px, calc((100% - (var(--gallery-cols, 3) - 1) * 20px) / var(--gallery-cols, 3))); width: auto; scroll-snap-align: start; }

.gallery-layout-featured { grid-auto-rows: var(--gallery-row-h, 150px); }
.gallery-layout-featured img { width: 100%; height: 100%; aspect-ratio: auto; }
.gallery-layout-featured img:first-child { grid-column: span 2; grid-row: span 2; }

.gallery-layout-mosaic { grid-auto-rows: var(--gallery-row-h, 150px); }
.gallery-layout-mosaic img { width: 100%; height: 100%; aspect-ratio: auto; }
.gallery-layout-mosaic img:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }

.gallery-layout-offset img:nth-child(even) { margin-top: 32px; }

.gallery-layout-justified { display: flex; flex-wrap: wrap; }
.gallery-layout-justified img { flex: 1 1 auto; width: auto; min-width: 140px; height: var(--gallery-justify-h, 210px); aspect-ratio: auto; }

.gallery-layout-circles { display: flex; flex-wrap: wrap; justify-content: center; }
.gallery-layout-circles img { width: var(--gallery-circle-d, 120px); height: var(--gallery-circle-d, 120px); aspect-ratio: 1 / 1; border-radius: 50%; }

.gallery-layout-stack { display: flex; flex-direction: column; }
.gallery-layout-stack img { aspect-ratio: 16 / 9; }

.gallery-layout-diagonal img:nth-child(odd) { translate: 0 -14px; rotate: -1.2deg; }
.gallery-layout-diagonal img:nth-child(even) { translate: 0 14px; rotate: 1.2deg; }

.gallery-layout-marquee-left, .gallery-layout-marquee-right {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-layout-marquee-left::-webkit-scrollbar, .gallery-layout-marquee-right::-webkit-scrollbar { display: none; }
.gallery-layout-marquee-left img, .gallery-layout-marquee-right img {
  flex: 0 0 max(140px, calc((100% - (var(--gallery-cols, 3) - 1) * 20px) / var(--gallery-cols, 3)));
  width: auto;
}

.gallery-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.gallery-lightbox-overlay.is-open { opacity: 1; pointer-events: auto; }
.gallery-lightbox-overlay img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.gallery-lightbox-close { top: 24px; right: 24px; }
.gallery-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.custom-quote-container { max-width: 760px; margin: 0 auto; text-align: center; }
.custom-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-ink);
}
.custom-quote p::before { content: "\201C"; }
.custom-quote p::after { content: "\201D"; }
.custom-quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  color: var(--color-primary);
  font-size: .9rem;
  font-weight: 600;
}

.custom-cta-container { max-width: 640px; margin: 0 auto; text-align: center; }
.custom-cta-container .eyebrow { text-align: center; }
.custom-cta-text { color: var(--color-ink-soft); font-size: 1.05rem; margin: 16px 0 30px; }

.custom-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.custom-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.custom-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  text-align: center;
}
.custom-stat { display: flex; flex-direction: column; gap: 6px; }
.custom-stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-primary);
}
.custom-stat-label { color: var(--color-ink-soft); font-size: .9rem; }

.custom-hours-list { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; }
.custom-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .98rem;
}
.custom-hours-row:last-child { border-bottom: none; }
.custom-hours-day { color: var(--color-ink); font-weight: 600; }
.custom-hours-time { color: var(--color-ink-soft); }

.custom-columns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.custom-column h3 { margin-bottom: 14px; }
@media (max-width: 760px) {
  .custom-columns-grid { grid-template-columns: 1fr; gap: 36px; }
}

.custom-block-divider { padding: 36px 0; }
.custom-divider-space { height: 1px; }
.custom-divider-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-ink-soft);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.custom-divider-line::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--color-border);
}
.custom-divider-line span { position: relative; background: var(--color-bg); padding: 0 16px; }
.section-alt .custom-divider-line span { background: var(--color-bg-alt); }

.custom-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.custom-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.custom-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; }
.custom-team-card { text-align: center; }
.custom-team-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; display: block; box-shadow: var(--shadow-sm); }
.custom-team-photo-placeholder { background: var(--color-surface); border: 1px solid var(--color-border); }
.custom-team-card h3 { margin-bottom: 4px; }
.custom-team-role { color: var(--color-primary); font-size: .88rem; font-weight: 600; margin-bottom: 10px; }
.custom-team-bio { color: var(--color-ink-soft); font-size: .92rem; }

.custom-testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.custom-testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}
.custom-testimonial-text { color: var(--color-ink); margin-bottom: 16px; }
.custom-testimonial-text::before { content: "\201C"; }
.custom-testimonial-text::after { content: "\201D"; }
.custom-testimonial-author { color: var(--color-ink-soft); font-size: .88rem; font-weight: 600; }
.custom-testimonial-author span { font-weight: 400; }

.custom-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: start; }
.custom-pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
}
.custom-pricing-card.highlighted { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.custom-pricing-value { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--color-primary); margin: 10px 0; }
.custom-pricing-value span { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--color-ink-soft); margin-left: 4px; }
.custom-pricing-desc { color: var(--color-ink-soft); font-size: .9rem; margin-bottom: 14px; }
.custom-pricing-features { display: flex; flex-direction: column; gap: 8px; }
.custom-pricing-features li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--color-ink-soft); }
.custom-pricing-features li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }

.custom-logos-eyebrow { text-align: center; }
.custom-logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.custom-logos-row img { max-height: 48px; max-width: 140px; object-fit: contain; opacity: .75; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.custom-logos-row img:hover { opacity: 1; filter: grayscale(0); }

.custom-social-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.custom-social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  transition: border-color .2s ease, color .2s ease, transform .15s ease;
}
.custom-social-icon:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-3px); }

.faq-layout { max-width: 820px; margin: 0 auto; }
.faq-layout .section-head { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }
.faq-layout .eyebrow { text-align: center; }
.faq-layout .lead { margin: 12px auto 0; text-align: center; }

.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s ease;
}
.accordion-item.open { border-color: var(--color-primary); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-ink);
  cursor: pointer;
}
.accordion-item.open .accordion-trigger { color: var(--color-primary); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.accordion-panel p { color: var(--color-ink-soft); padding-bottom: 20px; }
.accordion-panel a { color: var(--color-primary); font-weight: 600; }

.hero-text a,
.lead a,
.service-card p a,
.custom-section-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.hero-text ul, .lead ul, .service-card ul, .accordion-panel ul, .custom-section-text ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}
.hero-text ul li, .lead ul li, .service-card ul li, .accordion-panel ul li, .custom-section-text ul li {
  position: relative;
  padding-left: 18px;
}
.hero-text ul li::before, .lead ul li::before, .service-card ul li::before, .accordion-panel ul li::before, .custom-section-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.hero-text ol, .lead ol, .service-card ol, .accordion-panel ol, .custom-section-text ol {
  padding-left: 20px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card ul, .service-card ol, .accordion-panel ul, .accordion-panel ol {
  color: var(--color-ink-soft);
  font-size: .95rem;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.kontakt-info h2 { margin-bottom: 14px; }
.kontakt-info .lead { margin-bottom: 34px; }

.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.contact-list li { border-left: 2px solid var(--color-primary-light); padding-left: 16px; }
.contact-list strong { font-family: var(--font-head); font-size: .88rem; display: block; margin-bottom: 2px; }
.contact-list p, .contact-list a { color: var(--color-ink-soft); font-size: .95rem; }
.contact-list a:hover { color: var(--color-primary); }
.map-link { display: inline-block; margin-top: 4px; font-size: .85rem; text-decoration: underline; text-underline-offset: 2px; }

.kontakt-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.kontakt-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(.95) contrast(90%);
}
:root.light .kontakt-map iframe { filter: none; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.gallery-anim-fade { transform: translateY(24px); }
.gallery-anim-fade.in-view { transform: translateY(0); }
.gallery-anim-zoom { transform: scale(.85); }
.gallery-anim-zoom.in-view { transform: scale(1); }
.gallery-anim-slide { transform: translateX(-40px); }
.gallery-anim-slide.in-view { transform: translateX(0); }
.gallery-anim-slide:nth-child(even) { transform: translateX(40px); }
.gallery-anim-slide:nth-child(even).in-view { transform: translateX(0); }
.gallery-anim-flip { transform: perspective(800px) rotateY(35deg); }
.gallery-anim-flip.in-view { transform: perspective(800px) rotateY(0deg); }
.gallery-anim-blur { transform: none; filter: blur(10px); }
.gallery-anim-blur.in-view { filter: blur(0); }

@media (max-width: 980px) {
  .about-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .services-grid, .offers-grid { grid-template-columns: 1fr; }
  .kontakt-map { aspect-ratio: 16/10; }
  .gallery-layout-carousel img { flex-basis: calc(70% - 10px); }
  .gallery-layout-diagonal img { translate: none; rotate: none; }
}

@media (max-width: 860px) {
  .nav { position: fixed; top: 92px; left: 0; right: 0; background: var(--color-bg); flex-direction: column; gap: 0; padding: 8px 24px 60px; box-shadow: var(--shadow-md); transform: translateY(-130%); opacity: 0; transition: transform .3s ease, opacity .3s ease; margin: 0; }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
  .nav .theme-toggle { position: absolute; bottom: 18px; right: 24px; }
  .burger { display: flex; }
  .btn-header { display: none; }
  .hero { padding: 150px 0 80px; }
  .section { padding: 72px 0; }
  .offers-head { margin-top: 56px; }
  .about-grid, .kontakt-grid { gap: 40px; }
}

@media (max-width: 640px) {
  .header-inner { height: 76px; }
  .logo-img { height: calc(var(--logo-height, 90px) * 0.72); }
  .nav { top: 76px; }
  .hero { padding: 132px 0 64px; }
  .service-card, .offer-card { padding: 24px; }
  .accordion-trigger { padding: 18px 20px; }
  .accordion-panel { padding: 0 20px; }
  .gallery-lightbox-overlay { padding: 16px; }
  .gallery-lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
  .gallery-lightbox-prev { left: 10px; width: 38px; height: 38px; }
  .gallery-lightbox-next { right: 10px; width: 38px; height: 38px; }
}

@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .container { padding: 0 18px; }
}
