@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");

/* =========================================================
   1. Design tokens
   ========================================================= */

:root {
  --teal: #08aeb8;
  --teal-dark: #0789a8;
  --blue: #087aa2;
  --ink: #07344f;
  --muted: #557084;
  --soft-bg: #f7fbfc;
  --card: #ffffff;
  --line: #d8eef2;
  --repair-soft: #eefbfb;
  --project-soft: #f1f7ff;
  --warm: #fff8ed;
  --warm-line: #f0d8ab;
  --shadow: 0 22px 60px rgba(7, 52, 79, 0.10);
  --shadow-soft: 0 12px 35px rgba(8, 174, 184, 0.16);
  --radius: 30px;
  --page-max: 1120px;
}

/* =========================================================
   2. Base styles
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Sora", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 16%, rgba(8, 174, 184, 0.12), transparent 28%),
    radial-gradient(circle at 85% 16%, rgba(8, 122, 162, 0.10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--soft-bg) 55%, #eef8fa 100%);
}

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

img,
svg {
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 3.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   3. Page shell and header
   ========================================================= */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.shell {
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 4px 34px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-image {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: var(--ink);
  font-size: 0.96rem; /*p*/
  font-weight: 750;
}

.nav-link {
  opacity: 0.78;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-link:hover {
  color: var(--teal-dark);
  opacity: 1;
}

.site-footer {
  margin-top: auto;
  padding: 26px 0 10px;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem; /*p*/
  font-weight: 650;
}

/* =========================================================
   4. Shared components
   ========================================================= */

.button {
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 24px;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  font-size: 1.02rem; /*??*/
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(8, 122, 162, 0.22);
  filter: saturate(1.08);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.button.secondary {
  color: var(--ink);
  background: #f8fafc;
  border: 2px solid var(--blue);
}

.hero-card,
.choice-card,
.quick-card,
.service-card,
.about-card,
.pricing-band,
.project-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.button-row {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.centered-actions {
  justify-content: center;
}

/* =========================================================
   5. Home page
   ========================================================= */

.hero-centered {
  display: grid;
  justify-items: center;
  padding: 18px 0 10px;
  text-align: center;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0 32px;
}

.choice-card {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.choice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(7, 52, 79, 0.15);
  border-color: rgba(8, 174, 184, 0.38);
}

.choice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.repair-card::before {
  background:
    radial-gradient(circle at 50% 24%, rgba(8, 174, 184, 0.18), transparent 28%),
    linear-gradient(180deg, var(--repair-soft), rgba(255, 255, 255, 0.96));
}

.projects-card::before {
  background:
    radial-gradient(circle at 50% 24%, rgba(8, 122, 162, 0.16), transparent 30%),
    linear-gradient(180deg, var(--project-soft), rgba(255, 255, 255, 0.96));
}

.choice-inner {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.choice-card h2 {
  margin: 16px 0 10px;
}

.choice-card p {
  max-width: 390px;
  margin: 0 auto 26px;
  line-height: 1.55;
}

.illustration {
  width: min(280px, 80%);
  height: 180px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 0px;
}

.soft-blob {
  width: 220px;
  height: 150px;
  position: absolute;
  border-radius: 54% 46% 42% 58% / 58% 48% 52% 42%;
  background: rgba(8, 174, 184, 0.10);
}

.projects-card .soft-blob {
  border-radius: 45% 55% 55% 45% / 45% 54% 46% 55%;
  background: rgba(8, 122, 162, 0.10);
}

.icon-illustration {
  color: var(--blue);
}

.hero-icon {
  width: 175px;
  height: 175px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 24px rgba(7, 52, 79, 0.12));
}

.repair-card .hero-icon {
  color: var(--teal-dark);
}

/* =========================================================
   6. Repair page
   ========================================================= */

.hero-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 85% 14%, rgba(8, 174, 184, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 251, 251, 0.92));
}

.hero-card p {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: clamp(1.03rem, 2vw, 1.22rem); /*p*/
}

.availability-note {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--warm-line);
  border-radius: 20px;
  color: #6f4e17;
  background: var(--warm);
  font-weight: 800;
  line-height: 1.45;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.phone-card {
  padding: 28px;
  border-radius: 28px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.phone-card span,
.price-item span {
  display: block;
  margin-bottom: 8px;
  color: #b9edf2;
  font-size: 0.78rem; /*??*/
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.phone-card strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.7rem); /*??*/
  line-height: 1;
  letter-spacing: -0.045em;
}

.quick-card {
  padding: 24px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(7, 52, 79, 0.07);
}

.quick-card h3 {
  margin: 0 0 14px;
  font-size: 1.22rem; /*h3*/
}

.quick-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-weight: 650;
  list-style: none;
}

.quick-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--teal-dark);
  font-weight: 950;
}

