:root {
  --bg: #f7f7f2;
  --text: #1f2933;
  --muted: #5f6b76;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --surface: #ffffff;
  --border: #dde3e1;
  --font-body: "Avenir Next", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-display: "Avenir Next", "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  padding: 14px 18px;
  background: transparent;
  pointer-events: auto;
  transition:
    padding 0.25s ease,
    background 0.25s ease;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 18px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition:
    max-width 0.25s ease,
    padding 0.25s ease,
    border-radius 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 200px;
  height: 80px;
  overflow: hidden;
  border-radius: 14px;
  transition:
    width 0.25s ease,
    height 0.25s ease,
    border-radius 0.25s ease;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.35) brightness(0.94);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0 0 0 auto;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover {
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-dark);
  box-shadow: none;
}

.nav-links .nav-cta:hover {
  background: rgba(15, 118, 110, 0.16);
  color: var(--accent-dark);
}

.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  border-color: rgba(15, 118, 110, 0.72);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.nav-links a.is-active:hover,
.nav-links a[aria-current="page"]:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.menu-button {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(247, 247, 242, 0.24);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

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

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

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

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.country-selector {
  position: relative;
  margin-left: 0;
}

.country-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 20px;
  background: rgba(15, 118, 110, 0.06);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.country-button:hover {
  background: rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.32);
}

.country-flag {
  font-size: 1.4em;
  line-height: 1;
}

.country-code {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.country-name {
  display: none;
}

.country-arrow {
  fill: var(--accent-dark);
  transition: transform 0.2s ease;
}

.country-button.is-open .country-arrow {
  transform: rotate(180deg);
}

.country-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  min-width: 92px;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 4px;
  padding: 8px 0;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 12px;
  background: rgba(247, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.country-dropdown[hidden] {
  display: none !important;
}

.country-dropdown.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.country-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s ease;
}

.country-option .country-code {
  min-width: 20px;
  color: var(--accent-dark);
}

.country-option:hover {
  background: rgba(15, 118, 110, 0.08);
}

.country-option.is-selected {
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-dark);
  font-weight: 600;
}

.site-header.is-scrolled {
  padding: 7px 18px;
  background: transparent;
  pointer-events: auto;
}

.site-header.is-scrolled .navbar {
  max-width: 860px;
  padding: 7px 12px;
  border-color: rgba(31, 41, 51, 0.16);
  border-radius: 999px;
  background: rgba(247, 247, 242, 0.88);
  box-shadow: 0 10px 26px rgba(31, 41, 51, 0.14);
  backdrop-filter: blur(16px);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.site-header.is-scrolled .logo {
  width: 140px;
  height: 56px;
  border-radius: 999px;
  margin-left: -40px;
}

.site-header.is-scrolled .country-selector {
  margin-left: 0;
}

.site-header.is-scrolled .country-button {
  padding: 6px 8px;
}

.site-header.is-scrolled .country-flag {
  font-size: 1.3em;
}

.site-header.is-scrolled .nav-links a {
  min-height: 34px;
  padding: 0 13px;
  font-size: 0.92rem;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px 24px 92px;
  background:
    linear-gradient(
      90deg,
      rgba(247, 247, 242, 0.97) 0%,
      rgba(247, 247, 242, 0.9) 48%,
      rgba(247, 247, 242, 0.72) 100%
    ),
    url("assets/hero-tools-background.jpg")
      center / cover;
}

@media (max-width: 960px) {
  .hero {
    background:
      linear-gradient(
        90deg,
        rgba(247, 247, 242, 0.97) 0%,
        rgba(247, 247, 242, 0.9) 48%,
        rgba(247, 247, 242, 0.72) 100%
      ),
      url("assets/hero-tools-background-tablet.jpg")
        center / cover;
  }
}

@media (max-width: 520px) {
  .hero {
    background:
      linear-gradient(
        90deg,
        rgba(247, 247, 242, 0.97) 0%,
        rgba(247, 247, 242, 0.9) 48%,
        rgba(247, 247, 242, 0.72) 100%
      ),
      url("assets/hero-tools-background-mobile.jpg")
        center / cover;
  }
}

.hero-content,
.section {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  width: 100%;
  display: block;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 8.8rem;
  line-height: 0.88;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.2;
}

.hero-main {
  max-width: 760px;
}

.hero-main .eyebrow {
  animation: textRise 0.65s ease both;
}

.hero-main h1 {
  animation: textRise 0.75s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 24px;
  color: var(--accent-dark);
  font-size: 2.6rem;
  font-weight: 850;
  line-height: 1.08;
  animation: textRise 0.75s ease 0.18s both;
}

.hero-copy {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.78;
  animation: textRise 0.75s ease 0.28s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  animation: textRise 0.75s ease 0.38s both;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cards .card:nth-child(2) {
  transition-delay: 0.08s;
}

.cards .card:nth-child(3) {
  transition-delay: 0.16s;
}

.cards .card:nth-child(4) {
  transition-delay: 0.24s;
}

.cards .card:nth-child(5) {
  transition-delay: 0.32s;
}

@keyframes textRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.primary-button,
.secondary-button,
.contact-form button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.contact-form.is-sending button::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  content: "";
  animation: spin 0.72s linear infinite;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.secondary-button {
  border: 1px solid rgba(31, 41, 51, 0.16);
  background: rgba(255, 255, 255, 0.34);
  color: var(--text);
}

.primary-button:hover,
.contact-form button:hover {
  background: var(--accent-dark);
}

.secondary-button:hover {
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-dark);
}

.section {
  padding: 72px 24px;
}

.section-heading {
  max-width: 620px;
}

.section-heading > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.card {
  position: relative;
  min-height: 380px;
  border-radius: 8px;
  cursor: pointer;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  outline: none;
}

.card-inner {
  position: relative;
  width: 100%;
  min-height: inherit;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 0.68s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.card.is-flipped .card-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.card:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: 4px;
}

.card-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 64px minmax(44px, auto) 1fr auto;
  column-gap: 16px;
  row-gap: 14px;
  justify-items: start;
  align-items: start;
  min-height: inherit;
  align-content: start;
  overflow: hidden;
  padding: 24px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 8px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 246, 0.86)),
    var(--surface);
  transition:
    opacity 0.7s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.card-front {
  -webkit-transform: rotateY(0deg) translateZ(1px);
  transform: rotateY(0deg) translateZ(1px);
}

