/* SparkleRah Car Wash - Unique Visual Identity */

:root {
  --spray-blue: #37aee2;
  --foam-white: #f6fbfa;
  --chrome-gray: #e3e9ee;
  --spark-dark: #173042;
  --wax-gold: #ffe066;
  --sunshine-yellow: #ffcf78;
  --wave-light: #d1f1f9;
  --shimmer: #2097be;
  --text-main: #22394c;
  --text-muted: #354f66;
  --suds-gray: #8a95a1;
  --border-radius-sparkle: 18px;
  --transition-fast: 0.2s cubic-bezier(.45,.2,.45,1);
}

@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Inter:wght@400;700&display=swap');

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-main);
  background: var(--foam-white);
  margin: 0;
  font-size: 17px;
  line-height: 1.68;
}

h1, h2, h3, h4 {
  font-family: 'Russo One', Arial, sans-serif;
  color: var(--spray-blue);
  letter-spacing: .01em;
  margin-top: 0;
}

h1 {
  font-size: 2.7rem;
  text-shadow: 0 2px 18px #219ed540;
}

h2 {
  margin-bottom: 1.3rem;
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2.3rem;
}

a {
  color: var(--shimmer);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

a:hover,
a:focus {
  color: var(--spray-blue);
}

header {
  background: var(--chrome-gray);
  border-bottom: 1px solid #d1e0e7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-svg {
  width: 40px;
  height: 40px;
  margin-right: 13px;
}

.logo-text {
  font-family: 'Russo One', Arial, sans-serif;
  font-size: 1.5rem;
  color: var(--spark-dark);
  letter-spacing: 0.03em;
  margin-top: 3px;
}

nav {
  display: flex;
  gap: 2.2rem;
}

nav a {
  color: var(--text-main);
  font-size: 1rem;
}

nav a.active {
  color: var(--spray-blue);
  font-weight: bold;
}

.burger {
  display: none;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 17px;
}

.burger span, .burger span:before, .burger span:after {
  display: block;
  background: var(--spray-blue);
  height: 4px;
  width: 26px;
  border-radius: 2px;
  position: relative;
  transition: 0.3s;
  content: '';
}

.burger span:before, .burger span:after {
  content: '';
  position: absolute;
  width: 26px;
  height: 4px;
}

.burger span:before {
  top: -9px;
}

.burger span:after {
  top: 9px;
}

@media (max-width: 800px) {
  nav {
    display: none;
    position: absolute;
    right: 0;
    top: 74px;
    background: var(--foam-white);
    z-index: 22;
    width: 100vw;
    box-shadow: 0 8px 24px #17304212;
    flex-direction: column;
    gap: 0;
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 19px 2rem;
    border-bottom: 1px solid var(--chrome-gray);
    color: var(--text-main);
  }
  .burger {
    display: flex;
  }
}

/* --- Hero Section --- */
.hero-section {
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #eaf7fc 60%, #b8edfc 100%);
  background-image: url('images/hero.jpg'), linear-gradient(110deg,#eaf7fc8c 60%,#b8edfc99 100%);
  background-size: cover, cover;
  background-position: center, top;
  position: relative;
}

.hero-section::before {
  content: '';
  display: block;
  background: linear-gradient(110deg,#eaf7fcA0 60%,#b8edfcB0 100%);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 78px 0 56px 0;
  width: 100%;
  max-width: 680px;
}

.hero-content h1 {
  color: var(--spark-dark);
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.4rem;
  margin-bottom: 2.2rem;
}

.btn-main {
  padding: 0.98em 2.6em;
  background: linear-gradient(90deg, var(--spray-blue), var(--sunshine-yellow));
  color: var(--spark-dark);
  font-family: 'Russo One', sans-serif;
  font-size: 1.13rem;
  border: none;
  border-radius: var(--border-radius-sparkle);
  cursor: pointer;
  box-shadow: 0 3px 14px #2097be24;
  font-weight: 700;
  letter-spacing: .01em;
  transition: box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-main:hover {
  background: linear-gradient(90deg, var(--sunshine-yellow), var(--spray-blue));
  box-shadow: 0 4px 24px #2097be38;
}

/* --- Services --- */
.services-section {
  background: var(--foam-white);
  padding: 3.8rem 0 3rem 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.45rem;
}
@media (max-width: 950px) {
  .services-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.service-card {
  padding: 2.1rem 1.2rem 1.7rem 1.2rem;
  background: var(--wave-light);
  border-radius: var(--border-radius-sparkle);
  box-shadow: 0 1px 8px #2e8fd819;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 242px;
  transition: box-shadow var(--transition-fast);
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 6px 28px #20a8db33;
}

.service-card .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.6rem;
}

.service-card h3 {
  font-size: 1.19rem;
  color: var(--spray-blue);
  margin-bottom: 0.55rem;
  font-family: 'Russo One', Arial, sans-serif;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.58;
}

/* --- Split --- */
.split-section {
  background: var(--chrome-gray);
  padding: 3.6rem 0 3.3rem 0;
}

.split-wrapper {
  display: flex;
  align-items: center;
  gap: 2.9rem;
  flex-wrap: wrap;
}

.split-img {
  flex: 1 1 350px;
  min-width: 240px;
  padding: 1rem;
}
.split-img img {
  width: 100%;
  border-radius: var(--border-radius-sparkle);
  box-shadow: 0 6px 30px #2097be2c;
  display: block;
}

.split-content {
  flex: 2 1 380px;
  min-width: 270px;
}

.split-content p {
  margin-bottom: 0.94rem;
  color: var(--text-main);
  font-size: 1.09rem;
}

.split-content .btn-main {
  margin-top: 0.6em;
}

/* --- Benefits --- */
.benefits-section {
  padding: 3.3rem 0 2.5rem 0;
}

.benefits-row {
  display: flex;
  justify-content: space-between;
  gap: 1.1rem;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .split-wrapper {
    flex-direction: column;
    gap: 2.2rem;
  }
  .benefits-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
}
.benefit-card {
  background: linear-gradient(130deg, var(--wave-light) 80%, var(--chrome-gray));
  flex: 1 1 160px;
  border-radius: var(--border-radius-sparkle);
  padding: 2.4rem 1.6rem 2rem 1.7rem;
  box-shadow: 0 1px 8px #2e8fd810;
  text-align: left;
  min-width: 160px;
}

.benefit-number {
  font-size: 2.36rem;
  color: var(--spray-blue);
  font-family: 'Russo One', sans-serif;
  margin-bottom: 0.44rem;
  display: block;
}

.benefit-desc {
  color: var(--text-muted);
  font-size: 1.04rem;
  font-weight: 500;
}

/* --- Info Block --- */
.info-section {
  padding: 3.2rem 0 2.7rem 0;
  background: var(--foam-white);
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--chrome-gray);
  padding: 3.8rem 0 2.5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.4rem;
}
@media (max-width: 870px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.23rem;
  }
}

.testimonial-card {
  background: var(--foam-white);
  border-radius: var(--border-radius-sparkle);
  box-shadow: 0 2px 16px #37aee21b;
  padding: 2.1rem 1.5rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-name {
  font-weight: 700;
  color: var(--spark-dark);
  margin-bottom: 0.29rem;
}
.testimonial-date {
  font-size: 0.92rem;
  color: var(--suds-gray);
  margin-bottom: 0.75rem;
}
.testimonial-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

/* --- Blog Preview --- */
.blog-section {
  padding: 3.5rem 0 2.7rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.3rem;
}
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

.blog-card {
  background: var(--foam-white);
  border-radius: var(--border-radius-sparkle);
  box-shadow: 0 2px 12px #2097be1a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  color: var(--spark-dark);
  font-size: 1.13rem;
  margin-bottom: 0.77rem;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.read-more {
  font-family: 'Russo One', Arial, sans-serif;
  color: var(--shimmer);
  text-decoration: underline;
  font-size: 1rem;
  margin-top: auto;
  align-self: flex-start;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 3.3rem 0 2.2rem 0;
  background: var(--chrome-gray);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--foam-white);
  border-radius: var(--border-radius-sparkle);
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 10px #2097be16;
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
  border-left: 5px solid var(--spray-blue);
}

.faq-question {
  padding: 1.23rem 1.8rem 1.23rem 1.3rem;
  cursor: pointer;
  color: var(--spark-dark);
  font-size: 1.13rem;
  position: relative;
  font-family: 'Russo One', Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question .chevron {
  margin-left: 1.1rem;
  transition: transform .25s;
}
.faq-item.open .faq-question .chevron {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.6rem;
  background: #f8fbfd;
  color: var(--text-muted);
  font-size: 1rem;
  transition: max-height .35s cubic-bezier(.55,0,.18,1), padding .28s;
}
.faq-item.open .faq-answer {
  padding: 1.2rem 1.6rem;
  max-height: 220px;
}

/* --- Contact --- */
.contact-section {
  background: var(--foam-white);
  padding: 3.7rem 0 2.7rem 0;
}
.contact-wrapper {
  display: flex;
  gap: 3.3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 2.1rem;
  }
}
.contact-form-column {
  flex: 1 1 360px;
  min-width: 260px;
}
.contact-info-column {
  flex: 1 1 270px;
  min-width: 220px;
  font-size: 1.07rem;
  color: var(--text-main);
}

.contact-info-block {
  background: var(--chrome-gray);
  border-radius: var(--border-radius-sparkle);
  padding: 1.7rem 1.2rem 1.5rem 1.2rem;
  box-shadow: 0 2px 12px #2097be14;
}

.contact-info-block h3 {
  margin-top: 0;
  margin-bottom: .8rem;
  color: var(--spark-dark);
  font-size: 1.1rem;
}

#contact-form {
  background: var(--chrome-gray);
  border-radius: var(--border-radius-sparkle);
  padding: 2.1rem 1.6rem 1.5rem 1.6rem;
  box-shadow: 0 2px 14px #2097be18;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

#form-success {
  display: none;
  background: var(--wave-light);
  color: var(--shimmer);
  border-radius: var(--border-radius-sparkle);
  padding: 1.1em 1.2em;
  margin-bottom: 1.2em;
  box-shadow: 0 1px 7px #2097be1f;
  font-weight: 500;
  font-size: 1.05rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
label {
  font-weight: 500;
  color: var(--spark-dark);
  font-size: 1rem;
}
input, textarea {
  padding: 0.88em 1em;
  border: 1px solid var(--chrome-gray);
  border-radius: var(--border-radius-sparkle);
  font-size: 1rem;
  background: var(--foam-white);
  color: var(--text-main);
  font-family: inherit;
  resize: none;
  transition: border-color var(--transition-fast);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--spray-blue);
}

button[type="submit"] {
  margin-top: 0.7em;
}

/* --- Footer --- */
footer {
  background: var(--chrome-gray);
  border-top: 2px solid #e3e9ee;
  margin-top: 3.2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2.7rem 0 1.3rem 0;
}
@media (max-width: 700px) {
  .footer-main {
    flex-direction: column;
    gap: 2.2rem;
    align-items: stretch;
  }
  .footer-nav {
    align-items: flex-start;
  }
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.98rem;
  max-width: 270px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.3rem;
}

.footer-logo-svg {
  width: 35px;
  height: 35px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 1.03rem;
}

.footer-email {
  color: var(--shimmer);
  font-size: 1.09rem;
  font-weight: 500;
  text-decoration: underline;
  margin-top: 0.5rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  align-items: flex-end;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--spray-blue);
}

.footer-bottom {
  border-top: 1px solid #dbe8f3;
  text-align: center;
  padding: 1.1rem 0 1rem 0;
  color: var(--suds-gray);
  font-size: 0.97rem;
  background: #e0ebf3;
  letter-spacing: 0.02em;
  margin-top: 0.1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--spark-dark);
  color: #fcfcfc;
  padding: 1.35rem 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  box-shadow: 0 -2px 14px #1730421a;
  gap: 1.6rem;
  font-size: 1.03rem;
  transition: transform .27s, opacity .27s;
}

.cookie-banner a {
  color: var(--wax-gold);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-banner button {
  background: var(--spray-blue);
  color: var(--spark-dark);
  border: none;
  border-radius: var(--border-radius-sparkle);
  padding: 0.6em 1.4em;
  margin-left: 0.8em;
  font-size: 1rem;
  font-family: 'Russo One', Arial, sans-serif;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background var(--transition-fast);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--wax-gold);
  color: var(--spray-blue);
}

/* Utility/Misc */
ul, ol {
  padding-left: 1.3em;
}
li {
  margin-bottom: .5em;
}

::-webkit-scrollbar-thumb {
  background: var(--wave-light);
  border-radius: 7px;
}
::-webkit-scrollbar {
  background: var(--foam-white);
  width: 11px;
}

/* Accessibility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

@media (max-width: 600px) {
  .container { padding: 0 1.1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
}

/* --- End of SparkleRah CSS --- */