:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0f172a;
  --text: #0f172a;
  --text-soft: #475569;
  --white: #ffffff;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --accent: #10b981;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--bg-dark);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 9999;
  border-radius: 8px;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-tag {
  font-size: 0.83rem;
  color: var(--text-soft);
}

.site-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: var(--transition);
}

.hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-text {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.hero-highlights span {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  color: var(--text-soft);
  font-weight: 600;
}

.hero-contact a:hover {
  color: var(--primary-dark);
}

.hero-media img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition),
    border-color var(--transition);
  border: none;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid rgba(14, 165, 233, 0.3);
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(14, 165, 233, 0.08);
}

.btn-sm {
  min-height: 42px;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 10px;
}

.trust-bar {
  padding: 1.2rem 0 3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.trust-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.section-image img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.section-content h2,
.section-heading h2,
.cta-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-content p,
.section-heading p,
.cta-content p {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

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

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.compare-image {
  position: relative;
}

.compare-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.label.before {
  background: rgba(239, 68, 68, 0.95);
}

.label.after {
  background: rgba(16, 185, 129, 0.95);
}

.compare-content {
  padding: 1.25rem;
}

.compare-content h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.compare-content p {
  margin: 0;
  color: var(--text-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover,
.gallery-item:focus {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.cta-section .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #bae6fd;
}

.cta-section p,
.cta-section a,
.contact-card p {
  color: rgba(255, 255, 255, 0.85);
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.8rem 0;
}

.contact-points strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-card h3,
.contact-card h4 {
  margin-top: 0;
}

.contact-checklist {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.contact-checklist li {
  margin-bottom: 0.7rem;
}

.card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
}

.site-footer {
  background: #020617;
  color: rgba(255, 255, 255, 0.82);
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.25rem;
}

.footer-inner p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #7dd3fc;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 2000;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 72vh;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.lightbox p {
  margin-top: 1rem;
  color: var(--white);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.mt-32 {
  margin-top: 2rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile nav */
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: var(--bg-soft);
  }

  .brand-logo {
    width: 95px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tag {
    font-size: 0.78rem;
  }
}

/* Small mobile */
@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-text,
  .section-content p,
  .section-heading p,
  .cta-content p {
    font-size: 1rem;
  }

  .hero-media img,
  .section-image img {
    min-height: 280px;
  }

  .trust-grid,
  .feature-list,
  .services-grid,
  .gallery-grid,
  .contact-points,
  .compare-images,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .trust-grid,
  .feature-list,
  .services-grid,
  .gallery-grid,
  .contact-points {
    display: grid;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .btn,
  .btn-sm {
    width: 100%;
  }

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

  .hero-contact {
    gap: 0.35rem;
  }

  .compare-image img {
    height: 240px;
  }
}