.card-front::after {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.08);
  content: "";
  transform: scale(0.8);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.card-back {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.96), rgba(17, 94, 89, 0.98)),
    var(--accent-dark);
  color: #ffffff;
  -webkit-transform: rotateY(180deg) translateZ(1px);
  transform: rotateY(180deg) translateZ(1px);
}

.card:hover .card-face,
.card:focus .card-face,
.card.is-flipped .card-face {
  border-color: rgba(15, 118, 110, 0.24);
  box-shadow: 0 16px 34px rgba(31, 41, 51, 0.08);
}

.card:hover .card-front::after,
.card:focus .card-front::after,
.card.is-flipped .card-front::after {
  transform: scale(1);
}

.card:hover .card-icon {
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.12);
  transform: translateY(-4px) rotate(-2deg);
}

.card:hover .service-icon-img {
  animation: none;
  transform: scale(1.06);
}

@keyframes iconHop {
  0%,
  72%,
  100% {
    transform: translateY(0);
  }

  82% {
    transform: translateY(-7px);
  }

  90% {
    transform: translateY(0);
  }
}

.card-front h3 {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  width: 100%;
  max-width: none;
  min-height: 44px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.card-front p,
.about-copy p {
  color: var(--muted);
}

.card-front p {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: start;
  max-width: none;
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.card-back-label {
  grid-row: 1;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-back h3 {
  grid-row: 2;
  margin-bottom: 0;
  color: #ffffff;
  font-size: 1.24rem;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.card-back p {
  grid-row: 3;
  align-self: start;
  flex: 1 1 auto;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.card-cta {
  grid-column: 1 / -1;
  grid-row: 4;
  align-self: end;
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.card-cta:hover,
.card-cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(221, 227, 225, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(31, 41, 51, 0.18);
  backdrop-filter: blur(14px);
}

.cookie-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-copy a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.cookie-accept {
  background: var(--accent);
  color: #ffffff;
}

.cookie-decline {
  background: #ffffff;
  color: var(--text);
}

.cookie-accept:hover {
  background: var(--accent-dark);
}

.cookie-decline:hover {
  background: rgba(15, 118, 110, 0.08);
}

.card-number {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  z-index: 1;
  color: rgba(31, 41, 51, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
}

.card-icon {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  height: 64px;
  min-height: 64px;
  margin: 0;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-dark);
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.38),
    0 14px 28px rgba(31, 41, 51, 0.08);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.service-icon-img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  animation: iconHop 3.2s ease-in-out infinite;
  transition: transform 0.25s ease;
}

.cards .card:nth-child(2) .service-icon-img {
  animation-delay: 0.22s;
}

.cards .card:nth-child(3) .service-icon-img {
  animation-delay: 0.44s;
}

.cards .card:nth-child(4) .service-icon-img {
  animation-delay: 0.66s;
}

.cards .card:nth-child(5) .service-icon-img {
  animation-delay: 0.88s;
}

.cards .card:nth-child(2) .service-icon-img,
.cards .card:nth-child(3) .service-icon-img {
  width: 34px;
  height: 34px;
}

.gallery {
  border-top: 1px solid var(--border);
}

.gallery-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: stretch;
}

.gallery-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.gallery-copy h2 {
  margin-bottom: 0;
}

.gallery-copy > p {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.62;
}

.gallery-tabs {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.gallery-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.gallery-tab span {
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 650;
}

.gallery-tab:hover,
.gallery-tab:focus-visible {
  border-color: rgba(15, 118, 110, 0.26);
  background: rgba(15, 118, 110, 0.08);
  transform: translateX(4px);
}

.gallery-tab:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: 3px;
}

.gallery-tab.is-active {
  border-color: rgba(15, 118, 110, 0.72);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.2);
  transform: translateX(4px);
}

.gallery-tab.is-active span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.gallery-stage {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 8px;
  background: #dfe8e4;
  box-shadow: 0 22px 54px rgba(31, 41, 51, 0.13);
  isolation: isolate;
}

.gallery-stage::before {
  position: absolute;
  inset: 16px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.035);
  transition:
    opacity 0.55s ease,
    transform 0.9s ease;
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.gallery-slide::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(31, 41, 51, 0) 34%, rgba(31, 41, 51, 0.76)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.24), rgba(15, 118, 110, 0));
  content: "";
  pointer-events: none;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.02);
}

