/* ===== Elegant Bil & Service — main stylesheet ===== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #05070a;
  --surface: #10151c;
  --surface-light: #171e28;
  --glass: rgba(23, 30, 40, 0.55);
  --glass-strong: rgba(16, 21, 28, 0.82);
  --brand: #1e88e5;
  --brand-deep: #0b4da8;
  --brand-light: #5baef2;
  --steel: #93a1b0;
  --steel-dark: #4b5563;
  --steel-light: #c7d0da;
  --bone: #f3f6fa;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(30,136,229,0.3); color: #fff; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; color: #fff; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- Utility classes ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand-light);
  margin-bottom: 0.75rem;
  display: block;
}
.section { padding: 6rem 0; position: relative; }
.section--tight { padding: 4rem 0; }
.section--alt { background: rgba(23,30,40,0.4); }
.section-heading { max-width: 640px; margin: 0 auto; text-align: center; }
.section-heading--left { text-align: left; margin: 0; }
.section-heading h2 { font-size: 2.25rem; }
.section-heading p { margin-top: 1rem; color: var(--steel); line-height: 1.7; }

.glass {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(147,161,176,0.14);
}
.glass-strong {
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(147,161,176,0.16);
}

.hex-corner {
  clip-path: polygon(18px 0%, calc(100% - 18px) 0%, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0% calc(100% - 18px), 0% 18px);
}

.hexgrid-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0 L56 16 L56 50 L28 66 L0 50 L0 16 Z' fill='none' stroke='%231E88E5' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
}

.text-gradient {
  background: linear-gradient(90deg, #5baef2, #1e88e5 55%, #93a1b0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 0 30px rgba(30,136,229,0.22); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.brand-logo { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo img { height: 2.25rem; width: auto; }
.brand-logo .brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--bone); line-height: 1.2; }
.brand-logo .brand-name span { color: var(--brand-light); }
.brand-logo .brand-tag { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--steel); }

.nav-links { display: none; list-style: none; gap: 2rem; margin: 0; padding: 0; font-size: 0.9rem; color: var(--steel-light); }
.nav-links a { padding: 0.5rem 0; position: relative; transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); border-radius: 2px; }

.nav-actions { display: none; align-items: center; gap: 1rem; }
.nav-phone { font-family: var(--font-mono); font-size: 0.9rem; color: var(--steel-light); }
.nav-phone:hover { color: #fff; }

.nav-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 2.25rem; height: 2.25rem; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--bone); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,0.05); padding: 0.5rem 1.25rem 1.5rem; }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--steel-light); font-weight: 500; }
.mobile-menu li a.active { color: var(--brand-light); }
.mobile-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.mobile-actions a { flex: 1; text-align: center; padding: 0.85rem; border-radius: 0.5rem; font-size: 0.9rem; font-weight: 600; }
.mobile-actions .call { border: 1px solid rgba(147,161,176,0.3); color: var(--bone); font-family: var(--font-mono); }
.mobile-actions .book { background: var(--brand); color: #fff; }

@media (min-width: 1024px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay-1 { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,7,10,0.9), rgba(5,7,10,0.7) 60%, var(--ink)); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to right, var(--ink), rgba(5,7,10,0.4), transparent); }
.hero-overlay-3 { position: absolute; inset: 0; opacity: 0.3; }
.hero-content { position: relative; max-width: 640px; padding: 8rem 0; }
.hero-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.hero-top img { height: 3rem; width: auto; }
.hero-divider { width: 1px; height: 2rem; background: rgba(147,161,176,0.3); }
.hero-loc { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--steel-light); }
.hero h1 { font-size: 3rem; line-height: 1.05; }
.hero p.lead { margin-top: 1.5rem; font-size: 1.125rem; color: var(--steel-light); max-width: 32rem; line-height: 1.7; }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-bottom-line { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(91,174,242,0.6), transparent); }

@media (min-width: 640px) { .hero h1 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4rem; } }

/* ---------- Stats strip ---------- */
.stats-strip { border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); background: rgba(16,21,28,0.6); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 2rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.05); }
.stat:nth-child(2n) { border-right: none; }
.stat-value { font-family: var(--font-mono); font-size: 1.75rem; font-weight: 600; color: var(--brand-light); }
.stat-label { margin-top: 0.25rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel); }
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { text-align: left; border-right: 1px solid rgba(255,255,255,0.05); }
  .stat:nth-child(2n) { border-right: 1px solid rgba(255,255,255,0.05); }
  .stat:last-child { border-right: none; }
  .stat-value { font-size: 2rem; }
}

/* ---------- Service cards ---------- */
.services-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card { position: relative; border-radius: 1rem; padding: 1.75rem; border: 1px solid transparent; transition: transform .3s ease, border-color .3s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(30,136,229,0.4); }
.service-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(30,136,229,0.1); border: 1px solid rgba(30,136,229,0.2); display: flex; align-items: center; justify-content: center; color: var(--brand-light); margin-bottom: 1.25rem; }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--steel); line-height: 1.65; }
.service-card .book-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--brand-light); }

/* ---------- About / split sections ---------- */
.split { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split-img { position: relative; border-radius: 1rem; overflow: hidden; }
.split-img img { width: 100%; height: 420px; object-fit: cover; }
.split-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,7,10,0.7), transparent 60%); }
.split-img-badge { position: absolute; bottom: 1.25rem; left: 1.25rem; padding: 0.75rem 1rem; border-radius: 0.75rem; }
.split-img-badge .big { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 600; color: var(--brand-light); }
.split-img-badge .small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); }

