:root {
  --bg: #f8f7f3;
  --surface: #ffffff;
  --surface-soft: #f1f5f4;
  --text: #172126;
  --muted: #66757b;
  --line: rgba(23, 33, 38, 0.12);
  --teal: #078aa0;
  --teal-dark: #076574;
  --teal-soft: rgba(7, 138, 160, 0.12);
  --shadow: 0 24px 80px rgba(23, 33, 38, 0.08);
  --max: 1080px;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(7, 138, 160, 0.06), transparent 28rem),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 72%, #eef3f2 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: min(44vh, 38rem);
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

body::before {
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
  animation: koffmaticDrift 28s ease-in-out infinite alternate;
  background-image:
    linear-gradient(180deg, rgba(248, 247, 243, 0) 0%, rgba(248, 247, 243, 0.58) 35%, rgba(239, 245, 244, 0.82) 100%),
    url("data:image/svg+xml,%3Csvg width='1600' height='560' viewBox='0 0 1600 560' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23078aa0' stroke-opacity='.28' stroke-width='1.4'%3E%3Cpath d='M0 415 115 370 210 430 345 335 520 450 710 330 910 430 1120 315 1300 390 1600 300'/%3E%3Cpath d='M80 430v-86l75-43 75 43v86l-75 43z'/%3E%3Cpath d='M1210 420v-102l88-51 88 51v102l-88 51z'/%3E%3Cpath d='M760 455v-70l60-35 60 35v70l-60 35z'/%3E%3Ccircle cx='535' cy='342' r='34' stroke-dasharray='90 48'/%3E%3Ccircle cx='650' cy='485' r='42' stroke-dasharray='84 72'/%3E%3Cpath d='M1030 430h160M1110 350v130M1360 275l120 85M1430 250l95 65'/%3E%3C/g%3E%3Cg fill='%23078aa0' fill-opacity='.42'%3E%3Ccircle cx='145' cy='300' r='6'/%3E%3Ccircle cx='225' cy='302' r='5'/%3E%3Ccircle cx='345' cy='335' r='4'/%3E%3Ccircle cx='995' cy='392' r='6'/%3E%3Ccircle cx='1224' cy='302' r='5'/%3E%3Ccircle cx='1535' cy='346' r='6'/%3E%3C/g%3E%3Cg fill='%23172126' fill-opacity='.18'%3E%3Ccircle cx='430' cy='382' r='5'/%3E%3Ccircle cx='1030' cy='430' r='4'/%3E%3Ccircle cx='1385' cy='281' r='5'/%3E%3C/g%3E%3Cg fill='%23078aa0' fill-opacity='.22'%3E%3Cpath d='M0 500 160 425 340 512 510 410 720 520 920 402 1100 510 1290 400 1600 520v40H0z'/%3E%3C/g%3E%3Cg fill='%23172126' fill-opacity='.035'%3E%3Cpath d='M0 350h290L165 560zM290 350h260L430 560zM550 350h270L690 560zM820 350h280L960 560zM1100 350h300l-160 210zM1400 350h200v210z'/%3E%3C/g%3E%3C/svg%3E");
}

body::after {
  height: min(34vh, 28rem);
  opacity: 0.38;
  transform: translate3d(0, 0, 0);
  animation: koffmaticPulse 18s ease-in-out infinite alternate;
  background-image:
    radial-gradient(circle at 12% 74%, rgba(7, 138, 160, 0.11), transparent 9rem),
    radial-gradient(circle at 64% 70%, rgba(7, 138, 160, 0.09), transparent 8rem),
    radial-gradient(circle at 88% 82%, rgba(23, 33, 38, 0.06), transparent 11rem);
}

@keyframes koffmaticDrift {
  0% {
    transform: translate3d(-0.8rem, 0.4rem, 0) scale(1.01);
    opacity: 0.66;
  }

  50% {
    transform: translate3d(0.6rem, -0.35rem, 0) scale(1.018);
    opacity: 0.82;
  }

  100% {
    transform: translate3d(1.1rem, 0.2rem, 0) scale(1.012);
    opacity: 0.72;
  }
}

