/* ---------- Global ---------- */

:root {
  --navy: #243245;
  --bg-light: #f5f7fb;
  --bg-white: #ffffff;
  --text-main: #243245;
  --accent: #0f98ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.5;
}

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

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

/* Layout */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */

.hero {
  background-color: var(--navy);
  color: #ffffff;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding: 80px 0 100px;
}

.hero-content {
  flex: 1 1 50%;
}

.logo {
  width: 140px;
  margin-bottom: 40px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 2.8vw + 1rem, 3rem);
  font-weight: 600;
}

.hero p {
  margin: 0;
  max-width: 420px;
  font-size: 0.98rem;
  opacity: 0.9;
}

.hero-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 26px;
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.hero-cta:hover {
  background-color: #f3f4f7;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-image {
  flex: 1 1 50%;
}

.hero-image img {
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  object-fit: cover;
}

/* ---------- Sections ---------- */

section {
  background-color: var(--bg-white);
}

.services {
  padding: 64px 0 50px;
}

.services h2,
.before-after h2,
.contact h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}

.section-subtitle {
  margin: 0 auto 32px;
  max-width: 560px;
  text-align: center;
  font-size: 0.98rem;
  color: #626b7c;
}

/* Services grid */

.services-grid {
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 60px;
  padding-top: 8px;
}

.services-grid div {
  padding: 10px 0;
  border-bottom: 1px solid #e5e8f0;
  font-size: 0.97rem;
}

/* ---------- Before & After ---------- */

.before-after {
  padding: 72px 0 56px;
  background-color: var(--bg-light);
}

.before-after-widget {
  margin-top: 30px;
}

.before-after-widget .elfsight-app-bdf444ca-1874-48d8-954d-59f3f338fa45 {
  max-width: 950px;
  margin: 0 auto;
}

/* ---------- Contact ---------- */

.contact {
  padding: 72px 0 80px;
}

.contact-widget {
  margin-top: 24px;
}

.contact-widget .elfsight-app-4d90c2e8-25e9-485c-9f93-e0c35e321b41 {
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: #eef0f6;
  border-top: 1px solid #dde1ec;
  padding: 28px 0 40px;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  width: 120px;
  margin: 0 auto 12px;
}

.site-footer p {
  margin: 4px 0;
  font-size: 0.9rem;
  color: #5b6475;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    padding: 64px 0 72px;
  }

  .hero-image {
    width: 100%;
    max-width: 520px;
  }

  .hero-content {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }

  .services {
    padding: 48px 0 40px;
  }

  .before-after,
  .contact {
    padding: 56px 0 56px;
  }
}

@media (max-width: 600px) {
  .hero-cta {
    width: 100%;
    text-align: center;
  }

  .container {
    padding: 0 18px;
  }
}
