/* Total Remix — Tech palette, diagonal hero, 3-col services, floating anims, wave footer */
:root {
  --bg-dark: #0a0e17;
  --bg-mid: #1e293b;
  --bg-light: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #00b4d8;
  --accent2: #6366f1;
  --border: #cbd5e1;
  --white: #fff;
  --container: 1180px;
  --gap: 1.5rem;
  --radius: 18px;
  --radius-btn: 12px;
  --shadow-soft: 0 10px 30px rgba(10,14,23,0.06);
  --shadow-float: 0 16px 48px rgba(10,14,23,0.12);
  --lh-heading: 1.2;
  --lh-body: 1.68;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Fallback when image fails to load */
.hero-visual,
.service-img-wrap {
  background: linear-gradient(145deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----- Header: nav left, logo right ----- */
.site-header {
  background: var(--white);
  padding: 0.85rem 1.5rem;
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

.header-inner .logo {
  order: 2;
  margin-left: auto;
}

.header-inner nav {
  order: 1;
}

.logo {
  font-family: system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bg-dark);
  letter-spacing: -0.02em;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.logo a:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-list a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-btn);
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-list a:hover {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
}

/* ----- Hero: centered, diagonal split, polygon, floating circles + animation ----- */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

.hero-centered-diagonal {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
}

.hero-centered-diagonal .hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-centered-diagonal .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(10,14,23,0.92) 0%, rgba(30,41,59,0.88) 50%, rgba(99,102,241,0.25) 100%);
  pointer-events: none;
}

.hero-centered-diagonal .hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,180,216,0.15);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-centered-diagonal .hero-shape.c1 {
  width: 140px;
  height: 140px;
  left: 8%;
  top: 25%;
  animation-delay: 0s;
}

.hero-centered-diagonal .hero-shape.c2 {
  width: 80px;
  height: 80px;
  right: 12%;
  bottom: 30%;
  animation-delay: 2s;
}

.hero-centered-diagonal .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 2.5rem 1.5rem;
}

.hero-centered-diagonal h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: var(--lh-heading);
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}

.hero-centered-diagonal p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.4rem;
}

.hero-centered-diagonal .btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-centered-diagonal .btn:hover {
  background: var(--white);
  color: var(--bg-dark);
  border-color: var(--white);
  text-decoration: none;
}

/* ----- Diagonal strip under hero ----- */
.diagonal-strip {
  height: 28px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}

/* ----- Main ----- */
.main-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}

.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.9rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: -0.35rem;
  margin-bottom: 1.4rem;
}

/* ----- Services: 3-col grid, floating cards, gradient border ----- */
.services-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .services-grid-three {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .services-grid-three {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}

.service-card .service-img-wrap {
  min-height: 160px;
}

.service-card .service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
}

.service-card .service-body {
  padding: 1.5rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--bg-dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ----- Stats: diagonal background ----- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  text-align: center;
  position: relative;
}

.stats-row::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: -2rem;
  right: -2rem;
  bottom: -2rem;
  background: linear-gradient(105deg, rgba(0,180,216,0.06) 0%, transparent 40%, rgba(99,102,241,0.06) 100%);
  z-index: -1;
  border-radius: var(--radius);
}

@media (max-width: 700px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stats-item {
  padding: 1.6rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.stats-item .num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.stats-item .label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ----- Process ----- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}

@media (max-width: 800px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 450px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step {
  text-align: center;
  padding: 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  counter-increment: step;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.process-step:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
}

.process-step::before {
  content: counter(step);
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 0.75rem;
  line-height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--bg-dark);
}

.process-step p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ----- About + benefits ----- */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 700px) {
  .about-snippet {
    grid-template-columns: 1fr;
  }
}

.about-snippet .about-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-snippet .prose p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- Service area ----- */
.service-area {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.service-area-tags span {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  background: var(--bg-light);
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ----- FAQ teaser ----- */
.faq-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .faq-teaser {
    grid-template-columns: 1fr;
  }
}

.faq-teaser-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-teaser-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.faq-teaser-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----- CTA banner ----- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--accent2) 100%);
  color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -80px;
  right: -80px;
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}

.cta-banner p {
  font-size: 1rem;
  opacity: 0.92;
  margin-bottom: 1.2rem;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--bg-dark);
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  color: var(--bg-dark);
  text-decoration: none;
}

/* ----- Contact section ----- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s ease;
}

.contact-form-wrap:hover {
  box-shadow: var(--shadow-float);
}

.contact-form-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bg-dark);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrap button {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  border: none;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-wrap button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,180,216,0.4);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bg-dark);
}

.contact-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--accent);
}

.contact-card .hours {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----- Hero strip (inner pages) ----- */
.hero-strip {
  background: linear-gradient(120deg, var(--bg-dark) 0%, var(--bg-mid) 60%, var(--accent2) 100%);
  color: var(--white);
  padding: 2rem 1.5rem;
  margin-bottom: 0;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.hero-strip h1 {
  font-size: clamp(1.5rem, 3.5vw, 1.95rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: var(--lh-heading);
}

.hero-strip p {
  font-size: 1rem;
  opacity: 0.92;
}

/* ----- Sidebar ----- */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }
}

.sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 1rem;
}

.sidebar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--bg-dark);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.sidebar li:last-child {
  border-bottom: none;
}

.sidebar .hours {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sidebar .hours strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

/* ----- Footer: wave top, 3 cols Trust | Links | Legal ----- */
.site-footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 0 0 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.footer-wave {
  height: 24px;
  background: var(--bg-light);
  margin-bottom: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 24px;
  fill: var(--bg-dark);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-trust {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-trust h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.footer-trust p,
.footer-trust a {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.35rem;
  display: block;
}

.footer-trust a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-cta {
  margin-top: 1rem;
}

.footer-cta a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--white);
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.footer-cta a:hover {
  transform: translateY(-2px);
  color: var(--white);
  text-decoration: none;
}

.footer-inner h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.footer-inner ul {
  list-style: none;
}

.footer-inner li {
  margin-bottom: 0.4rem;
}

.footer-inner a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.footer-inner a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.88;
  text-align: center;
}

/* ----- Page title, prose, contact grid, faq list, page img ----- */
.page-title-wrap {
  margin-bottom: 1.5rem;
}

.page-title-wrap h1 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
}

.page-title-wrap p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-top: 0.3rem;
}

.prose {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.prose h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--bg-dark);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p, .prose ul {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--bg-dark);
}

.contact-info p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--accent);
}

.faq-list {
  list-style: none;
}

.faq-list li {
  border-bottom: 2px solid var(--border);
  padding: 1rem 0;
}

.faq-list li:first-child {
  padding-top: 0;
}

.faq-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.faq-list p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.page-img-wrap {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-img-wrap img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}