.gallery-slide.is-active img {
  animation: galleryImageDrift 5.2s ease-in-out both;
}

.gallery-slide:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: -8px;
}

.gallery-image-left {
  object-position: left center;
}

.gallery-image-center {
  object-position: center center;
}

.gallery-image-right {
  object-position: right center;
}

.gallery-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 6px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(31, 41, 51, 0.42);
  transform: translateY(16px);
  opacity: 0;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.gallery-slide.is-active .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-title {
  display: block;
  font-size: 1.44rem;
  font-weight: 600;
  line-height: 1.14;
}

.gallery-caption small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  font-weight: 450;
  line-height: 1.35;
}

.gallery-progress {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 18px;
  z-index: 4;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.gallery-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
}

.gallery-stage.is-animating .gallery-progress span {
  animation: galleryProgress 5.2s linear both;
}

@keyframes galleryImageDrift {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.01);
  }
}

@keyframes galleryProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.about-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: stretch;
}

.about-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.about-copy h2 {
  margin-bottom: 18px;
}

.about-copy p {
  max-width: 680px;
  margin-bottom: 14px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-points {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.about-points div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  align-content: center;
  align-items: center;
  min-width: 0;
  min-height: 124px;
  padding: 18px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 246, 0.86)),
    var(--surface);
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.07);
}

.about-points span {
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.about-points strong {
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.about-points p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 30px;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 246, 0.9)),
    var(--surface);
  box-shadow: 0 18px 42px rgba(31, 41, 51, 0.08);
}

.honey-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-weight: 700;
}

.contact-form label:nth-of-type(3),
.contact-form label:nth-of-type(4),
.contact-form label:nth-of-type(5),
.contact-form button,
.form-note,
.form-message,
.company-contact,
.contact-reviews {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  background: var(--surface);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%),
    linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--accent);
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.contact-form button {
  justify-self: start;
  min-width: 210px;
}

.form-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-message.is-error {
  color: #b42318;
}

.company-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(242, 248, 246, 0.82)),
    var(--surface);
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.07);
}

.company-contact div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.company-contact span {
  color: #1f2933;
  font-size: 0.76rem;
  font-weight: 800;
}

