/* ================================
   MSK RENOVATION — LANDING PAGE
   ================================ */

:root {
  --ink: #10201f;
  --muted: #65716f;
  --teal: #16a4b5;
  --teal-dark: #087b89;
  --teal-soft: #eaf9fa;
  --paper: #f7faf9;
  --white: #ffffff;
  --line: #dfe9e7;
  --shadow: 0 24px 70px rgba(12, 47, 48, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 249, .90);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 233, 231, .75);
}

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

.brand img {
  display: block;
  width: 116px;
  height: 64px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  position: relative;
  color: #3e4e4d;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width .25s ease;
}

.nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 90px;
  background:
    radial-gradient(circle at 82% 20%, rgba(22,164,181,.18), transparent 29%),
    radial-gradient(circle at 12% 88%, rgba(22,164,181,.08), transparent 25%),
    var(--paper);
}

.hero-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  right: -220px;
  top: 80px;
  border-radius: 50%;
  background: rgba(22, 164, 181, .08);
  filter: blur(2px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 12px;
  letter-spacing: .20em;
  font-weight: 800;
}

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

h1, h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  max-width: 720px;
  margin-bottom: 25px;
  font-size: clamp(48px, 6vw, 82px);
}

h1 span { color: var(--teal); }

.hero-text {
  max-width: 630px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 12px 28px rgba(22,164,181,.22);
}

.btn-outline {
  border: 1px solid var(--line);
  background: white;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #788481;
  font-size: 12px;
}

.trust-row strong { color: var(--ink); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: #aab8b5; }

.hero-card {
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(145deg, #ffffff, #e6f6f7);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-card-inner {
  width: 100%;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22,164,181,.24);
  border-radius: 25px;
  background: rgba(255,255,255,.70);
  text-align: center;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.45);
}

.mini-label {
  color: var(--teal-dark);
  letter-spacing: .24em;
  font-size: 11px;
  font-weight: 800;
}

.monogram {
  margin: 14px 0 -5px;
  color: var(--teal);
  font-family: "Playfair Display", serif;
  font-size: clamp(100px, 12vw, 170px);
  line-height: .85;
  letter-spacing: -.09em;
}

.hero-card p {
  margin: 20px 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .25em;
}

.hero-card p span { color: var(--teal); }

.line {
  width: 90px;
  height: 2px;
  margin: 4px 0 18px;
  background: var(--teal);
}

.hero-card small {
  max-width: 250px;
  color: var(--muted);
  font-size: 12px;
}

.section { padding: 110px 0; }

.services-section { background: white; }

.section-heading { max-width: 680px; margin-bottom: 50px; }

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-box h2 {
  margin-bottom: 17px;
  font-size: clamp(38px, 4.5vw, 60px);
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(22,164,181,.35);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 9px;
  font-size: 18px;
}

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

.service-highlight {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.service-highlight .service-icon {
  background: rgba(255,255,255,.10);
  color: #74e2ea;
}

.service-highlight p { color: #b9c9c7; }

.service-highlight a {
  display: inline-block;
  margin-top: 17px;
  color: #6ee0e8;
  font-weight: 700;
  font-size: 13px;
}

.about-section {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(8,123,137,.95), rgba(22,164,181,.65)),
    url("assets/logo.jpeg") center/cover;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 25px;
}

.about-panel {
  position: absolute;
  left: 42px;
  bottom: 44px;
  color: white;
}

.about-panel span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 74px;
  line-height: .9;
}

.about-panel strong {
  display: block;
  margin-top: 12px;
  font-size: 19px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.about-panel small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
}

.about-badge {
  position: absolute;
  top: 40px;
  right: 30px;
  padding: 16px 18px;
  border-radius: 16px;
  background: white;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.6;
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.about-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.feature-list {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.feature-list > div {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-list span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 800;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-list strong { color: var(--ink); }

.process-section { background: white; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  min-height: 245px;
  padding: 35px 30px;
  border-right: 1px solid var(--line);
}

.process-step:last-child { border-right: 0; }

.process-step > span {
  color: var(--teal);
  font-family: "Playfair Display", serif;
  font-size: 38px;
}

.process-step h3 { margin: 25px 0 8px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-section {
  padding: 95px 0;
  background: var(--ink);
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 65px;
  border-radius: 32px;
  background: linear-gradient(135deg, #0f3332, #0b575d);
  color: white;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

.contact-box .eyebrow { color: #6ee0e8; }
.contact-box h2 { max-width: 650px; }
.contact-box p:not(.eyebrow) { margin-bottom: 0; color: #b9c9c7; }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}

.btn-light { background: white; color: var(--ink); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,.25); color: white; }

.contact-details {
  padding: 60px 0;
  background: #0a1717;
  color: white;
}

.details-grid {
  display: grid;
  grid-template-columns: .8fr 1.3fr 1fr;
  gap: 45px;
}

.details-grid span {
  display: block;
  margin-bottom: 10px;
  color: #6ee0e8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.details-grid a,
.details-grid p {
  display: block;
  margin: 0 0 5px;
  color: #d4dfdd;
  font-size: 14px;
}

.details-grid a:hover { color: white; }

.footer {
  background: #061010;
  color: #90a09e;
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand img {
  width: 95px;
  height: 45px;
  object-fit: contain;
}

.footer-brand p { margin: 4px 0 0; font-size: 11px; }

.footer-meta { text-align: right; font-size: 10px; }
.footer-meta p { margin: 3px 0; }

.reveal {
  animation: rise .8s both;
}

.delay-1 { animation-delay: .12s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-card {
  animation: float-card 5s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-8px); }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid,
  .about-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero { padding-top: 75px; }
  .hero-card { max-width: 560px; margin-inline: auto; width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-visual { min-height: 450px; max-width: 650px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-box { padding: 48px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-header { position: relative; }
  .nav-cta { padding: 9px 15px; }
  .brand img { width: 95px; }
  .hero { padding: 60px 0; }
  h1 { font-size: 48px; }
  .hero-text { font-size: 16px; }
  .hero-card { min-height: 390px; padding: 18px; }
  .hero-card-inner { min-height: 350px; }
  .monogram { font-size: 105px; }
  .section { padding: 75px 0; }
  .services-grid,
  .process-grid,
  .details-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .about-visual { min-height: 390px; }
  .about-panel { left: 30px; bottom: 30px; }
  .about-badge { top: 28px; right: 20px; }
  .contact-box { padding: 34px 26px; flex-direction: column; align-items: flex-start; }
  .contact-actions { width: 100%; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
}
