/* ===== Tire Solutions — styles =====
   Style preset: Bold & Colorful (Poppins + DM Sans, chunky buttons, color-block sections)
   with his brand colors swapped in: black, safety yellow, and the red from his logo/van. */
:root {
  --main: #111212;        /* near-black (brand) */
  --main-2: #1c1d1f;      /* slightly lighter black for cards on dark */
  --accent: #FFD633;      /* safety yellow (brand) */
  --accent-dark: #e6bd14;
  --pop: #E3262E;         /* red from the logo and van wrap */
  --bg: #FFFFFF;
  --bg-alt: #F4F4F2;
  --text: #1B1B1D;
  --muted: #55575c;
  --line: #e3e3df;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(17, 18, 18, .10);
  --head: "Poppins", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* 4.5 out of 5 stars: fills 90% of the five stars */
.stars-45 { background: linear-gradient(90deg, #f5b301 90%, #6b6b6b 90%); -webkit-background-clip: text; background-clip: text; color: transparent !important; letter-spacing: 2px; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-top: 36px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--main); padding: 10px 16px; z-index: 100; font-weight: 700; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pop); margin-bottom: .6em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); font-family: var(--head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--main); box-shadow: 0 4px 0 var(--accent-dark); }
.btn-accent:hover { box-shadow: 0 6px 0 var(--accent-dark); }
.btn-dark { background: var(--main); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--main); }
.btn-whatsapp { background: #25D366; color: #0b2e17; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--main); color: #fff; transition: box-shadow .2s ease; }
.header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.2rem; color: #fff; white-space: nowrap; }
.logo img { width: 44px; height: 44px; border-radius: 50%; }
.logo b { color: var(--pop); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 500; color: #e9e9e6; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .nav-call { margin-left: 8px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { display: inline-flex; border: 2px solid #3a3b3e; border-radius: 10px; overflow: hidden; }
.lang-toggle button { background: transparent; color: #cfcfcb; border: 0; min-width: 44px; min-height: 40px; font-family: var(--head); font-weight: 700; cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--main); }
.menu-btn { display: none; width: 46px; height: 46px; background: transparent; border: 2px solid #3a3b3e; border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--main); padding: 8px 20px 20px; border-top: 1px solid #2a2b2e; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid #2a2b2e; border-radius: 0; }
  .nav .nav-call { margin: 14px 0 0; }
}
@media (max-width: 400px) { .logo span { font-size: 1.05rem; } .logo img { width: 38px; height: 38px; } }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1000px 500px at 85% 20%, rgba(227,38,46,.22), transparent 60%), var(--main); color: #fff; padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.hero .eyebrow { color: var(--accent); }
.hero-text { font-size: 1.15rem; color: #d6d6d2; max-width: 34em; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; background: rgba(46, 204, 113, .14); color: #8ff0b6; border: 1px solid rgba(46,204,113,.35); padding: 6px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; margin-bottom: 18px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }
@media (prefers-reduced-motion: reduce) { .status .dot { animation: none; } }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #e9e9e6; font-size: .98rem; }
.hero-rating:hover { color: #fff; }
.stars { color: var(--accent); letter-spacing: 2px; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 18px; transform: rotate(1.5deg); box-shadow: 0 25px 60px rgba(0,0,0,.5); border: 4px solid var(--accent); aspect-ratio: 900 / 880; object-fit: cover; width: 100%; }
.hero-tag { position: absolute; left: -14px; bottom: 26px; background: var(--pop); color: #fff; padding: 12px 18px; border-radius: var(--radius); transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(0,0,0,.35); display: flex; flex-direction: column; line-height: 1.25; }
.hero-tag b { font-family: var(--head); font-size: 1.2rem; }
.hero-tag span { font-size: .88rem; }
@media (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-tag { left: 8px; }
}
@media (max-width: 480px) { .hero-buttons .btn { flex: 1 1 100%; } }

/* ---------- Badges ---------- */
.badges { background: var(--accent); color: var(--main); }
.badges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.badge { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .98rem; text-align: center; }
.badge svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .badges-row { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; } .badge { justify-content: flex-start; font-size: .92rem; } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--main); color: #fff; }
.section-yellow { background: var(--accent); color: var(--main); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { color: var(--muted); }
@media (max-width: 600px) { .section { padding: 60px 0; } }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 24px 22px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--main); box-shadow: 6px 6px 0 var(--accent); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--main); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

.steps { margin-top: 56px; background: var(--main); color: #fff; border-radius: 20px; padding: 36px 32px; }
.steps-title { color: var(--accent); font-size: 1.4rem; margin-bottom: 20px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps b { font-family: var(--head); font-size: 1.05rem; }
.steps p { color: #cfcfcb; margin: 4px 0 0; font-size: .97rem; }
.step-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--main); display: grid; place-items: center; font-family: var(--head); font-weight: 800; }
@media (max-width: 800px) { .steps ol { grid-template-columns: 1fr; } .steps { padding: 28px 22px; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo img { border-radius: 18px; border: 4px solid var(--pop); transform: rotate(-1.5deg); box-shadow: 0 25px 50px rgba(0,0,0,.45); width: 100%; }
.about-copy p { color: #d6d6d2; }
.about-copy .eyebrow { color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 36px; } .about-photo { max-width: 520px; margin: 0 auto; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-cell { margin: 0; }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: var(--main); border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cell figcaption { font-family: var(--head); font-weight: 600; font-size: .95rem; margin-top: 10px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { gap: 12px; } .gallery-cell figcaption { font-size: .85rem; } }

/* ---------- Reviews ---------- */
.rating-summary { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 20px; margin-top: 6px; }
.rating-summary .big { font-family: var(--head); font-weight: 800; font-size: 1.6rem; }
.rating-summary .stars { color: #f5b301; font-size: 1.1rem; }
.rating-summary span:last-child { color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: #fff; border-radius: 16px; padding: 24px; border: 2px solid var(--line); display: flex; flex-direction: column; }
.review .stars { color: #f5b301; font-size: 1.1rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 1rem; flex: 1; }
.review figcaption { font-family: var(--head); font-weight: 700; }
.review figcaption::before { content: "— "; color: var(--pop); }
@media (max-width: 960px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 2px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; min-height: 56px; background: none; border: 0; text-align: left; font-family: var(--head); font-weight: 600; font-size: 1.04rem; color: var(--text); cursor: pointer; }
.faq-q:hover { background: var(--bg-alt); }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--main); position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- Areas ---------- */
.areas { display: grid; gap: 18px; text-align: center; justify-items: center; }
.areas .eyebrow { color: var(--main); }
.areas h2 { margin: 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { background: var(--main); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.chips li:first-child { background: var(--pop); }
.areas > p { margin: 0; font-weight: 500; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info > p { color: var(--muted); }
.urgent { background: var(--main); color: #fff; border-radius: 18px; padding: 26px; margin-top: 22px; }
.urgent-title { font-family: var(--head); font-weight: 800; font-size: 1.35rem; color: var(--accent); margin-bottom: 2px; }
.urgent p { color: #d6d6d2; }
.message-title { margin: 22px 0 10px; font-weight: 700; color: #fff !important; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-buttons .btn { flex: 1 1 auto; }
.form { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 700; margin-bottom: 6px; font-size: .97rem; }
.req { color: var(--pop); }
.optional { color: var(--muted); font-weight: 400; font-size: .88rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; border: 2px solid #d5d5d0; border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--main); outline: none; box-shadow: 0 0 0 4px rgba(255, 214, 51, .55); }
.field .err { display: none; color: #b3141b; font-size: .9rem; margin-top: 6px; font-weight: 500; }
.field.has-error input, .field.has-error textarea { border-color: #b3141b; }
.field.has-error .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 14px 0 0; font-weight: 700; min-height: 1em; }
.form-msg.ok { color: #157a3c; }
.form-msg.bad { color: #b3141b; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } .form { padding: 22px 18px; } }

/* ---------- Footer ---------- */
.footer { background: var(--main); color: #cfcfcb; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer p { margin: 0 0 8px; font-size: .97rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .logo { margin-bottom: 14px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.copyright { border-top: 1px solid #2a2b2e; margin-top: 36px; padding-top: 20px; font-size: .9rem; color: #9a9b97; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } .footer { padding-bottom: 96px; } }

/* ---------- Floating contact (phones) ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; gap: 8px; padding: 8px; background: var(--main); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s ease, opacity .25s ease; }
  .mobile-bar.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .mobile-bar { gap: 6px; padding: 6px; }
  .mobile-bar a { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 50px; padding: 0 4px; border-radius: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: .88rem; white-space: nowrap; }
  .mobile-bar svg { width: 18px; height: 18px; flex: none; }
  .mb-call { background: var(--accent); color: var(--main); }
  .mb-text { background: #2a2b2e; color: #fff; }
  .mb-wa { background: #25D366; color: #0b2e17; }
  .mobile-bar a[hidden] { display: none; }
  body { padding-bottom: 0; }
}
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float[hidden] { display: none; }
@media (max-width: 760px) { .wa-float { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 10, .88); }
.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 12px; object-fit: contain; }
.lightbox-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--main); font-size: 1.2rem; font-weight: 700; cursor: pointer; }

/* ---------- Fade-in ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