.section {
  padding: 54px 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading p {
  max-width: 600px;
  margin: 0;
  font-size: 1.02rem; /*p*/
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 24px 20px;
  border-radius: 26px;
  background: var(--card);
  text-align: center;
  box-shadow: 0 12px 34px rgba(7, 52, 79, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(7, 52, 79, 0.12);
}

.service-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 24px;
  color: var(--blue);
  background: rgba(8, 174, 184, 0.09);
}

.service-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.27rem; /*h3*/
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0;
  font-size: 0.94rem; /*p*/
  line-height: 1.5;
}

.pricing-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ink), #075a73 58%, var(--teal-dark));
}

.price-item {
  padding: 8px;
  text-align: center;
}

.price-item strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem); /*??*/
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.price-item small {
  display: block;
  margin-top: 5px;
  color: #d3f7fa;
  font-weight: 650;
}

.about-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: 34px;
  background: var(--card);
}

.photo-wrap {
  min-height: 520px;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(8, 174, 184, 0.10), rgba(8, 122, 162, 0.08)),
    #eaf7f9;
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-content {
  padding: clamp(30px, 5vw, 54px);
}

.about-content h2 {
  margin-bottom: 18px;
  color: var(--blue);
}

.about-content p {
  margin: 0 0 16px;
  font-size: 1rem; /*p*/
  line-height: 1.75;
}

.about-content strong {
  color: var(--ink);
}

.final-cta {
  padding: 56px 0 20px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 2.8vw, 3.2rem); /*h2*/
}

.final-cta p {
  max-width: 600px;
  margin: 16px auto 24px;
  font-size: 1.06rem; /*p*/
}

/* =========================================================
   7. Projects page
   ========================================================= */

.projects-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(30px, 6vw, 58px);
  border-radius: 36px;
  text-align: center;
  background:
    radial-gradient(circle at 82% 12%, rgba(8, 122, 162, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.92));
}

.projects-hero p {
  max-width: 760px;
  margin: 0;
}

.project-grid {
  width: 100%;
  max-width: calc((500px * 2) + 18px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 0.65fr));
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
}

.project-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(7, 52, 79, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 174, 184, 0.38);
  box-shadow: 0 20px 44px rgba(7, 52, 79, 0.12);
}

.project-photo {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 20%, rgba(8, 174, 184, 0.18), transparent 26%),
    linear-gradient(135deg, var(--project-soft), rgba(255, 255, 255, 0.92));
}

.project-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.project-content h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.28rem; /*h3*/
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.project-content p {
  margin: 0;
  font-size: 0.91rem; /*p*/
  line-height: 1.55;
}

.project-link-note {
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal-dark);
  font-size: 0.94rem; /*??*/
  font-weight: 850;
}

/* =========================================================
   8. Responsive adjustments
   ========================================================= */

@media (max-width: 920px) {
  .hero-card,
  .about-card,
  .pricing-band {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-wrap {
    min-height: 360px;
  }
}

@media (max-width: 900px) {
  .choices {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 460px;
  }
}

@media (max-width: 680px) {
  .page {
    padding: 20px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 26px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-centered,
  .projects-hero {
    justify-items: start;
    text-align: left;
  }

  .hero-centered {
    padding-top: 10px;
  }

  .choice-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .illustration {
    margin-bottom: -4px;
    transform: scale(0.88);
  }

  .button {
    width: 100%;
  }

  .hero-card,
  .projects-hero,
  .pricing-band {
    border-radius: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

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