.company-contact a,
.company-contact .contact-value {
  color: #111827;
  font-size: 0.94rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.company-contact .contact-value {
  margin: 0;
}

.company-contact a:hover {
  text-decoration: underline;
}

.quick-contact-actions {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  top: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: 180px;
  transform: translateY(-50%);
  transform-origin: right center;
}

.phone-float,
.whatsapp-float {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 60px;
  min-width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-dark);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 0 0 1px rgba(15, 118, 110, 0.08) inset;
  backdrop-filter: blur(18px) saturate(1.16);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    width 0.24s ease;
  overflow: hidden;
}

.phone-float {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-dark);
}

.phone-icon,
.whatsapp-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 8px 18px rgba(15, 118, 110, 0.16),
    inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.phone-icon {
  background: linear-gradient(135deg, #0f766e, #0a4f4a);
  color: #ffffff;
  box-shadow:
    0 10px 22px rgba(15, 118, 110, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.phone-icon svg,
.whatsapp-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.whatsapp-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow:
    0 10px 22px rgba(37, 211, 102, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.quick-contact-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 0;
  padding-right: 2px;
  opacity: 0;
  transform: translateX(-8px);
  white-space: nowrap;
  transition:
    max-width 0.26s ease,
    opacity 0.2s ease,
    transform 0.22s ease;
}

.phone-float::before,
.whatsapp-float::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent 42%),
    linear-gradient(90deg, rgba(15, 118, 110, 0.07), transparent 58%);
  content: "";
  pointer-events: none;
}

.phone-float::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent 42%),
    linear-gradient(90deg, rgba(15, 118, 110, 0.07), transparent 58%);
}

.phone-float:hover,
.whatsapp-float:hover,
.phone-float:focus-visible,
.whatsapp-float:focus-visible {
  width: 156px;
  border-color: rgba(15, 118, 110, 0.26);
  text-decoration: none;
  box-shadow:
    0 24px 54px rgba(15, 23, 42, 0.2),
    0 10px 24px rgba(15, 118, 110, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 0 0 1px rgba(15, 118, 110, 0.1) inset;
  transform: translateX(-6px);
}

.phone-float:hover .quick-contact-label,
.whatsapp-float:hover .quick-contact-label,
.phone-float:focus-visible .quick-contact-label,
.whatsapp-float:focus-visible .quick-contact-label {
  max-width: 92px;
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float:hover {
  color: #0a4f4a;
}

.phone-float:hover {
  color: #0a4f4a;
}

.contact-map {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.07);
}

.map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.map-heading h3 {
  margin-bottom: 4px;
  font-size: 1.32rem;
  line-height: 1.16;
}

.map-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-map iframe,
.map-consent {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-map iframe {
  filter: saturate(0.92) contrast(1.02);
}

.map-consent {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(247, 247, 242, 0.96), rgba(255, 255, 255, 0.86)),
    var(--surface);
}

.map-consent p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.map-consent-button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 850;
  cursor: pointer;
}

.map-consent-button:hover {
  background: var(--accent-dark);
}

.contact-reviews {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.07);
}

.review-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.review-heading h3 {
  margin-bottom: 0;
  font-size: 1.42rem;
  line-height: 1.15;
}

.review-heading > p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.5;
  text-align: right;
}

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

.review-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: auto;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.review-profile {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.review-avatar {
  display: block;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.14);
}