.check-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; color: var(--steel-light); }
.check-list li::before { content: ''; margin-top: 0.4rem; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

.text-link { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--brand-light); }
.text-link:hover { color: var(--brand); }

/* ---------- Values grid (about page) ---------- */
.values-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { border-radius: 1rem; padding: 1.5rem; }
.value-card .num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--brand-light); }
.value-card h3 { margin-top: 0.75rem; font-size: 1.05rem; }
.value-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--steel); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonials-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { border-radius: 1rem; padding: 1.75rem; display: flex; flex-direction: column; height: 100%; }
.testimonial .stars { color: var(--brand-light); margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial p { color: var(--steel-light); line-height: 1.7; flex: 1; }
.testimonial footer { margin-top: 1.25rem; font-size: 0.9rem; }
.testimonial footer .name { color: #fff; font-weight: 600; }
.testimonial footer .car { color: var(--steel); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.75rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
.faq-item { border-radius: 0.75rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-weight: 500; color: #fff; font-size: 1rem; }
.faq-plus { flex-shrink: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid rgba(147,161,176,0.3); display: flex; align-items: center; justify-content: center; color: var(--steel-light); transition: transform .25s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--steel); line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta { position: relative; padding: 5rem 0; overflow: hidden; text-align: center; }
.cta-bg1 { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,77,168,0.2), transparent, rgba(30,136,229,0.1)); }
.cta-bg2 { position: absolute; inset: 0; opacity: 0.3; }
.cta-content { position: relative; max-width: 40rem; margin: 0 auto; }
.cta h2 { font-size: 2.25rem; }
.cta p { margin-top: 1rem; color: var(--steel-light); }
.cta-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--surface); border-top: 1px solid rgba(255,255,255,0.05); margin-top: 6rem; }
.footer-grid { position: relative; display: grid; gap: 3rem; padding: 4rem 0; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand img { height: 2rem; width: auto; }
.footer-brand span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.footer-desc { max-width: 24rem; font-size: 0.9rem; color: var(--steel); line-height: 1.7; }
.footer-slogan { margin-top: 1rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--steel-dark); }
.footer-col h3 { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--steel); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.9rem; color: var(--steel-light); }
.footer-col ul li span.label { color: var(--steel); }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: 0.85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--steel-dark); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .links { display: flex; gap: 1.5rem; }

/* ---------- WhatsApp float button ---------- */
.whatsapp-btn { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transition: transform .15s ease; }
.whatsapp-btn:hover { transform: scale(1.06); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Forms ---------- */
.form-panel { border-radius: 1rem; padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--steel-light); margin-bottom: 0.4rem; }
.field label .req { color: var(--brand-light); }
.field label .opt { color: var(--steel-dark); }
.field input, .field textarea {
  width: 100%; border-radius: 0.5rem; background: rgba(5,7,10,0.6); border: 1px solid rgba(147,161,176,0.25);
  padding: 0.85rem 1rem; color: #fff; font-family: var(--font-body); font-size: 0.95rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel-dark); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: none; }
.field input[type="date"] { color-scheme: dark; }

.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (min-width: 640px) { .slots-grid { grid-template-columns: repeat(4, 1fr); } }
.slot-btn { padding: 0.65rem; border-radius: 0.5rem; font-family: var(--font-mono); font-size: 0.875rem; border: 1px solid rgba(147,161,176,0.25); background: transparent; color: var(--steel-light); cursor: pointer; transition: all .2s ease; }
.slot-btn:hover { border-color: rgba(30,136,229,0.4); color: #fff; }
.slot-btn.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.slots-hint { font-size: 0.9rem; color: var(--steel); }

.form-success { border-radius: 1rem; padding: 2.5rem; text-align: center; }
.form-success .check { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: rgba(30,136,229,0.15); border: 1px solid rgba(30,136,229,0.3); display: flex; align-items: center; justify-content: center; color: var(--brand-light); font-size: 1.5rem; margin: 0 auto 1.25rem; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { margin-top: 0.75rem; color: var(--steel-light); max-width: 26rem; margin-left: auto; margin-right: auto; }
.form-error { font-size: 0.875rem; color: #f87171; }

/* ---------- Contact page ---------- */
.contact-grid { margin-top: 3.5rem; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; border-radius: 1rem; padding: 1.25rem; border: 1px solid transparent; transition: border-color .2s ease; }
.contact-card:hover { border-color: rgba(30,136,229,0.4); }
.contact-card .icon { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: rgba(30,136,229,0.1); border: 1px solid rgba(30,136,229,0.2); display: flex; align-items: center; justify-content: center; color: var(--brand-light); font-size: 1.1rem; flex-shrink: 0; }
.contact-card .icon.wa { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.3); color: #25D366; }
.contact-card .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); }
.contact-card .value { color: #fff; font-family: var(--font-mono); word-break: break-word; }
.map-wrap { margin-top: 3.5rem; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 3rem; }
.gallery-filter-btn { padding: 0.5rem 1.1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500; border: 1px solid rgba(147,161,176,0.25); background: transparent; color: var(--steel-light); cursor: pointer; transition: all .2s ease; }
.gallery-filter-btn:hover { border-color: rgba(30,136,229,0.4); color: #fff; }
.gallery-filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.gallery-grid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }
.gallery-item { position: relative; overflow: hidden; border-radius: 1rem; margin-bottom: 1.25rem; break-inside: avoid; }
.gallery-item img { width: 100%; height: auto; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap { position: absolute; bottom: 1rem; left: 1rem; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .cap { opacity: 1; }
.gallery-item .cap-bg { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,7,10,0.8), transparent); opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .cap-bg { opacity: 1; }
.gallery-item.hidden { display: none; }
