:root {
  --ink: #102a2f;
  --cream: #f4f0e5;
  --coral: #ee6b4d;
  --sea: #c9e2db;
  --line: rgba(16, 42, 47, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.46) 0 8%, transparent 9%),
    linear-gradient(122deg, var(--cream) 0 58%, var(--sea) 58% 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.nav,
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.nav {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.05em;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 16px; letter-spacing: .01em; }
.brand-copy small {
  margin-top: 5px;
  color: rgba(16,42,47,.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.nav-link {
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-content {
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 40px;
  padding: 64px 0;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow span { width: 32px; height: 1px; background: currentColor; }
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7.1vw, 110px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .84;
}
h1 em { color: var(--coral); font-weight: 400; }
.hero-lead {
  max-width: 610px;
  margin: 36px 0 0;
  color: rgba(16,42,47,.74);
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--coral); border-color: var(--coral); }

.hero-visual { position: relative; min-height: 520px; }
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(16,42,47,.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one { width: min(38vw, 520px); aspect-ratio: 1; }
.orbit-two { width: min(27vw, 365px); aspect-ratio: 1; }
.fish-illustration {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(41vw, 560px);
  transform: translate(-50%, -50%) rotate(-4deg);
  filter: drop-shadow(0 30px 42px rgba(16,42,47,.18));
  transition: transform .5s ease;
}
.hero-visual:hover .fish-illustration {
  transform: translate(-50%, -52%) rotate(-2deg);
}

.contacts {
  background: var(--ink);
  color: var(--cream);
  padding: 110px 0 0;
}
.contacts-inner,
footer {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.contacts-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}
.eyebrow-light { color: #8fbfb3; }
.contacts h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .92;
}
.contacts-lead {
  max-width: 510px;
  margin: 30px 0 0;
  color: rgba(244,240,229,.68);
  font-size: 16px;
  line-height: 1.75;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  margin-top: 50px;
}
.contact-item { padding-top: 16px; border-top: 1px solid rgba(244,240,229,.18); }
.contact-item p {
  margin: 0 0 10px;
  color: #8fbfb3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact-item a,
.contact-item span,
.contact-item address {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: normal;
  line-height: 1.45;
}
.contact-item a:hover { color: var(--coral); }
.phone-list { display: grid; gap: 4px; }
.messenger-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.messenger-row a {
  padding: 5px 9px;
  border: 1px solid rgba(244,240,229,.26);
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.messenger-row a:hover { border-color: var(--coral); }
.map-column { display: flex; min-width: 0; flex-direction: column; }
.map-under-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 2px 12px;
  border-bottom: 1px solid rgba(244,240,229,.35);
  color: rgba(244,240,229,.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .2s ease, border-color .2s ease;
}
.map-under-link span:last-child { color: var(--coral); font-size: 18px; }
.map-under-link:hover { color: white; border-color: var(--coral); }
.map-under-link:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.map-wrap {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: var(--sea);
  border-radius: 160px 10px 10px 10px;
}
.map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  border-radius: inherit;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 630px; border: 0; filter: sepia(.18) saturate(.72) contrast(.94); }
.map-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(16,42,47,.24);
}
.map-badge span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--coral); color: white; border-radius: 50%; font-size: 11px; font-weight: 800; }
.map-badge p { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
footer {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 90px;
  border-top: 1px solid rgba(244,240,229,.16);
  color: rgba(244,240,229,.54);
}
.brand-footer { color: var(--cream); }
footer p { margin: 0; font-size: 11px; }

@media (max-width: 860px) {
  .hero { background: linear-gradient(160deg, var(--cream) 0 68%, var(--sea) 68%); }
  .nav, .hero-content { width: min(100% - 36px, 680px); }
  .nav { height: 90px; }
  .hero-content { grid-template-columns: 1fr; padding: 64px 0 40px; }
  h1 { font-size: clamp(54px, 16vw, 88px); }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 390px; }
  .orbit-one { width: 360px; }
  .orbit-two { width: 260px; }
  .fish-illustration { width: min(92vw, 520px); }
  .contacts { padding-top: 82px; }
  .contacts-inner, footer { width: min(100% - 36px, 680px); }
  .contacts-inner { grid-template-columns: 1fr; }
  .map-wrap, .map-wrap iframe { min-height: 500px; }
  .map-wrap { border-radius: 100px 10px 10px 10px; }
  footer { margin-top: 64px; }
}

@media (max-width: 520px) {
  .nav-link { font-size: 11px; }
  .brand-copy small { display: none; }
  h1 { letter-spacing: -.06em; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .map-wrap, .map-wrap iframe { min-height: 420px; }
  footer { min-height: 150px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .fish-illustration { transition: none; }
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  background: linear-gradient(145deg, var(--cream) 0 62%, var(--sea) 62% 100%);
}
.error-card { max-width: 680px; }
.error-code {
  margin: 0;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 18vw, 180px);
  line-height: .8;
}
.error-card h1 { margin-top: 28px; font-size: clamp(42px, 8vw, 72px); }
.error-card p { margin: 24px 0 32px; font-size: 17px; line-height: 1.7; }
