:root {
  --bg: #e7e8e9;
  --canvas: #ffffff;
  --surface: #f2f3f3;
  --surface-strong: #eceeef;
  --text: #1f2f33;
  --muted: #4b5b60;
  --brand: #29555d;
  --brand-dark: #29555d;
  --line: #d7dddf;
  --shadow: 0 14px 36px rgba(20, 33, 37, 0.14);
  --radius-lg: 22px;
  --radius-md: 14px;
  --max-width: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  color: var(--brand-dark);
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(96vw, var(--max-width));
  margin: 24px auto 40px;
  background: var(--canvas);
  border: 1px solid #d8dddf;
  box-shadow: var(--shadow);
}

.site-header {
  position: relative;
  background: #fafbfb;
  border-bottom: 1px solid var(--line);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 44px;
}

.brand-lockup {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  min-width: 290px;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 6px;
  transition: transform 220ms var(--ease);
}

.brand-lockup::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms var(--ease);
}

.brand-main {
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.8rem, 2.3vw, 2.7rem);
  letter-spacing: 0.01em;
  line-height: 1;
  font-weight: 500;
  transition: letter-spacing 240ms var(--ease), text-shadow 240ms var(--ease);
}

.brand-sub {
  color: var(--brand);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}

.brand-lockup:hover,
.brand-lockup:focus-visible {
  transform: translateY(-1px);
}

.brand-lockup:hover::after,
.brand-lockup:focus-visible::after {
  transform: scaleX(1);
}

.brand-lockup:hover .brand-main,
.brand-lockup:focus-visible .brand-main {
  letter-spacing: 0.018em;
  text-shadow: 0 0 8px rgba(41, 85, 93, 0.2);
}

.brand-lockup:hover .brand-sub,
.brand-lockup:focus-visible .brand-sub {
  transform: translateX(4px);
  opacity: 0.95;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 42px);
  flex: 1;
}

.site-nav a {
  position: relative;
  color: var(--brand);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 2px;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--brand);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--brand);
  font-size: 1.05rem;
  white-space: nowrap;
  transition: color 180ms var(--ease);
}

.header-phone .header-icon {
  transition: transform 220ms var(--ease);
}

.header-phone .phone-text {
  display: inline-block;
  transition: transform 220ms var(--ease), text-shadow 220ms var(--ease);
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--brand);
}

.header-phone:hover .header-icon,
.header-phone:focus-visible .header-icon {
  animation: phone-wiggle 550ms var(--ease);
}

.header-phone:hover .phone-text,
.header-phone:focus-visible .phone-text {
  transform: translateX(3px);
  text-shadow: 0 0 8px rgba(41, 85, 93, 0.25);
}

.header-phone-compact {
  display: none;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--brand);
  background: transparent;
  border: 0;
  transition: color 180ms var(--ease);
}

.header-phone-compact:hover,
.header-phone-compact:focus-visible {
  color: #1f4349;
}

.header-phone-compact:hover .header-icon,
.header-phone-compact:focus-visible .header-icon {
  animation: phone-wiggle 550ms var(--ease);
}

