/* ========== PKN Logistics & Towing — A-1 Style Theme ========== */
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700&family=Rubik:wght@500;600;700;800&display=swap');

:root {
  --red: #E30613;
  --red-dark: #C10510;
  --black: #111111;
  --dark: #1a1a1a;
  --gray: #333333;
  --muted: #666666;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --border: #E5E5E5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Karla', system-ui, sans-serif;
  color: var(--gray);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

.top-bar { background: var(--red); height: 6px; width: 100%; }

.header { background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.header-left { text-align: left; min-width: 140px; }
.header-rating { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.35rem; color: #F5A623; }
.header-rating span { color: var(--muted); font-size: 0.8rem; font-weight: 500; display: block; }
.header-location { font-size: 0.9rem; color: var(--gray); font-weight: 600; margin-top: 2px; }
.header-center { text-align: center; flex: 1; }
.logo-img { height: 70px; width: auto; margin: 0 auto 0.35rem; }
.logo-tagline { font-family: 'Rubik', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--gray); }
.header-right { text-align: right; min-width: 160px; }
.btn-red { display: inline-block; background: var(--red); color: white; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 0.9rem; padding: 0.7rem 1.4rem; border-radius: 4px; transition: background 0.2s; border: none; cursor: pointer; }
.btn-red:hover { background: var(--red-dark); }
.header-phone { display: block; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--black); margin-top: 0.5rem; }
.header-phone:hover { color: var(--red); }

.nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.nav a { font-family: 'Rubik', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--gray); padding: 0.9rem 1.1rem; transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--red); }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 0.5rem; color: var(--gray); }
@media (max-width: 800px) {
  .header-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
  .header-left { display: none; } /* hide Google reviews + location on mobile */
  .header-right { text-align: center; min-width: auto; }
  .header-center { order: -1; } /* logo first at top */
  .header { padding: 0.75rem 0; }
  .logo-img { height: 60px; }
  .nav-inner { display: none; flex-direction: column; }
  .nav-inner.open { display: flex; }
  .hamburger { display: block; margin: 0 auto; }
}

.hero { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.65)); }
.hero-content { position: relative; z-index: 1; padding: 3rem 1.5rem; max-width: 900px; }
.hero h1 { font-family: 'Rubik', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 0.75rem; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.hero-sub { font-size: 1.1rem; margin-bottom: 0.5rem; opacity: 0.95; }
.hero-phone { font-family: 'Rubik', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.25rem); margin: 0.75rem 0 0.35rem; }
.hero-phone a { color: white; }
.hero-phone a:hover { color: #ffcccc; }
.hero-open { font-size: 0.95rem; color: #4ade80; font-weight: 600; }
.hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-white { background: white; color: var(--red); font-family: 'Rubik', sans-serif; font-weight: 700; padding: 0.75rem 1.5rem; border-radius: 4px; transition: all 0.2s; display: inline-block; }
.btn-white:hover { background: var(--light); }

.section { padding: 3.5rem 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); color: white; }
.section-title { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: var(--black); text-align: center; margin-bottom: 0.5rem; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.section-dark .section-title { color: white; }
.section-dark .section-sub { color: rgba(255,255,255,0.75); }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.75rem 1.5rem; text-align: center; transition: box-shadow 0.25s, transform 0.25s; }
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.service-card h3 { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--black); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem; }
.service-card a { color: var(--red); font-weight: 700; font-size: 0.9rem; }
.service-card a:hover { text-decoration: underline; }

.trust-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; text-align: center; padding: 2rem 0; }
.trust-item strong { display: block; font-family: 'Rubik', sans-serif; font-size: 1.1rem; color: var(--black); }
.trust-item span { font-size: 0.9rem; color: var(--muted); }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.25rem 0; font-family: 'Rubik', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--black); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q:hover { color: var(--red); }
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--red); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 0 1.25rem; color: var(--muted); font-size: 0.98rem; line-height: 1.65; }
.faq-item.open .faq-a { display: block; }