@keyframes koffmaticPulse {
  0% {
    transform: translate3d(0, 0.6rem, 0) scale(1);
    opacity: 0.28;
  }

  100% {
    transform: translate3d(0, -0.6rem, 0) scale(1.05);
    opacity: 0.46;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--pad);
  background: rgba(248, 247, 243, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  overflow: visible;
}

.brand-mark-path {
  filter: drop-shadow(0 0 0.2rem rgba(23, 153, 174, 0.12));
  animation: koffmaticGapGlide 6s ease-in-out infinite;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal-dark);
}

.menu-button {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) var(--pad);
}

.hero {
  min-height: calc(100vh - 5.25rem);
  display: flex;
  align-items: center;
  padding-top: clamp(5rem, 11vw, 9rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.5rem;
  max-width: 12ch;
  font-size: clamp(3.3rem, 10vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
  font-weight: 520;
}

h2 {
  margin-bottom: 1.2rem;
  max-width: 13ch;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 520;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 580;
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--teal);
  border-radius: 0.25rem;
  background: var(--teal);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.text-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 0.25rem;
}

.text-link span,
.inline-link span {
  color: var(--teal);
  font-size: 1.4em;
  line-height: 1;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.section-heading h2 {
  max-width: 15ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.service-card {
  min-height: 20rem;
  padding-right: clamp(1rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.service-card p {
  color: var(--muted);
}

.icon {
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: 1.75rem;
  color: var(--teal);
}

.icon svg,
.product-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inline-link {
  margin-top: 1.25rem;
  color: var(--teal-dark);
}

.product-highlight {
  padding-top: clamp(2rem, 4vw, 4rem);
}

.product-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-card h2 {
  margin-bottom: 0.5rem;
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.product-card p:not(.eyebrow) {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
}

.product-icon {
  width: 5.25rem;
  height: 5.25rem;
  color: var(--teal);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.about h2 {
  max-width: 12ch;
}

.about-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.9fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.contact h2 {
  max-width: 9ch;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.contact-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
  color: var(--text);
  font-weight: 650;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.contact-list span span,
.contact-list a span {
  color: var(--teal);
}


.whatsapp-button {
  appearance: none;
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.whatsapp-button img {
  display: block;
  width: min(13.5rem, 100%);
  height: auto;
}

.whatsapp-button:hover {
  transform: translateY(-1px);
}

.whatsapp-button:focus-visible {
  outline: 3px solid var(--teal-soft);
  outline-offset: 0.35rem;
  border-radius: 0.4rem;
}

.whatsapp-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 33, 38, 0.18);
  border-radius: 0.6rem;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 0.85rem 0.95rem;
}

input:focus,
textarea:focus {
  outline: 3px solid var(--teal-soft);
  border-color: var(--teal);
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad) 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--text);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
  text-align: right;
}

.footer-links a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 4.5rem;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: var(--pad);
    right: var(--pad);
    display: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 5.5rem;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 12.4vw, 4.15rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .lead {
    max-width: 100%;
    font-size: clamp(1.05rem, 5vw, 1.3rem);
  }

  .service-grid,
  .about,
  .contact,
  .product-card {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 0 0 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .product-card {
    align-items: start;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    text-align: left;
  }
}


@media (max-width: 430px) {
  .hero-actions {
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    width: fit-content;
  }
}

@keyframes koffmaticGapGlide {
  0%, 9% {
    stroke-dashoffset: 0;
  }

  16.666%, 25.666% {
    stroke-dashoffset: -24;
  }

  33.333%, 42.333% {
    stroke-dashoffset: -48;
  }

  50%, 59% {
    stroke-dashoffset: -72;
  }

  66.666%, 75.666% {
    stroke-dashoffset: -96;
  }

  83.333%, 92.333% {
    stroke-dashoffset: -120;
  }

  100% {
    stroke-dashoffset: -144;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark-path {
    animation: none;
  }
}