/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://yourwebsite.com
Template: astra
Version: 1.0.0
*/

/* Add your custom CSS below */

/* Shared layout — car.html & car1.html */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #eceef1;
  color: #333;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 48px;
}

body.body--form {
  align-items: center;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 100%;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  padding: 22px 20px 20px;
}

.card__title {
  margin: 0 0 18px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #222;
}

/* ——— car.html — plate & reasons ——— */
.plate {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.plate__top {
  background: #0d2868;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 5px 8px;
}

.plate__body {
  display: flex;
  align-items: stretch;
  min-height: 56px;
}

.plate__flag {
  width: 14px;
  flex-shrink: 0;
  background: linear-gradient(
    to bottom,
    #ff9933 0%,
    #ff9933 33.33%,
    #fff 33.33%,
    #fff 66.66%,
    #138808 66.66%,
    #138808 100%
  );
  border-right: 1px solid #ccc;
}

.plate__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #111;
}

.plate__hash {
  letter-spacing: 0.15em;
  margin-left: 4px;
  color: #444;
}

.section-label {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #777;
  font-weight: 500;
}

.reason-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reason-item {
  margin-bottom: 10px;
}

.reason-item:last-child {
  margin-bottom: 0;
}

.reason-item label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.reason-item label:hover {
  border-color: #ccc;
}

.reason-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reason-item:has(input:focus-visible) label {
  outline: 2px solid #0d2868;
  outline-offset: 2px;
}

.reason-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.reason-item:has(input:checked) label {
  border-color: #0d2868;
  box-shadow: 0 0 0 1px #0d2868;
}

.reason-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f5f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.reason-text {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #333;
}

.reason-radio {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid #bbb;
  border-radius: 50%;
  position: relative;
}

.reason-item:has(input:checked) .reason-radio {
  border-color: #0d2868;
  background: #0d2868;
  box-shadow: inset 0 0 0 3px #fff;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-decoration: none;
  color: inherit;
}

.btn--message {
  background: #fff;
  border: 2px solid #111;
  color: #111;
}

.btn--message:hover {
  background: #fafafa;
}

.btn--call {
  background: #ffd700;
  color: #111;
}

.btn--call:hover {
  filter: brightness(0.97);
}

.btn svg {
  flex-shrink: 0;
}

.spam-note {
  margin: 18px 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #555;
}

.bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 8px;
  border: none;
  background: #d32f2f;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn-emergency:hover {
  background: #b71c1c;
}

.footer-links {
  margin-top: 18px;
  font-size: 0.72rem;
  color: #777;
  line-height: 1.5;
  text-align: left;
}

.footer-links a {
  color: #777;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.wa-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}

/* ——— car1.html — contact form ——— */
.page-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 20px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a202c;
}

.page-heading svg {
  flex-shrink: 0;
  color: #2c5282;
}

.card--form {
  border-radius: 20px;
  padding: 28px 24px 26px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a202c;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form__input::placeholder {
  color: #a0aec0;
}

.contact-form__input:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.18);
}

.contact-form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(to right, #3182ce, #2c5282);
  transition: filter 0.15s, transform 0.05s;
}

.contact-form__submit:hover {
  filter: brightness(1.06);
}

.contact-form__submit:active {
  transform: scale(0.99);
}

.btn-sos{
    background:#e53935;
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
}

.sos-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.sos-popup-content{
    background:#fff;
    width:90%;
    max-width:340px;
    border-radius:18px;
    padding:24px;
    position:relative;
}

.sos-popup-content h3{
    margin:0 0 20px;
    text-align:center;
}

.sos-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.sos-item{
    display:block;
    padding:14px;
    border-radius:12px;
    background:#f5f5f5;
    text-decoration:none;
    color:#111;
    font-weight:600;
}

.sos-item:hover{
    background:#eee;
}

.close-sos{
    position:absolute;
    top:10px;
    right:14px;
    font-size:24px;
    cursor:pointer;
}