/* 55 Car Care Landing Pages. Design tokens from Elementor Kit (exact match). */

:root {
  /* Brand colors - 100% identical to 55carcare.ae Elementor Kit */
  --color-primary: #0092FF;
  --color-primary-hover: #007ad6;
  --color-secondary: #005899;
  --color-accent: #000000;
  --color-text: #BDBDBD;
  --color-text-strong: #FFFFFF;
  --color-bg: #000000;
  --color-surface: #0A0A0A;
  --color-surface-2: #141414;
  --color-border: #1F1F1F;
  --color-border-strong: #2A2A2A;
  --color-whatsapp: #25D366;

  /* Typography - 100% identical to 55carcare.ae */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Button geometry from Elementor Kit */
  --btn-radius: 1px;
  --btn-pad-y: 13px;
  --btn-pad-x: 35px;
  --btn-font-size: 15px;
  --btn-font-weight: 500;

  /* Container */
  --content-w: 1200px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body { margin: 0; line-height: 1.6; font-size: 16px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text-strong);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-weight: 800; }

a { color: inherit; text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--color-primary); }

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

/* Utility: brand button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  line-height: 1;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s var(--ease-out);
  text-transform: none;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; transform: translateY(-1px); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1ebb57; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--color-border-strong); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Container */
.container { max-width: var(--content-w); margin: 0 auto; padding: 0 20px; }

/* Section spacing */
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

/* Dividers */
.divider { height: 1px; background: var(--color-border); }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Accent glow for key elements */
.glow { box-shadow: 0 0 60px -10px rgba(0, 146, 255, 0.5); }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #fff; line-height: 1.4;
}
.faq-q::after { content: '+'; font-size: 24px; color: var(--color-primary); font-weight: 400; transition: transform .3s var(--ease-out); }
.faq-item.is-open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); color: var(--color-text); font-size: 15px; line-height: 1.7; }
.faq-item.is-open .faq-a { max-height: 500px; padding-bottom: 20px; }

/* Form */
.field {
  width: 100%; padding: 14px 16px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--btn-radius);
  color: #fff;
  font-family: var(--font-body); font-size: 15px;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.field:focus { outline: 0; border-color: var(--color-primary); background: #101010; }
.field::placeholder { color: #666; }
label.field-label { display: block; font-size: 13px; color: #999; margin-bottom: 6px; font-weight: 500; }

/* Trust / review stars */
.stars { color: #ffc107; letter-spacing: 2px; }

/* Stat big number */
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 56px); color: #fff; line-height: 1; letter-spacing: -0.02em; }

/* Service card hover */
.service-card { transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out); }
.service-card:hover { transform: translateY(-4px); border-color: var(--color-primary); background: #0E0E0E; }

/* Sticky bottom bar (mobile) */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border-strong);
  display: none;
}
@media (max-width: 1024px) { .sticky-bar { display: flex; } }
.sticky-bar a { flex: 1; padding: 14px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sticky-bar a + a { border-left: 1px solid var(--color-border-strong); }
.sticky-bar .call { color: var(--color-primary); }
.sticky-bar .wa { color: var(--color-whatsapp); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

/* Prevent body horizontal scroll */
body { overflow-x: hidden; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Thank you state */
.form-success { display: none; padding: 40px 20px; text-align: center; background: linear-gradient(180deg, rgba(0,146,255,0.1), transparent); border: 1px solid var(--color-primary); border-radius: var(--btn-radius); }
.form-success.is-visible { display: block; }
.form-wrap.is-sent .form-fields { display: none; }
.form-wrap.is-sent .form-success { display: block; }

/* Mobile container padding */
@media (max-width: 480px) {
  .btn { padding: 12px 24px; font-size: 14px; }
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
}
