:root {
  --teal: #1294a0;
  --teal-dark: #054e54;
  --cyan: #32deed;
  --text: #054e54;
  --white: #ffffff;
  --cookie-blue: #1863dc;
  --max: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 106.25%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
}

h1, h2, h3, h4, h5, h6, p {
  color: var(--text);
}

h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

::-webkit-scrollbar { width: 20px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--teal); }
::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  color: #fff;
  transition: background-color 0.3s;
}

.site-header.is-active {
  background-color: rgba(5, 78, 84, 0.85);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px 24px;
}

.nav__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  position: relative;
  display: block;
  color: #fff !important;
  font-family: "Open Sans", Manrope, sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 13px 20px;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: var(--teal-dark);
  opacity: 0;
  transition: opacity 0.25s;
}

.nav__list a:hover { color: #fff !important; }
.nav__list a:hover::after { opacity: 1; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.nav__mobile {
  background: rgba(5, 78, 84, 0.96);
  padding: 8px 0 24px;
}

.nav__mobile ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.nav__mobile a {
  display: block;
  color: #fff;
  font-family: "Open Sans", Manrope, sans-serif;
  font-weight: 900;
  padding: 14px;
}

.nav__mobile a:hover { color: var(--cyan); }

/* Hero — Smart Slider 1200x600 fullwidth = 2:1 */
.hero {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 50%;
  overflow: hidden;
  background: #054e54;
}

.hero__slides,
.hero__slide,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(8%);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: none;
  z-index: 1;
}

.hero__overlay {
  z-index: 2;
  background: rgba(18, 148, 160, 0.31);
  pointer-events: none;
}

.hero__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 50%;
  max-width: 600px;
  transform: translate(-50%, -50%);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.hero__arrow svg {
  width: 32px;
  height: 32px;
}

.hero__arrow--prev { left: 15px; }
.hero__arrow--next { right: 15px; }

.dot-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 0 0;
}

.dot-wrap--after-hero {
  padding-bottom: 90px;
}

.dot-wrap--after-info {
  padding: 0 0 80px;
}

.dot {
  width: 24px;
  height: 20px;
  margin: 12px auto;
}

/* Info */
.info {
  width: 100%;
}

.info h2 {
  margin-bottom: 18px;
}

.info__watermark {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-image: url("../images/logo-watermark.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
}

.info__watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.95;
}

.info__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 10px auto 0;
}

.info__panel {
  padding: 0 20%;
  text-align: center;
}

.info__panel p {
  margin: 0 0 1.2em;
}

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

/* Services */
.services {
  width: 100%;
  max-width: 866px;
  margin: 0 auto;
  padding: 45px 20px 0;
}

.services h2 {
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 4.25px;
  line-height: 1.2;
  margin-bottom: 28px;
}

.services__grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 60px;
}

.services article {
  flex: 1;
  text-align: center;
}

.services__icon {
  width: 111px;
  margin: 0 auto 10px;
  opacity: 0.33;
}

.services h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
}

.services p {
  margin: 0;
  line-height: 1.8;
}

/* Gallery */
.space {
  width: 100%;
  padding: 100px 0;
  background-image: linear-gradient(180deg, #1294a030 0%, #ffffff 35%);
}

.space h2,
.products h2,
.contact > h2 {
  margin-bottom: 20px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

.gallery a {
  display: block;
  width: 33.333%;
  padding: 0 10px 10px 0;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery a:hover img {
  transform: scale(1.03);
}

/* Products */
.products {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 0;
}

.products__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 100px;
}

.products__grid img {
  height: 100px;
  width: auto;
  max-width: 30%;
  object-fit: contain;
  opacity: 0.3;
}

/* Contact */
.contact {
  width: 100%;
}

.contact > h2 {
  padding: 0 20px 8px;
}

.contact__phone,
.contact__address {
  text-align: center;
  padding: 100px 20px;
}

.contact__phone { background: var(--teal-dark); }
.contact__address { background: var(--teal); }

.contact__inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact__label,
.contact__value {
  color: #fff;
  margin: 0;
}

.contact__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 12px;
  text-transform: uppercase;
}

.contact__value,
a.contact__value {
  display: block;
  color: #fff;
  font-size: 55px;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 8px;
}

a.contact__value:hover { color: var(--cyan); }

.map {
  margin: 36px auto 0;
  overflow: hidden;
}

.map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 18px 34px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 700;
  border-radius: 2px;
}