@keyframes phone-wiggle {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.header-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.header-icon::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-phone::before {
  background-image: url("images/icons/contact-phone.svg");
}

.icon-mail::before {
  background-image: url("images/icons/contact-mail.svg");
}

.icon-house::before {
  background-image: url("images/icons/contact-house.svg");
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #bfd0d4;
  border-radius: 999px;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle-lines {
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-lines span {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #2a484e;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.hero-home {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  transition: opacity 360ms var(--ease);
}

.hero-slider-indicators {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slider-dot {
  width: 38px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}

.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  transform: scaleX(1.06);
}

.hero-slider-dot.is-active {
  background: #29555d;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 249, 249, 0.95) 0%, rgba(248, 249, 249, 0.86) 38%, rgba(248, 249, 249, 0.35) 63%, rgba(248, 249, 249, 0.06) 100%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(58%, 690px);
  min-height: 620px;
  padding: 78px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: clamp(3.1rem, 5.7vw, 5.4rem);
  line-height: 0.95;
  font-weight: 500;
}

.hero-copy h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.8rem);
  line-height: 1.06;
}

.hero-copy p {
  margin: 26px 0 0;
  max-width: 520px;
  color: #2f3f42;
  font-size: clamp(1.08rem, 1.6vw, 1.72rem);
  line-height: 1.48;
}

.hero-copy .hero-subtitle {
  margin-top: 16px;
  font-size: clamp(1.06rem, 1.35vw, 1.32rem);
  line-height: 1.4;
  font-weight: 600;
  color: var(--brand-dark);
}

.hero-copy .hero-text {
  margin-top: 14px;
}

.home-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 600;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  background: #234a51;
  box-shadow: 0 8px 18px rgba(41, 85, 93, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-1px);
  background: #e9f0f1;
}

.content-section {
  background: #f9f9f9;
  border-bottom: 1px solid var(--line);
}

.content-section.alt {
  background: var(--surface);
}

.section-inner {
  padding: 66px clamp(24px, 4vw, 88px);
}

.section-top {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}

.section-title {
  margin: 0;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 4.1rem);
  line-height: 1.03;
  font-weight: 500;
}

.section-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  max-width: 760px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: stretch;
}

.about-media {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #d2dbde;
  background: #ffffff;
  min-height: 100%;
}

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

.about-copy .btn {
  margin-top: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #d8dfe1;
  border-radius: 12px;
  padding: 24px 22px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(26, 39, 42, 0.08);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #d8dfe1;
  box-shadow: 0 10px 24px rgba(26, 39, 42, 0.12);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.service-icon::before {
  content: "";
  width: 44px;
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.service-icon-target::before {
  background-image: url("images/icons/service-target-arrow.png");
}

.service-icon-search::before {
  background-image: url("images/icons/service-search.png");
}

.service-icon-star::before {
  background-image: url("images/icons/service-sun.png");
}

.service-icon-clipboard::before {
  background-image: url("images/icons/service-notepad.png");
}

.service-card h3 {
  margin: 0;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.08rem, 0.9rem + 0.35vw, 1.46rem);
  line-height: 1.18;
  font-weight: 700;
  min-height: 2.25em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  letter-spacing: 0.01em;
}

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

.service-card .service-slogan {
  color: var(--brand-dark);
  font-weight: 600;
}

.page-hero {
  position: relative;
  min-height: 620px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(58%, 690px);
  min-height: 620px;
  padding: 78px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero-copy h1 {
  margin: 0;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.6rem, 4.2vw, 4.3rem);
  line-height: 1.02;
  font-weight: 500;
}

.page-hero-copy p {
  margin: 24px 0 0;
  color: #2f3f42;
  font-size: clamp(1.08rem, 1.6vw, 1.72rem);
  line-height: 1.48;
  max-width: 520px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 249, 249, 0.95) 0%, rgba(248, 249, 249, 0.86) 38%, rgba(248, 249, 249, 0.35) 63%, rgba(248, 249, 249, 0.06) 100%);
  z-index: 1;
}

.page-hero-media,
.page-hero-media picture,
.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-media {
  margin: 0;
}

.page-hero-media img {
  object-fit: cover;
}

.page-hero.page-hero-banner {
  min-height: 620px;
}

.page-hero.page-hero-banner::before {
  background: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  border: 1px solid #d5dde0;
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
}

.process-card h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 500;
}

.process-card p {
  margin: 0;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  border: 1px solid #d8dfe1;
  border-radius: 12px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(24, 38, 42, 0.08);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
}

.team-card h3 {
  margin: 14px 0 2px;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: 2.05rem;
  line-height: 1.05;
  font-weight: 500;
}

.team-role {
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 600;
}

.team-list {
  margin: 12px 0 0 18px;
  padding: 0;
  color: var(--muted);
}

