:root {
  --ink: #102026;
  --muted: #607179;
  --paper: #fbfcfb;
  --line: #dde6e3;
  --teal: #0f766e;
  --teal-dark: #0a4f4b;
  --sage: #dbe9df;
  --coral: #c75b47;
  --gold: #c79a42;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 252, 251, 0.96);
  box-shadow: 0 10px 30px rgba(16, 32, 38, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  font-weight: 700;
  font-size: 0.94rem;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 88px) 80px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 23, 29, 0.86) 0%, rgba(5, 23, 29, 0.55) 45%, rgba(5, 23, 29, 0.15) 100%),
    linear-gradient(0deg, rgba(5, 23, 29, 0.58) 0%, rgba(5, 23, 29, 0.05) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

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

.hero .eyebrow {
  color: #ffd7bd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info div {
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.quick-info span,
.quick-info strong {
  display: block;
}

.quick-info span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-info strong {
  margin-top: 4px;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-left: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 32, 38, 0.05);
}

.service-card:nth-child(2n) {
  background: #f6faf7;
}

.service-number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--gold);
  font-weight: 900;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  background: #eef5f1;
}

.media-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
  box-shadow: inset 0 0 0 5px var(--sage);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 16px;
}

.gallery-grid figure {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.gallery-grid figure:first-child {
  min-height: 520px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.gallery-grid figure:nth-child(2) img {
  object-position: 55% 35%;
}

.gallery-grid figure:nth-child(3) img {
  object-position: 80% 50%;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(16, 32, 38, 0.74);
  font-weight: 800;
}

.appointment-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.appointment-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.form-row {
  display: grid;
  gap: 8px;
}

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

label {
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(199, 154, 66, 0.32);
  border-color: var(--gold);
}

textarea {
  resize: vertical;
}

::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 400;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--teal);
}

.submit-btn {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #ffd7bd;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(320px, 1.26fr);
  gap: 28px;
  align-items: stretch;
}

.contact-details {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-details p {
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-links a {
  padding: 13px 14px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--sage);
  font-weight: 800;
}

.map-wrap {
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(16, 32, 38, 0.09);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.78);
  background: #0b171b;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .quick-info,
  .service-grid,
  .split-section,
  .appointment-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid figure:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 88vh;
    padding: 108px 20px 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(5, 23, 29, 0.88) 0%, rgba(5, 23, 29, 0.22) 100%),
      linear-gradient(90deg, rgba(5, 23, 29, 0.62), rgba(5, 23, 29, 0.12));
  }

  .quick-info {
    gap: 0;
  }

  .section {
    padding: 64px 20px;
  }

  .service-card {
    min-height: auto;
  }

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

  .gallery-grid figure,
  .gallery-grid figure:first-child {
    min-height: 300px;
  }

  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.35rem;
  }

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