.reviews-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; }
.review-stars { color: #F5A623; font-size: 0.95rem; letter-spacing: 1px; margin-bottom: 0.5rem; }
.review-text { font-size: 0.95rem; color: var(--gray); margin-bottom: 0.75rem; font-style: italic; }
.review-author { font-weight: 700; font-size: 0.9rem; color: var(--black); }
.review-meta { font-size: 0.8rem; color: #999; margin-top: 0.2rem; }

.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; max-width: 800px; margin: 0 auto 2rem; }
@media (min-width: 600px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card { background: var(--light); border: 1px solid var(--border); border-radius: 4px; padding: 1.1rem; text-align: center; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--black); }
.area-card.featured { background: var(--red); color: white; border-color: var(--red); font-size: 1.15rem; }
.map-wrap { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); margin-top: 1.5rem; }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.large { grid-column: span 2; aspect-ratio: 16/9; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 95%; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; line-height: 1; }

.cta-banner { background: var(--red); color: white; text-align: center; padding: 3rem 1.5rem; }
.cta-banner h2 { font-family: 'Rubik', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 0.5rem; }
.cta-banner p { margin-bottom: 1.25rem; opacity: 0.95; }
.cta-banner .btn-white { margin: 0 0.35rem 0.5rem; }

.footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 3rem 0 0; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { height: 50px; width: auto; margin-bottom: 0.75rem; }
.footer h4 { font-family: 'Rubik', sans-serif; font-weight: 700; color: white; font-size: 0.95rem; margin-bottom: 0.85rem; }
.footer ul li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; text-align: center; font-size: 0.85rem; opacity: 0.6; }

.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; display: flex; background: var(--dark); }
@media (min-width: 768px) { .mobile-bar { display: none; } }
.mobile-btn { flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 0.9rem; color: white; }
.mobile-btn.call { background: var(--dark); border-right: 1px solid rgba(255,255,255,0.15); }
.mobile-btn.whatsapp { background: #25D366; }

.floating-whatsapp { position: fixed; bottom: 90px; right: 18px; z-index: 998; width: 58px; height: 58px; background: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.45); transition: transform 0.2s; }
.floating-whatsapp:hover { transform: scale(1.08); }
@media (min-width: 768px) { .floating-whatsapp { bottom: 24px; right: 24px; width: 60px; height: 60px; } }

.page-hero { background: var(--dark); color: white; padding: 3rem 1.5rem; text-align: center; }
.page-hero h1 { font-family: 'Rubik', sans-serif; font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.4rem; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; }

.about-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.about-content h2 { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.75rem; color: var(--black); margin-bottom: 1rem; }
.about-content p { margin-bottom: 1rem; color: var(--muted); }
.about-img { border-radius: 8px; width: 100%; height: 320px; object-fit: cover; }

.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--light); border-radius: 8px; padding: 2rem; text-align: center; }
.contact-card h3 { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--black); margin-bottom: 0.75rem; }
.contact-card p { color: var(--muted); margin-bottom: 1rem; }
.contact-card .btn-red { margin-top: 0.5rem; }

/* Google review summary */
.google-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.google-score { text-align: center; }
.google-score-num {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--black);
}
.google-score-stars {
  color: #F5A623;
  font-size: 1.35rem;
  letter-spacing: 2px;
  margin: 0.25rem 0;
}
.google-score-count {
  font-size: 0.9rem;
  color: var(--muted);
}
.google-bars { flex: 1; min-width: 180px; max-width: 240px; }
.gbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}
.gbar span { width: 12px; text-align: right; }
.gbar-track {
  flex: 1;
  height: 8px;
  background: #E8E8E8;
  border-radius: 4px;
  overflow: hidden;
}
.gbar-fill {
  height: 100%;
  background: #F5A623;
  border-radius: 4px;
}

/* Linked area cards */
a.area-card { display: block; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
a.area-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
a.area-card.featured:hover { color: white; }

/* QuickRescue label — subtle professional emphasis */
.qr-brand {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}
