﻿:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #f97316;
  --border: #dbe1ea;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(circle at top right, #ecfeff, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section-pad {
  padding: 3.5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
}

.logo-area img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.site-nav a {
  color: #e2e8f0;
  font-size: 0.94rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(249, 115, 22, 0.2);
  color: #fff;
}

.hero {
  color: #fff;
  background: linear-gradient(130deg, #0f172a, #0f766e);
  padding: 5.5rem 0 4.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  opacity: 0.86;
  margin-bottom: 0.8rem;
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}

.hero-copy {
  max-width: 680px;
  opacity: 0.92;
  margin-top: 1rem;
}

.hero-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #ea580c;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-cta .button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: #006aff;
  border: 8px solid #c0dfff;
  color: white;
  gap: 8px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-cta .text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-cta .svg {
  padding-top: 5px;
  height: 100%;
  width: fit-content;
}

.hero-cta .svg svg {
  width: 38px;
  height: 24px;
}

.hero-cta .button:hover {
  border: 8px solid #b1d8ff;
  background-color: #1b7aff;
}

.hero-cta .button:active {
  border: 5px solid #c0dfff;
}

.hero-cta .button:hover .svg svg {
  animation: jello-vertical 0.9s both;
  transform-origin: left;
}

@keyframes jello-vertical {
  0% { transform: scale3d(1, 1, 1); }
  30% { transform: scale3d(0.75, 1.25, 1); }
  40% { transform: scale3d(1.25, 0.75, 1); }
  50% { transform: scale3d(0.85, 1.15, 1); }
  65% { transform: scale3d(1.05, 0.95, 1); }
  75% { transform: scale3d(0.95, 1.05, 1); }
  100% { transform: scale3d(1, 1, 1); }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.quote-card,
.product-card,
.contact-card,
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.feature-card,
.quote-card {
  padding: 1.2rem;
}

.feature-card h2,
.brands h2,
.testimonials h2,
.products-header h1,
.section-title,
.contact-header h1,
.form-wrap h1 {
  margin-bottom: 0.55rem;
}

.brands,
.testimonials,
.products-section,
.contact-section,
.complaint-section {
  background: transparent;
}

.brand-logos {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.85rem;
}

.brand-logos img {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.65rem;
  height: 76px;
  width: 100%;
  object-fit: contain;
}

.quote-card cite {
  display: block;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: normal;
}

.products-header,
.contact-header {
  margin: 2.2rem 0 1rem;
}

.products-header p,
.contact-header p {
  color: var(--muted);
}

.product-toolbar {
  margin: 1rem 0 1.25rem;
}

.product-toolbar input {
  width: min(380px, 100%);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.product-card {
  padding: 0.8rem;
}

.product-card img {
  height: 130px;
  width: 100%;
  border-radius: 0.7rem;
  object-fit: cover;
}

.product-card h3 {
  margin-top: 0.65rem;
  font-size: 1rem;
}

.badge {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #ecfeff;
  color: #0e7490;
  font-size: 0.72rem;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.contact-card,
.map-card {
  padding: 1rem;
}

.contact-points p {
  margin-bottom: 0.6rem;
  color: var(--muted);
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 0.9rem;
}

.form-wrap {
  max-width: 800px;
  margin: 2rem auto 3rem;
  padding: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  margin-bottom: 0.32rem;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.68rem 0.75rem;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-check input {
  width: auto;
}

.help-text {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.45rem;
}

footer {
  margin-top: 2.5rem;
  padding: 1rem 0;
  background: #0f172a;
  color: #e2e8f0;
}

.footer-wrap {
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    height: 280px;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    padding: 0.6rem 0;
    flex-direction: column;
    justify-content: center;
  }

  .site-nav {
    width: 100%;
  }

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

/* Switch starts here */
.rocker {
  display: inline-block;
  position: relative;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #888;
  width: 7em;
  height: 4em;
  overflow: hidden;
  border-bottom: 0.5em solid #eee;
}

.rocker-small {
  font-size: 0.75em;
  margin: 1em 0;
}

.rocker::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #999;
  border: 0.5em solid #eee;
  border-bottom: 0;
}

.rocker input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-left,
.switch-right {
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  width: 3em;
  transition: 0.2s;
  user-select: none;
}

.switch-left {
  height: 2.4em;
  width: 2.75em;
  left: 0.85em;
  bottom: 0.4em;
  background-color: #ddd;
  transform: rotate(15deg) skewX(15deg);
}

.switch-right {
  right: 0.5em;
  bottom: 0;
  background-color: #bd5757;
  color: #fff;
}

.switch-left::before,
.switch-right::before {
  content: "";
  position: absolute;
  width: 0.4em;
  height: 2.45em;
  bottom: -0.45em;
  background-color: #ccc;
  transform: skewY(-65deg);
}

.switch-left::before {
  left: -0.4em;
}

.switch-right::before {
  right: -0.375em;
  background-color: transparent;
  transform: skewY(65deg);
}

.rocker input:checked + .switch-left {
  background-color: #0084d0;
  color: #fff;
  bottom: 0;
  left: 0.5em;
  height: 2.5em;
  width: 3em;
  transform: rotate(0deg) skewX(0deg);
}

.rocker input:checked + .switch-left::before {
  background-color: transparent;
  width: 3.0833em;
}

.rocker input:checked + .switch-left + .switch-right {
  background-color: #ddd;
  color: #888;
  bottom: 0.4em;
  right: 0.8em;
  height: 2.4em;
  width: 2.75em;
  transform: rotate(-15deg) skewX(-15deg);
}

.rocker input:checked + .switch-left + .switch-right::before {
  background-color: #ccc;
}

.rocker input:focus + .switch-left {
  color: #333;
}

.rocker input:checked:focus + .switch-left {
  color: #fff;
}

.rocker input:focus + .switch-left + .switch-right {
  color: #fff;
}

.rocker input:checked:focus + .switch-left + .switch-right {
  color: #333;
}

/* Animated terms checkbox */
.terms-check {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
}

.terms-check input {
  display: none;
}

.terms-check svg {
  overflow: visible;
  flex-shrink: 0;
}

.terms-check .path {
  fill: none;
  stroke: #0f766e;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
  stroke-dasharray: 241 9999999;
  stroke-dashoffset: 0;
}

.terms-check input:checked ~ svg .path {
  stroke-dasharray: 70.5096664428711 9999999;
  stroke-dashoffset: -262.2723388671875;
}

.home-books h2 {
  margin-bottom: 1rem;
}

.book-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.home-books .book {
  position: relative;
  border-radius: 10px;
  width: 220px;
  min-width: 220px;
  height: 300px;
  background-color: whitesmoke;
  box-shadow: 1px 1px 12px #000;
  transform-style: preserve-3d;
  perspective: 2000px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  padding: 1rem;
  text-align: center;
}

.home-books .cover {
  top: 0;
  position: absolute;
  background-color: lightgray;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s;
  transform-origin: 0;
  box-shadow: 1px 1px 12px #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-books .book:hover .cover {
  transition: all 0.5s;
  transform: rotateY(-80deg);
}

.home-books .cover p {
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 680px) {
  .book-row {
    gap: 0.8rem;
  }
}
.logo-area .brand-sep {
  opacity: 0.65;
  font-weight: 600;
  margin: 0 0.2rem;
}

@media (max-width: 680px) {
  .logo-area {
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo-area img {
    width: 34px;
    height: 34px;
  }

  .logo-area span {
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 2.25rem 0;
  }

  .hero {
    padding: 4rem 0 3.2rem;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .site-nav {
    gap: 0.45rem;
  }

  .site-nav a {
    font-size: 0.84rem;
    padding: 0.45rem 0.55rem;
  }

  .contact-card,
  .map-card,
  .feature-card,
  .quote-card,
  .form-wrap {
    border-radius: 0.85rem;
  }

  .map-card iframe {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 94%;
  }

  .nav-wrap {
    gap: 0.5rem;
  }

  .logo-area {
    row-gap: 0.2rem;
  }

  .logo-area img {
    width: 28px;
    height: 28px;
  }

  .logo-area span {
    font-size: 0.74rem;
    letter-spacing: 0.01em;
  }

  .logo-area .brand-sep {
    margin: 0 0.1rem;
  }

  .site-nav {
    justify-content: center;
  }

  .site-nav a {
    font-size: 0.78rem;
    padding: 0.38rem 0.5rem;
  }

  .hero-copy,
  .products-header p,
  .contact-header p,
  .help-text {
    font-size: 0.9rem;
  }

  .home-books .book {
    width: 200px;
    min-width: 200px;
    height: 270px;
  }

  .form-wrap {
    padding: 0.9rem;
  }

  .btn {
    width: 100%;
  }

  .hero-cta .button {
    width: 100%;
    padding: 14px 20px;
  }
}
.brand-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(3px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.brand-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand-loader-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(15, 118, 110, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.brand-loader-inner img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}

.brand-loader-inner .brand-sep {
  opacity: 0.75;
}

@media (max-width: 600px) {
  .brand-loader-inner {
    flex-wrap: wrap;
    text-align: center;
    row-gap: 0.45rem;
    font-size: 0.78rem;
  }

  .brand-loader-inner img {
    width: 30px;
    height: 30px;
  }
}

.service-submit {
  width: 100%;
  max-width: none;
  min-height: 3.2em;
  padding: 0.7rem 1rem;
  border-radius: 30em;
  font-size: 15px;
  font-family: inherit;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
  cursor: pointer;
  background: #fff;
  white-space: normal;
  text-align: center;
}

.service-submit::before {
  content: "";
  width: 0;
  height: 3em;
  border-radius: 30em;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(to right, #0fd850 0%, #f9f047 100%);
  transition: 0.5s ease;
  display: block;
  z-index: -1;
}

.service-submit:hover::before {
  width: 100%;
}

@media (max-width: 768px) {
  .service-submit {
    font-size: 14px;
    min-height: 3.1em;
  }
}

@media (max-width: 480px) {
  .service-submit {
    font-size: 13px;
    min-height: 3em;
    padding: 0.65rem 0.8rem;
  }
}