.review-name {
  display: block;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.review-service {
  display: block;
  margin-top: 2px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.review-stars {
  display: block;
  color: #d89b1d;
  font-size: 0.98rem;
  line-height: 1;
}

.review-text {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.send-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 41, 51, 0.34);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.send-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.send-frame {
  position: relative;
  width: min(520px, 100%);
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(31, 41, 51, 0.28);
}

.send-status {
  min-height: 28px;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-weight: 850;
  text-align: center;
}

.send-overlay.is-success .send-status {
  color: var(--accent-dark);
}

.send-overlay.is-error .send-status {
  color: #b42318;
}

.send-stage {
  position: relative;
  height: 238px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(242, 248, 246, 0.98), rgba(255, 255, 255, 0.96)),
    var(--surface);
}

.send-destination {
  position: absolute;
  top: 30px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 138px;
  height: 92px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(31, 41, 51, 0.09);
}

.send-destination span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.send-destination small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.send-envelope {
  position: absolute;
  left: 46px;
  bottom: 44px;
  width: 128px;
  height: 82px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(31, 41, 51, 0.16);
  transform-origin: center;
}

.send-overlay.is-active .send-envelope {
  animation: sendEnvelopeTravel 5.2s cubic-bezier(0.2, 0.8, 0.18, 1) both;
}

.send-envelope::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 8px;
  background: linear-gradient(145deg, #e9f3f0, #ffffff);
  clip-path: polygon(0 20%, 50% 66%, 100% 20%, 100% 100%, 0 100%);
  content: "";
}

.send-paper {
  position: absolute;
  left: 27px;
  top: -44px;
  z-index: 2;
  width: 74px;
  height: 56px;
  border-radius: 5px;
  background:
    linear-gradient(#0f766e, #0f766e) 14px 15px / 42px 3px no-repeat,
    linear-gradient(#b9cfcb, #b9cfcb) 14px 26px / 34px 3px no-repeat,
    linear-gradient(#d8e4e1, #d8e4e1) 14px 37px / 28px 3px no-repeat,
    #ffffff;
  box-shadow: 0 9px 18px rgba(31, 41, 51, 0.13);
}

.send-overlay.is-active .send-paper {
  animation: sendPaperPack 5.2s ease-in-out both;
}

.send-flap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 54%;
  border-radius: 8px 8px 0 0;
  background: #d7ebe6;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform-origin: top center;
}

.send-overlay.is-active .send-flap {
  animation: sendFlapClose 5.2s ease-in-out both;
}

.send-left,
.send-right {
  position: absolute;
  bottom: 0;
  z-index: 5;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.74);
}

.send-left {
  left: 0;
  clip-path: polygon(0 0, 100% 52%, 0 100%);
}

.send-right {
  right: 0;
  clip-path: polygon(100% 0, 0 52%, 100% 100%);
}

.send-line {
  position: absolute;
  left: 62px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.24);
  opacity: 0;
}

.send-line-one {
  bottom: 98px;
  width: 52px;
}

.send-line-two {
  bottom: 78px;
  width: 76px;
}

.send-line-three {
  bottom: 58px;
  width: 42px;
}

.send-overlay.is-active .send-line {
  animation: sendLines 5.2s ease-in-out both;
}

.send-overlay.is-active .send-line-two {
  animation-delay: 0.1s;
}

.send-overlay.is-active .send-line-three {
  animation-delay: 0.18s;
}

.mail-animation {
  position: absolute;
  right: 20px;
  bottom: 54px;
  z-index: 3;
  width: 86px;
  height: 62px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
}

.mail-envelope {
  position: absolute;
  inset: 12px 0 0;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(31, 41, 51, 0.18);
  overflow: hidden;
}

.mail-envelope::before,
.mail-envelope::after {
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(145deg, #e9f3f0, #ffffff);
  content: "";
}

.mail-envelope::before {
  left: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.mail-envelope::after {
  right: 0;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.mail-flap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 58%;
  background: #d7ebe6;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform-origin: top center;
}

.mail-paper {
  position: absolute;
  left: 16px;
  top: -13px;
  z-index: 2;
  width: 54px;
  height: 38px;
  border-radius: 4px;
  background:
    linear-gradient(#0f766e, #0f766e) 11px 12px / 31px 2px no-repeat,
    linear-gradient(#c8d8d5, #c8d8d5) 11px 20px / 26px 2px no-repeat,
    #ffffff;
  box-shadow: 0 6px 14px rgba(31, 41, 51, 0.12);
}

.mail-trail {
  position: absolute;
  left: -34px;
  top: 29px;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.32);
  opacity: 0;
  box-shadow:
    -16px 9px 0 rgba(15, 118, 110, 0.18),
    -9px -9px 0 rgba(15, 118, 110, 0.2);
}

.contact-form.is-sending .mail-animation {
  animation: mailFly 1.7s ease-in-out both;
}

.contact-form.is-sending .mail-paper {
  animation: paperPack 1.7s ease-in-out both;
}

.contact-form.is-sending .mail-flap {
  animation: flapClose 1.7s ease-in-out both;
}

.contact-form.is-sending .mail-trail {
  animation: trailShow 1.7s ease-in-out both;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes paperPack {
  0% {
    transform: translateY(-18px);
  }

  34%,
  100% {
    transform: translateY(20px);
  }
}

@keyframes flapClose {
  0%,
  32% {
    transform: rotateX(0deg);
  }

  48%,
  100% {
    transform: rotateX(180deg);
  }
}

@keyframes trailShow {
  0%,
  46% {
    opacity: 0;
    transform: translateX(10px);
  }

  58%,
  84% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-6px);
  }
}

@keyframes mailFly {
  0% {
    opacity: 0;
    transform: translate(0, 12px) scale(0.92) rotate(0deg);
  }

  12%,
  46% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(118px, -94px) scale(0.58) rotate(12deg);
  }
}

@keyframes sendPaperPack {
  0%,
  12% {
    opacity: 1;
    transform: translateY(-12px);
  }

  28%,
  100% {
    opacity: 1;
    transform: translateY(48px);
  }
}

@keyframes sendFlapClose {
  0%,
  30% {
    transform: rotateX(0deg);
  }

  42%,
  100% {
    transform: rotateX(180deg);
  }
}

@keyframes sendEnvelopeTravel {
  0% {
    opacity: 0;
    transform: translate(0, 18px) scale(0.9) rotate(0deg);
  }

  10%,
  42% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  62% {
    opacity: 1;
    transform: translate(150px, -54px) scale(0.84) rotate(7deg);
  }

  82% {
    opacity: 1;
    transform: translate(238px, -88px) scale(0.58) rotate(10deg);
  }

  100% {
    opacity: 0;
    transform: translate(272px, -92px) scale(0.28) rotate(10deg);
  }
}

@keyframes sendLines {
  0%,
  44% {
    opacity: 0;
    transform: translateX(18px);
  }

  56%,
  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-26px);
  }
}

