@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  --teal: #00648e;
  --teal-mid: #0a5a7c;
  --teal-dark: #04384f;
  --teal-deep: #02293b;
  --accent: #1aa3d4;
  --white: #fff;
  --ink: #1d2328;
  --muted: #5b6570;
  --line: rgba(255, 255, 255, 0.28);
  --header-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-solid,
.site-header.page-header {
  background: var(--teal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header-inner {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  letter-spacing: 0.18em;
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav > li {
  list-style: none;
  position: relative;
}

.nav,
.sub {
  margin: 0;
  padding: 0;
}

.nav > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 12px;
}

.nav > li > a .chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg) translateY(-2px);
}

.sub {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: var(--teal-dark);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.nav > li:hover > .sub,
.nav > li:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub a {
  display: block;
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.sub a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.phone-btn {
  margin-left: 8px;
  border: 2px solid #fff;
  background: var(--teal);
  color: #fff !important;
  padding: 10px 16px !important;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
}

/* Hero slider */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  color: #fff;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: -6%;
  background: center/cover no-repeat;
  transform: scale(1.08);
  opacity: 0;
  transition: opacity 0.85s ease;
  animation: kenburns 14s ease-in-out alternate infinite;
  animation-play-state: paused;
}

.slide .slide-bg.is-show,
.page-hero .slide-bg.is-show {
  opacity: 1;
}

.slide.is-active .slide-bg.is-show {
  animation-play-state: running;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 20, 30, 0.55) 8%, rgba(2, 20, 30, 0.22) 55%, rgba(2, 20, 30, 0.35));
}

@keyframes kenburns {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(-2%, -1%, 0);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  padding-bottom: 90px;
}

.hero-copy h1 {
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 11ch;
  animation: fadeInLeft 0.9s ease both;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: max-content;
  transition: 0.25s ease;
}

.ghost-btn:hover {
  background: #fff;
  color: var(--teal-dark);
}

.hero-nav {
  position: absolute;
  left: max(40px, calc((100% - 1320px) / 2));
  bottom: 36px;
  z-index: 3;
  display: flex;
  gap: 0;
}

.hero-tab {
  appearance: none;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: left;
  padding: 18px 26px;
  cursor: pointer;
  min-width: 210px;
  position: relative;
  opacity: 0.78;
}

.hero-tab + .hero-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-tab .n {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.hero-tab .t {
  font-size: 15px;
  font-weight: 700;
}

.hero-tab.is-active {
  opacity: 1;
  background: rgba(18, 28, 36, 0.42);
  backdrop-filter: blur(10px);
}

.hero-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--accent);
}

.hero-dots {
  position: absolute;
  right: max(40px, calc((100% - 1320px) / 2));
  bottom: 48px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.page-hero .hero-dots {
  right: 40px;
  bottom: 28px;
}

.slide:not(.is-active) .hero-dots {
  display: none;
}

.hero-dots button,
.page-hero .hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
}

.hero-dots button.is-on,
.page-hero .hero-dots button.is-on {
  background: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(4, 40, 58, 0.28);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.hero-arrow.prev {
  left: 18px;
}
.hero-arrow.next {
  right: 18px;
}

.slide:not(.is-active) .hero-arrow {
  display: none;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  place-items: end start;
  color: #fff;
  padding: 140px 0 56px;
  overflow: hidden;
  background: #04384f;
}

.page-hero .slide-bg {
  inset: 0;
  transform: none;
  animation: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 40, 58, 0.35), rgba(4, 28, 42, 0.72));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Sections */
.section {
  padding: 92px 0;
}

.section.alt {
  background: #f4f7f9;
}

.kicker {
  color: var(--teal);
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 18px;
}

.lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 760px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.media {
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  transform: scale(1.04);
  transition: transform 0.7s ease;
}

.media:hover img {
  transform: scale(1.1);
}

.cards-3,
.cards-4,
.cards-2 {
  display: grid;
  gap: 28px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}
