:root {
  --bg: #e9edf1;
  --text: #071521;
  --text-soft: #355063;
  --surface: #ffffff;
  --primary: #005a8d;
  --primary-strong: #003f64;
  --accent: #00a6c7;
  --border: #d8e3ea;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

p {
  margin: 0 0 1rem;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.top-header {
  background: #062238;
  color: #d3e6f3;
}

.top-header-wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.22rem 0;
}

.top-address {
  margin: 0;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #e1eef7;
}

.top-contact {
  text-align: right;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.top-contact p {
  margin: 0;
}

.top-line {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.top-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e8f4fb;
  flex-shrink: 0;
}

.top-icon svg {
  width: 0.62rem;
  height: 0.62rem;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(244, 246, 248, 0.84);
  border-bottom: 1px solid rgba(7, 21, 33, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  line-height: 1;
}

.logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.logo-mark {
  display: block;
  width: clamp(120px, 16vw, 170px);
  height: auto;
}

.logo-subtitle {
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #355063;
  text-transform: none;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1.4rem;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  box-shadow: 0 10px 20px rgba(0, 90, 141, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 90, 141, 0.26);
}

.btn-small {
  padding: 0.62rem 0.95rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--primary-strong);
  border-color: #acc7d8;
  box-shadow: none;
}

.btn-light {
  background: #fff;
  color: #032f4b;
  box-shadow: none;
}

.hero {
  position: relative;
  padding: 6rem 0 3.5rem;
  background-image: url("./index.png.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, rgba(2, 24, 39, 0.48), rgba(2, 24, 39, 0.2));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 760px;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero .eyebrow {
  color: #8bd7e8;
}

.hero-copy h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  margin-bottom: 1.2rem;
}

.lead {
  color: #eef6fb;
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 1.8rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.8rem;
}

.hero-stats li {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.8rem;
  background: rgba(9, 42, 64, 0.3);
  backdrop-filter: blur(3px);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  font-family: "Sora", sans-serif;
}

.hero-stats span {
  color: #d4e4ec;
  font-size: 0.9rem;
}

.section {
  padding: 4rem 0;
}

.products-section {
  background: #f7fafc;
  border-bottom: 1px solid #d9e4ec;
}

.section-head {
  max-width: 740px;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.25rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid var(--border);
}

.card p {
  color: var(--text-soft);
}

.engine-section {
  padding-top: 0.6rem;
}

.engine-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.engine-media img {
  width: 100%;
  display: block;
  border-radius: 1rem;
  border: 1px solid var(--border);
  min-height: 290px;
  object-fit: cover;
}

.engine-copy p {
  color: var(--text-soft);
  max-width: 58ch;
}

.price-section {
  background: #eef3f6;
}

.price-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-tile {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem;
  box-shadow: 0 12px 24px rgba(7, 21, 33, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.price-tile h3 {
  margin-bottom: 0.5rem;
}

.price-tile p {
  margin: 0;
  color: var(--text-soft);
}

.price-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px rgba(7, 21, 33, 0.1);
  border-color: #98b8ca;
}

.price-tile:focus-visible {
  outline: 3px solid #91cce2;
  outline-offset: 2px;
}

.section-dark {
  background: linear-gradient(140deg, #082338, #0d4c70);
  color: #fff;
}

.split {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.section-dark .eyebrow {
  color: #94d3e8;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  color: #dbe8ee;
}

.news-section {
  background: #dff0fb;
}

.news-section .eyebrow {
  color: #0a6b96;
}

.news-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #b9d8ea;
  border-radius: 0.95rem;
  padding: 1rem 1.1rem;
}

.news-card p {
  margin: 0;
  color: #17465f;
  font-weight: 600;
}

.deals-section {
  background: linear-gradient(115deg, #0b3956, #136b93);
  color: #fff;
}

.deals-section .section-head .eyebrow {
  color: #9fdef2;
}

.deals-section .section-head p {
  color: #d7ebf5;
}

.deal-list {
  display: grid;
  gap: 1rem;
}

.deal-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
  padding: 1.2rem;
  color: var(--text);
}

.deal-badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #ecf8ff;
  color: #0c547b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deal-price {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.deal-price strong {
  color: #0a5f8f;
  font-size: 1.22rem;
}

.deal-price span {
  color: #597a8f;
}

.deal-note {
  font-weight: 700;
  color: #11364b;
}

.deal-card h4 {
  margin: 0.7rem 0 0.5rem;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}

.deal-features {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--text-soft);
}

.cta {
  background: linear-gradient(110deg, #117cb0, #28acc4);
  color: #fff;
}

.cta-wrap {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.service-section {
  background-image:
    linear-gradient(rgba(14, 31, 43, 0.45), rgba(14, 31, 43, 0.45)),
    url("./boat_repair_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-section .eyebrow {
  color: #bfe8fb;
}

.service-section .section-head h2 {
  color: #f4fbff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.service-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
}

.service-copy {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
}

.service-copy p {
  color: var(--text-soft);
}

.service-inline-logo {
  float: left;
  width: clamp(170px, 24vw, 250px);
  height: clamp(115px, 14vw, 155px);
  margin: 0.1rem 0.9rem 0.55rem 0;
  border-radius: 0.45rem;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: cover;
  object-position: center;
}

.service-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--text-soft);
}

.service-side {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.service-visual {
  margin: 0;
}

.service-visual img {
  width: 100%;
  display: block;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  min-height: 190px;
  object-fit: cover;
}

.brand-row {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
}

.brand-card img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  display: block;
}

.brand-card-volvo {
  padding: 0;
  overflow: hidden;
}

.brand-card-volvo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.brand-card-text {
  background: linear-gradient(120deg, #0f2e45, #184f77);
  color: #fff;
}

.tohatsu-wordmark {
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-process {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
}

.service-process h3 {
  margin-bottom: 0.8rem;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.process-steps li {
  position: relative;
  background: #f3f8fb;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.55rem 0.45rem;
  font-size: 0.83rem;
  color: var(--text-soft);
  font-weight: 700;
  text-align: center;
}

.process-steps li span {
  display: block;
  font-size: 0.7rem;
  color: var(--primary);
  margin-bottom: 0.22rem;
}

.process-steps li + li::before {
  content: "";
}

.about-section {
  background: #eef3f6;
}

.about-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
}

.about-card h3 {
  margin-bottom: 0.8rem;
}

.about-card p {
  color: var(--text-soft);
}

.about-photo {
  margin: 0 0 1rem;
}

.about-photo img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  object-fit: cover;
}

.about-cert-photo {
  margin: 0.9rem 0 0.95rem;
}

.about-cert-photo img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  object-fit: cover;
}

.about-card-soft {
  background: #f7fafc;
}

.about-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.about-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--text-soft);
}

.partners-block {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.partners-block p {
  color: var(--text-soft);
}

.partners-block a {
  color: var(--primary-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer {
  padding: 1.3rem 0;
  border-top: 1px solid rgba(7, 21, 33, 0.12);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .cards,
  .engine-grid,
  .price-grid,
  .service-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .top-header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-contact {
    text-align: right;
    align-self: flex-end;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .cta-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-row,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps li + li::before {
    content: "";
  }

  .service-inline-logo {
    float: none;
    display: block;
    margin: 0 0 0.7rem;
  }
}

@media (max-width: 700px) {
  .nav {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