.site-footer {
  padding: 28px 24px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 12px;
}

.footer-links a,
.footer-cookie-button {
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 700;
}

.footer-cookie-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-links a:hover,
.footer-cookie-button:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin: 0 0 12px;
}

.social-links button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.14);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.social-links svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-instagram svg circle:last-child {
  fill: currentColor;
  stroke: none;
}

.social-facebook {
  background: #1877f2;
}

.social-instagram {
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 18%, #fa7e1e 36%, transparent 37%),
    linear-gradient(135deg, #833ab4, #c13584 42%, #fd1d1d 72%, #f77737);
}

.social-tiktok {
  background: #050505;
}

.social-tiktok svg {
  filter:
    drop-shadow(-1px 0 0 #25f4ee)
    drop-shadow(1px 0 0 #fe2c55);
}

.social-links button:hover,
.social-links button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(31, 41, 51, 0.18);
}

.social-links button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: 3px;
}

.site-footer p {
  margin-bottom: 6px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.legal-main {
  padding: 150px 24px 72px;
}

.legal-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-card {
  padding: 34px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(31, 41, 51, 0.08);
  overflow-wrap: anywhere;
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 0.95;
  hyphens: auto;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

.legal-card h3 {
  margin: 20px 0 8px;
  font-size: 1.06rem;
}

.legal-card p,
.legal-card address,
.legal-card li {
  color: var(--muted);
}

.legal-card address {
  font-style: normal;
}

.legal-card ul {
  padding-left: 20px;
  margin: 8px 0 0;
}

.legal-card a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  html {
    scroll-padding-top: 86px;
  }

  h1 {
    font-size: 6.6rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-lead {
    font-size: 2.05rem;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 320px;
    min-height: 320px;
  }

  .gallery-shell {
    grid-template-columns: 1fr;
  }

  .gallery-copy > p {
    max-width: 620px;
  }

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

  .gallery-stage {
    min-height: 430px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }

  .card {
    min-height: 360px;
  }

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

  body.is-contact-active .quick-contact-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-50% + 10px));
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .cards {
    gap: 12px;
  }

  .card-face {
    padding: 18px;
    row-gap: 12px;
  }

  .card-back {
    gap: 12px;
  }

  .card-front p,
  .card-back p {
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .card-back h3 {
    font-size: 1.12rem;
  }

  .card-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  .site-header,
  .site-header.is-scrolled {
    padding: 8px 10px;
  }

  .navbar,
  .site-header.is-scrolled .navbar {
    max-width: 100%;
    padding: 8px 10px;
    border-radius: 16px;
    gap: 10px;
  }

  .logo,
  .site-header.is-scrolled .logo {
    width: 128px;
    height: 52px;
    border-radius: 12px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(247, 247, 242, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 45px rgba(31, 41, 51, 0.24);
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    transform-origin: top right;
    animation: mobileMenuPanel 0.22s ease both;
  }

  .nav-links.open li {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
    animation: mobileMenuItem 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .nav-links.open li:nth-child(1) {
    animation-delay: 0.03s;
  }

  .nav-links.open li:nth-child(2) {
    animation-delay: 0.09s;
  }

  .nav-links.open li:nth-child(3) {
    animation-delay: 0.15s;
  }

  .nav-links.open li:nth-child(4) {
    animation-delay: 0.21s;
  }

  .nav-links.open li:nth-child(5) {
    animation-delay: 0.27s;
  }

  .nav-links a {
    width: 100%;
    min-height: 44px;
    color: var(--text);
  }

  @keyframes mobileMenuPanel {
    from {
      opacity: 0;
      transform: translateY(-8px) scaleY(0.96);
    }

    to {
      opacity: 1;
      transform: translateY(0) scaleY(1);
    }
  }

  @keyframes mobileMenuItem {
    from {
      opacity: 0;
      transform: translateY(-18px) scale(0.96);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-links.open,
    .nav-links.open li {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }

  .about-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }

  .card {
    min-height: 340px;
  }

  .card-face {
    grid-template-rows: 64px minmax(44px, auto) 1fr auto;
    row-gap: 14px;
    column-gap: 16px;
    padding: 24px;
  }

  .card-icon {
    width: 64px;
    min-width: 64px;
    height: 64px;
    min-height: 64px;
    box-shadow:
      inset 0 0 0 10px rgba(255, 255, 255, 0.38),
      0 14px 28px rgba(31, 41, 51, 0.08);
  }

  .service-icon-img,
  .cards .card:nth-child(2) .service-icon-img,
  .cards .card:nth-child(3) .service-icon-img {
    width: 36px;
    height: 36px;
  }

  .card-front h3 {
    min-height: 44px;
    font-size: 1.18rem;
    line-height: 1.16;
  }

  .card-front p,
  .card-back p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .card-back {
    gap: 14px;
  }

  .card-back-label {
    font-size: 0.74rem;
  }

  .card-back h3 {
    font-size: 1.24rem;
  }

  .card-cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.84rem;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-button {
    flex: 1 1 150px;
  }

  .section {
    padding: 58px 20px;
  }

  .legal-main {
    padding: 122px 20px 58px;
  }

  .legal-card {
    padding: 24px;
  }

  h1 {
    font-size: 4.9rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .hero-lead {
    margin-bottom: 18px;
    font-size: 1.62rem;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.66;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .primary-button,
  .secondary-button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 0 12px;
    font-size: 0.92rem;
    white-space: normal;
  }

  .contact-form button {
    width: 100%;
  }

  .contact-panel {
    gap: 18px;
    margin-top: 24px;
  }

  .gallery-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-tab {
    min-height: 54px;
    padding: 0 10px;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.18;
  }

  .gallery-tab span {
    width: 30px;
    min-width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }

  .gallery-tab:nth-child(5) {
    grid-column: 1 / -1;
  }

  .gallery-stage {
    min-height: 340px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .contact-map {
    padding: 16px;
  }

  .map-heading {
    display: block;
  }

  .contact-map iframe {
    height: 300px;
    min-height: 300px;
  }

  .contact-reviews {
    padding: 16px;
  }

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

  .quick-contact-actions {
    right: 14px;
    gap: 8px;
    width: 168px;
  }

  .phone-float,
  .whatsapp-float {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0 8px;
  }

  body.is-contact-active .quick-contact-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-50% + 10px));
  }

  .review-heading {
    display: block;
  }

  .review-heading > p {
    margin-top: 8px;
    text-align: left;
  }

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

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 122px 20px 62px;
  }

  .card {
    min-height: 320px;
  }

  .card-face {
    grid-template-rows: 56px minmax(36px, auto) 1fr auto;
    row-gap: 11px;
    padding: 18px;
  }

  .card-icon {
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    box-shadow:
      inset 0 0 0 8px rgba(255, 255, 255, 0.38),
      0 10px 22px rgba(31, 41, 51, 0.08);
  }

  .service-icon-img,
  .cards .card:nth-child(2) .service-icon-img,
  .cards .card:nth-child(3) .service-icon-img {
    width: 32px;
    height: 32px;
  }

  .card-front h3,
  .card-back h3 {
    min-height: 0;
    font-size: 1.08rem;
    line-height: 1.12;
  }

  .card-front p,
  .card-back p {
    font-size: 0.86rem;
    line-height: 1.44;
  }

  .card-back {
    gap: 10px;
  }

  .card-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .card-inner,
  .card.is-flipped .card-inner {
    -webkit-transform: none;
    transform: none;
  }

  .card-face {
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .card-front,
  .card-back {
    -webkit-transform: none;
    transform: none;
  }

  .card-back {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .card.is-flipped .card-front {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .card.is-flipped .card-back {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

}

@media (max-width: 420px) {
  .navbar,
  .site-header.is-scrolled .navbar {
    padding: 7px 8px;
  }

  .logo,
  .site-header.is-scrolled .logo {
    width: 116px;
    height: 48px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .section {
    padding: 50px 16px;
  }

  .legal-main {
    padding: 112px 16px 50px;
  }

  .legal-card {
    padding: 18px;
  }

  .hero {
    padding: 112px 16px 54px;
  }

  h1 {
    font-size: 4.1rem;
  }

  .hero-lead {
    font-size: 1.42rem;
  }

  .gallery-stage {
    min-height: 292px;
  }

  .gallery-caption {
    left: 14px;
    right: 14px;
    bottom: 24px;
  }

  .gallery-title {
    font-size: 1.16rem;
  }

  .gallery-caption small {
    font-size: 0.84rem;
  }

  .gallery-progress {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .card-face {
    padding: 14px;
  }

  .card {
    min-height: 292px;
  }

  .card-back p {
    font-size: 0.84rem;
    line-height: 1.42;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .card-face {
    grid-template-rows: 48px minmax(30px, auto) 1fr auto;
    row-gap: 8px;
  }

  .card-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    box-shadow:
      inset 0 0 0 8px rgba(255, 255, 255, 0.38),
      0 10px 22px rgba(31, 41, 51, 0.08);
  }

  .service-icon-img,
  .cards .card:nth-child(2) .service-icon-img,
  .cards .card:nth-child(3) .service-icon-img {
    width: 29px;
    height: 29px;
  }

  .card-front h3,
  .card-back h3 {
    min-height: 0;
    font-size: 1rem;
    line-height: 1.12;
  }

  .card-front p {
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .card-back {
    gap: 10px;
  }

  .card-back-label {
    font-size: 0.66rem;
  }

  .card-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
  }

  .cookie-actions {
    gap: 8px;
  }

  .contact-form,
  .contact-map,
  .company-contact,
  .contact-reviews {
    padding: 14px;
  }

  .contact-form {
    gap: 14px;
  }

  .contact-form button {
    min-width: 0;
  }

  .contact-map iframe {
    height: 260px;
    min-height: 260px;
  }

  .menu-button {
    display: flex;
  }

  .phone-float,
  .whatsapp-float {
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
  }

  .phone-icon,
  .whatsapp-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .phone-icon svg,
  .whatsapp-icon svg {
    width: 19px;
    height: 19px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInFromLeft {
  from {
    opacity: 0;
    transform: scale(0.98) translateX(-32px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}

@keyframes fadeInFromRight {
  from {
    opacity: 0;
    transform: scale(0.98) translateX(32px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  animation: fadeInUp 0.56s ease-out forwards;
}

.card.reveal.is-visible {
  animation: fadeInScale 0.52s ease-out forwards;
}

.card.reveal:nth-child(1).is-visible {
  animation: fadeInFromLeft 0.52s ease-out forwards;
}

.card.reveal:nth-child(2).is-visible {
  animation: fadeInFromLeft 0.52s ease-out forwards;
}

.card.reveal:nth-child(3).is-visible {
  animation: fadeInScale 0.52s ease-out forwards;
}

.card.reveal:nth-child(4).is-visible {
  animation: fadeInFromRight 0.52s ease-out forwards;
}

.card.reveal:nth-child(5).is-visible {
  animation: fadeInFromRight 0.52s ease-out forwards;
}

.section-heading.reveal.is-visible {
  animation: fadeInUp 0.56s ease-out forwards;
}

.about-points > *.reveal.is-visible {
  animation: fadeInScale 0.52s ease-out forwards;
}

.card.reveal:nth-child(1) { animation-delay: 0.12s; }
.card.reveal:nth-child(2) { animation-delay: 0.06s; }
.card.reveal:nth-child(3) { animation-delay: 0s; }
.card.reveal:nth-child(4) { animation-delay: 0.06s; }
.card.reveal:nth-child(5) { animation-delay: 0.12s; }

.about-points > *.reveal:nth-child(1) { animation-delay: 0s; }
.about-points > *.reveal:nth-child(2) { animation-delay: 0.05s; }
.about-points > *.reveal:nth-child(3) { animation-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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