.team-list li {
  margin: 0 0 6px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-panel {
  border: 1px solid #d6dde0;
  border-radius: 12px;
  background: #ffffff;
  padding: 22px;
  min-height: 100%;
}

.contact-panel-location {
  background: #29555d;
  border-color: #29555d;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-panel-location h2,
.contact-panel-location p,
.contact-panel-location .contact-address {
  color: #ffffff;
}

.contact-panel.contact-panel-location h2 {
  color: #ffffff;
}

.contact-panel h2 {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: 2.7rem;
  line-height: 0.98;
  font-weight: 500;
}

.contact-panel p {
  margin: 0 0 10px;
  color: var(--muted);
}

.contact-address {
  margin: 0 0 14px;
  color: #2d4348;
  font-weight: 600;
}

.status-message {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #d8dddf;
  border-radius: 10px;
  background: #f8fafb;
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: #375056;
  font-size: 0.95rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: #1e2f33;
  background: #ffffff;
  border: 1px solid #cad5d8;
  border-radius: 9px;
  padding: 12px 12px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b9aa0;
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #89a8af;
  box-shadow: 0 0 0 3px rgba(41, 85, 93, 0.16);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field-wide {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.form-note {
  color: #5f6f73;
  font-size: 0.95rem;
}

.map-wrap {
  min-height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d6dde0;
  background: #ffffff;
}

.contact-panel-location .map-wrap {
  margin-top: 10px;
  min-height: 0;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.contact-panel-location .map-embed {
  display: block;
  width: 100%;
  min-height: 320px;
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin: 26px 0 8px;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.legal-content h3 {
  margin: 20px 0 8px;
  color: var(--brand-dark);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: 1.64rem;
  font-weight: 500;
  line-height: 1.15;
}

.legal-content ul {
  margin: 8px 0 16px 22px;
}

.site-footer {
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding: 44px clamp(24px, 4vw, 88px) 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.78fr 0.78fr;
  column-gap: clamp(24px, 2.8vw, 42px);
  row-gap: 22px;
}

.footer-grid > :first-child {
  padding-right: clamp(8px, 1vw, 16px);
}

@media (min-width: 1280px) {
  .footer-grid > :first-child .footer-title {
    white-space: nowrap;
  }
}

.footer-title {
  margin: 0 0 8px;
  color: var(--brand);
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 500;
}

.footer-text {
  margin: 0 0 10px;
  color: var(--brand);
}

.footer-contact-line,
.footer-link-line {
  margin: 0 0 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--brand);
}

.footer-link-line a {
  color: var(--brand);
  text-decoration: none;
}

.footer-contact-line a {
  color: inherit;
  text-decoration: none;
}

.footer-link-line a:hover,
.footer-link-line a:focus-visible {
  color: #1f4349;
  text-decoration: underline;
}

.footer-contact-line a:hover,
.footer-contact-line a:focus-visible {
  color: #1f4349;
  text-decoration: underline;
}

.footer-open-hours {
  margin: 2px 0 8px;
  color: var(--brand);
}

.footer-bottom {
  margin-top: 16px;
  border-top: 1px solid #d3dadd;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  color: var(--brand);
  font-size: 0.92rem;
}

.footer-credit {
  margin-left: auto;
  text-align: right;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  font-size: 0;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), filter 220ms var(--ease);
}

.whatsapp-float::before {
  content: "";
  width: 30px;
  height: 30px;
  background: url("images/whatsapp-official.svg") center / contain no-repeat;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.42);
  opacity: 0;
  transform: scale(0.88);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  filter: brightness(0.98);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.whatsapp-float:hover::after,
.whatsapp-float:focus-visible::after {
  opacity: 1;
  animation: whatsapp-pulse 1.35s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.55;
    transform: scale(0.88);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 23, 26, 0.14);
  backdrop-filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}

.mobile-menu-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 18px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(180deg, rgba(8, 38, 44, 0.82), rgba(10, 46, 52, 0.82));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  overflow: auto;
  transform: translateY(-8px) scale(0.99);
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.mobile-menu-close {
  position: relative;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.mobile-menu-nav a {
  color: #edf5f6;
  text-decoration: none;
  font-family: "Century Gothic", "CenturyGothic", "AppleGothic", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.05rem, 3.8vw, 1.22rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  padding: 8px 6px;
  border-radius: 8px;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible,
.mobile-menu-nav a[aria-current="page"] {
  color: #cde8ec;
  background: rgba(255, 255, 255, 0.08);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .mobile-menu-panel {
  transform: translateY(0) scale(1);
}

body.menu-open .menu-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translate3d(42px, 0, 0);
  will-change: transform, opacity;
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-header.menu-collapsed .site-nav,
.site-header.menu-collapsed .header-phone {
  display: none;
}

.site-header.menu-collapsed .header-phone-compact {
  display: inline-flex;
  margin-left: auto;
}

.site-header.menu-collapsed.menu-collapsed-phone-full .header-phone {
  display: inline-flex;
  margin-left: auto;
}

.site-header.menu-collapsed.menu-collapsed-phone-full .header-phone-compact {
  display: none;
}

.site-header.menu-collapsed .menu-toggle {
  display: inline-flex;
  margin-left: 8px;
}

@media (max-width: 1120px) {
  .header-bar {
    padding: 16px 26px;
  }

  .brand-main {
    font-size: clamp(1.62rem, 3.2vw, 2.2rem);
  }

  .brand-sub {
    font-size: 0.83rem;
  }

  .hero-home {
    min-height: 560px;
  }

  .hero-copy {
    min-height: 560px;
    padding: 56px 36px;
    width: min(66%, 650px);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    padding-right: 0;
  }
}

@media (max-width: 920px) {
  body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-synthesis: none;
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .header-bar {
    padding: 14px 16px;
    gap: 16px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-main {
    font-size: clamp(1.36rem, 7vw, 2rem);
  }

  .brand-sub {
    font-size: 0.74rem;
  }

  .hero-home {
    min-height: auto;
  }

  .hero-home::before {
    background: linear-gradient(180deg, rgba(248, 249, 249, 0.88) 0%, rgba(248, 249, 249, 0.8) 36%, rgba(248, 249, 249, 0.36) 100%);
  }

  .hero-media,
  .hero-media img {
    position: absolute;
  }

  .hero-copy {
    width: 100%;
    min-height: 450px;
    padding: 46px 20px;
  }

  .hero-slider-indicators {
    bottom: 10px;
    gap: 8px;
  }

  .hero-slider-dot {
    width: 30px;
  }

  .home-actions {
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .section-inner {
    padding: 42px 18px;
  }

  .about-grid,
  .contact-grid,
  .team-grid,
  .footer-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero-copy {
    width: 100%;
    min-height: 450px;
    padding: 46px 20px;
  }

  .page-hero-media {
    position: absolute;
  }

  .page-hero-media img {
    position: absolute;
  }

  .page-kontakt .page-hero.page-hero-banner {
    display: none;
  }

  .map-embed {
    min-height: 320px;
  }

  .whatsapp-float {
    right: 14px;
    top: 50%;
  }

  .footer-credit {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: clamp(2.5rem, 16vw, 3.7rem);
  }

  .hero-copy h2 {
    font-size: clamp(1.82rem, 9.2vw, 2.5rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

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

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

  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Keep this at the end so it overrides section-specific font-family rules on iPhone/iPad. */
@supports (-webkit-touch-callout: none) {
  body,
  button,
  input,
  select,
  textarea,
  .brand-main,
  .section-title,
  .eyebrow,
  .hero-copy h1,
  .hero-copy h2,
  .hero-copy .hero-subtitle,
  .page-hero-copy h1,
  .service-card h3,
  .process-card h3,
  .team-card h3,
  .contact-panel h2,
  .footer-title,
  .legal-content h2,
  .legal-content h3 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  }
}