.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid #e7eef2;
  padding: 28px 24px;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(4, 56, 79, 0.1);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--teal);
}

.feature-tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: #fff;
  display: grid;
  place-items: end start;
}

.feature-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.feature-tile:hover img {
  transform: scale(1.08);
}

.feature-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2, 22, 34, 0.82));
}

.feature-tile span,
.feature-tile a.more {
  position: relative;
  z-index: 1;
  margin: 0 0 22px 22px;
}

.feature-tile span {
  font-size: 22px;
  font-weight: 700;
}

.more {
  display: inline-flex;
  margin-top: 8px;
  letter-spacing: 0.12em;
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid #fff;
  padding-bottom: 4px;
}

.price {
  color: var(--teal);
  font-weight: 700;
  margin-top: 12px;
}

.cta-band {
  position: relative;
  color: #fff;
  padding: 110px 0;
  background: center/cover fixed no-repeat;
  text-align: center;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 40, 58, 0.72);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  max-width: 16ch;
  margin: 0 auto 22px;
}

.solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  border: 2px solid #fff;
  padding: 14px 26px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.solid-btn:hover {
  background: #fff;
  color: var(--teal-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid a {
  overflow: hidden;
  position: relative;
  min-height: 220px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: 0.5s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.08);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review {
  background: #fff;
  padding: 24px;
  border-top: 3px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stars {
  color: #f5b400;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #d5dee4;
  padding: 14px 12px;
  font-size: 14px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.office {
  padding: 8px 0 22px;
}

.office h3 {
  margin: 0 0 8px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-card {
  background: #fff;
  border: 1px solid #e7eef2;
  padding: 0;
  overflow: hidden;
  min-height: 0;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(4, 56, 79, 0.1);
}

.trust-photo {
  height: 148px;
  background: #d8e4ea;
}

.trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-body {
  padding: 16px 18px 18px;
}

.trust-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--teal-dark);
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.footer {
  background: var(--teal-dark);
  color: #fff;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer a:hover {
  color: var(--accent);
}

.footer h4 {
  margin: 0 0 14px;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin: 8px 0;
  font-size: 14px;
  opacity: 0.9;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.socials a {
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-socials .socials {
  margin: 0 0 0 8px;
}

.nav-socials .socials a {
  padding: 6px 8px;
}

.contact-socials .socials a {
  border-color: var(--teal);
  color: var(--teal);
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 18px;
  padding-bottom: 8px;
  font-size: 12px;
  opacity: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.copy p {
  margin: 0;
  opacity: 0.7;
}

.copy .socials {
  margin-top: 0;
}

/* Animations */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-anim="left"] {
  transform: translateX(-36px);
}
[data-anim="right"] {
  transform: translateX(36px);
}
[data-anim="zoom"] {
  transform: scale(0.96);
}

[data-anim].in {
  opacity: 1;
  transform: none;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.delay-1 {
  transition-delay: 0.12s;
}
.delay-2 {
  transition-delay: 0.24s;
}
.delay-3 {
  transition-delay: 0.36s;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.table th,
.table td {
  border-bottom: 1px solid #e4eaee;
  text-align: left;
  padding: 14px 10px;
}

.faq details {
  border-bottom: 1px solid #e4eaee;
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.ok-msg {
  display: none;
  color: var(--teal);
  font-weight: 600;
}

@media (max-width: 980px) {
  .split,
  .cards-3,
  .cards-4,
  .cards-2,
  .contact-grid,
  .footer-grid,
  .reviews,
  .gallery-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .hero-nav {
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-tab {
    min-width: 0;
    padding: 10px 14px;
  }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--teal-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 24px;
  }
  .nav.open {
    display: flex;
  }
  .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.18);
  }
  .nav > li.open > .sub {
    display: block;
  }
  .nav-socials {
    display: none;
  }
  .header-inner {
    width: calc(100% - 24px);
  }
}