.map-btn svg {
  width: 18px;
  height: 18px;
}

.map-btn:hover { color: var(--teal); }

/* Hours */
.hours {
  position: relative;
  padding: 10rem 20px;
  text-align: center;
  background-image: url("../images/hours-bg.jpg");
  background-position: bottom center;
  background-size: cover;
}

.hours::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.66;
}

.hours > * { position: relative; }

.hours h2 { margin-bottom: 8px; }

.hours p {
  margin: 0.15em 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

@media (min-width: 1025px) {
  .hours { background-attachment: fixed; }
}

/* Footer */
.site-footer {
  padding: 5rem 20px 2.5rem;
  text-align: center;
}

.site-footer__logo {
  width: 35%;
  max-width: 420px;
  margin: 0 auto 28px;
}

.site-footer__copy {
  color: #000000a1;
  margin: 8px 0 0;
}

.site-footer__copy a { color: inherit; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 78, 84, 0.92);
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
}

.lightbox__close { top: 16px; right: 24px; font-size: 48px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* Cookie */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid #d4d8df;
  padding: 18px 24px 20px;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.08);
}

.cookie[hidden] { display: none; }

.cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie__title {
  margin: 0 0 6px;
  color: #212121;
  font-weight: 700;
}

.cookie__text p:last-child {
  margin: 0;
  color: #212121;
  font-size: 14px;
  line-height: 1.5;
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie__btn {
  min-width: 140px;
  padding: 10px 16px;
  border-radius: 2px;
  border: 1px solid var(--cookie-blue);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cookie__btn--ghost {
  color: var(--cookie-blue);
  background: #fff;
}

.cookie__btn--solid {
  color: #fff;
  background: var(--cookie-blue);
}

.cookie__prefs {
  max-width: 1200px;
  margin: 16px auto 0;
  display: grid;
  gap: 10px;
}

.cookie__prefs[hidden],
.nav__mobile[hidden] {
  display: none;
}

.cookie__prefs label {
  color: #212121;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .nav__list { display: none; }
  .nav__toggle { display: block; }
  .hero__arrow { display: none; }
  .info__panel { padding: 0 15%; }
  .info__wrap { padding: 0; }
  .info__watermark { padding: 15% 0; }
  .services {
    max-width: none;
    padding: 90px 25px 0;
  }
  .services h2 { font-size: 45px; }
  .services__grid { padding: 0 0 90px; }
  .space { padding: 100px 25px; }
  .contact__phone,
  .contact__address,
  .hours { padding: 100px 25px; }
  .contact__value,
  a.contact__value { font-size: 45px; }
}

@media (max-width: 767px) {
  h2 { font-size: 32px; }
  .hero { padding-bottom: 56%; }
  .hero__logo { width: 72%; }
  .dot-wrap--after-hero { padding-bottom: 45px; }
  .info__panel { padding: 0 5%; }
  .info__watermark { padding: 10% 5% 0; }
  .services { padding: 20px 20px 0; }
  .services h2 {
    font-size: 32px;
    letter-spacing: 3.25px;
  }
  .services__grid {
    flex-direction: column;
    padding: 0 0 50px;
  }
  .gallery a { width: 50%; }
  .products__grid {
    flex-direction: column;
    margin-bottom: 40px;
  }
  .products__grid img {
    height: 72px;
    max-width: 70%;
  }
  .space { padding: 50px 20px; }
  .contact__phone,
  .contact__address { padding: 50px 20px; }
  .hours { padding: 50px 20px; }
  .hours p { font-size: 20px; }
  .site-footer__logo { width: 60%; }
  .cookie__inner { flex-direction: column; align-items: stretch; }
  .cookie__actions { flex-wrap: wrap; }
  .cookie__btn { flex: 1 1 140px; }
}

@media (max-width: 479px) {
  .gallery a { width: 100%; }
}
