/* style.css - 4drivemauritius.com | Mauritius Teal Coral Theme */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0E7C7B;
  --primary-dark: #0a5c5b;
  --accent: #F4A259;
  --accent-dark: #d4813a;
  --dark: #123A3A;
  --light: #EEF7F6;
  --text: #2C2C2C;
  --muted: #6B6B6B;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #D0D0D0;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --max-w: 1200px;
  --tr: 0.2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); }
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.25; color: var(--dark); font-weight: 700; }
a { color: var(--primary); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.08); border-bottom: 3px solid var(--primary); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--primary); color: var(--white); font-family: 'Playfair Display', serif; font-weight: 800; font-size: 22px; border-radius: 50%; box-shadow: 0 2px 8px rgba(14,124,123,0.3); }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--dark); }
.logo-text span { color: var(--primary); }
.logo:hover { color: var(--dark); }
.site-nav ul { display: flex; gap: 4px; list-style: none; align-items: center; }
.site-nav a { color: var(--text); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-sm); white-space: nowrap; transition: all var(--tr); }
.site-nav a:hover { color: var(--primary); background: var(--light); }
.nav-cta { background: var(--primary) !important; color: var(--white) !important; font-weight: 700 !important; padding: 10px 20px !important; margin-left: 8px; border-radius: var(--radius-sm); }
.nav-cta:hover { background: var(--primary-dark) !important; color: var(--white) !important; }
.mobile-toggle { display: none; background: none; border: 2px solid var(--primary); border-radius: var(--radius-sm); cursor: pointer; flex-direction: column; gap: 4px; padding: 6px 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }

/* HERO */
.hero { position: relative; background-size: cover; background-position: center; min-height: 480px; display: flex; align-items: center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,26,0.65) 0%, rgba(14,124,123,0.45) 100%); }
.hero-content { position: relative; z-index: 1; color: var(--white); padding: 80px 0; max-width: 780px; }
.hero-content h1 { font-size: clamp(28px, 4vw, 50px); color: var(--white) !important; margin-bottom: 18px; }
.hero-content h2, .hero-content h3 { color: var(--white) !important; }
.hero-content p, .hero-content .hero-sub { color: rgba(255,255,255,0.95); font-size: 18px; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.badge { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); color: var(--white); padding: 7px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; backdrop-filter: blur(4px); }
.badge-red { background: var(--primary); color: var(--white); border-color: var(--primary); }
.badge-gold { background: var(--accent); color: var(--dark); border-color: var(--accent); }

/* WIDGET */
.booking-widget { background: var(--light); padding: 30px 0; border-bottom: 3px solid var(--accent); }

/* SECTIONS */
.section { padding: 64px 0; }
.section-alt { background: var(--gray-50); }
.section-red { background: var(--primary); color: var(--white); }
.section-red h2 { color: var(--white); }
.section-red p { color: rgba(255,255,255,0.95); }
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 700px; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }

/* BUTTONS */
.btn { display: inline-block; padding: 13px 30px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; cursor: pointer; border: 2px solid transparent; transition: all var(--tr); text-align: center; white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.btn-gold { background: var(--accent); color: var(--dark); }
.btn-gold:hover { background: var(--accent-dark); color: var(--dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--tr), box-shadow var(--tr); border: 1px solid var(--gray-200); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-img { width: 100%; height: 180px; object-fit: cover; background: var(--light); }
.card-body { padding: 20px 22px; }
.card-body h3 { font-size: 18px; margin-bottom: 10px; color: var(--dark); }
.card-body h3 a { color: var(--dark); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }

/* FEATURE CARDS */
.feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 24px; transition: all var(--tr); }
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; background: var(--light); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* HIGHLIGHT BOX */
.highlight-box { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); color: var(--dark); border-radius: var(--radius); padding: 38px 42px; margin: 36px 0; }
.highlight-box h2 { color: var(--dark); margin-bottom: 12px; }
.highlight-box p { color: rgba(0,0,0,0.85); font-size: 16px; margin-bottom: 10px; }

.red-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); border-radius: var(--radius); padding: 38px 42px; margin: 36px 0; }
.red-box h2, .red-box h3 { color: var(--white); margin-bottom: 12px; }
.red-box p { color: rgba(255,255,255,0.92); font-size: 16px; margin-bottom: 10px; }

/* BREADCRUMBS */
.breadcrumbs { background: var(--gray-50); padding: 12px 0; font-size: 13px; border-bottom: 1px solid var(--gray-200); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumbs li + li::before { content: ">"; color: var(--muted); margin-right: 8px; }
.breadcrumbs a { color: var(--primary); font-weight: 500; }
.breadcrumbs li:last-child span { color: var(--muted); }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color var(--tr); }
.faq-item.open { border-color: var(--primary); }
.faq-question { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--dark); font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border: none; background: none; width: 100%; text-align: left; }
.faq-question::after { content: "+"; font-size: 24px; color: var(--primary); flex-shrink: 0; font-weight: 400; }
.faq-item.open .faq-question::after { content: "-"; }
.faq-answer { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* PRICING TABLE */
.pricing-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 28px 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pricing-table th { background: var(--primary); color: var(--white); padding: 14px 18px; text-align: left; font-weight: 700; font-size: 14px; }
.pricing-table td { padding: 14px 18px; border-bottom: 1px solid var(--gray-200); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) td { background: var(--gray-50); }
.pricing-table .price { font-weight: 700; color: var(--primary); font-size: 17px; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; }
.step-number { width: 56px; height: 56px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin: 0 auto 16px; box-shadow: 0 4px 12px rgba(14,124,123,0.25); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* INFO BOX */
.info-box { background: var(--light); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 22px 0; font-size: 15px; }
.info-box.warning { background: #fff3d1; border-color: #f59e0b; }
.info-box.success { background: #d1f0e0; border-color: #16a34a; }

/* CHECKLIST */
.checklist { list-style: none; }
.checklist li { padding: 8px 0 8px 32px; position: relative; font-size: 15px; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; background: var(--primary); border-radius: 50%; }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 17px; width: 8px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg); }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.review-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border-top: 3px solid var(--accent); }
.review-stars { color: var(--accent); font-size: 18px; margin-bottom: 10px; }
.review-text { font-size: 15px; color: var(--muted); margin-bottom: 14px; font-style: italic; line-height: 1.7; }
.review-author { font-weight: 700; font-size: 14px; color: var(--dark); }

/* FOOTER */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; margin-top: 80px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-icon { width: 36px; height: 36px; font-size: 20px; }
.footer-logo .logo-text { color: var(--white); font-size: 20px; }
.footer-logo .logo-text span { color: var(--accent); }
.footer-about { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.footer-pay { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pay-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; margin-right: 6px; }
.pay-method { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { padding: 22px 0; text-align: center; }
.footer-copy { font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 10px; }
.footer-legal { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.5); font-size: 12px; }
.footer-legal a:hover { color: var(--white); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--wide { grid-column: 1 / -1; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px; z-index: 999; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 12px 16px; }
  .mobile-toggle { display: flex; }
  .hero { min-height: 380px; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   UNIVERSAL PAGE LAYOUT PATCH
   Makes the same theme work across Home, Location, FAQ, Reviews,
   Contact, About, Sitemap and plain generated content pages.
------------------------------------------------------------ */

#root,
.app,
.page,
main {
  min-height: 100vh;
}

main,
.page-main,
.content-main {
  display: block;
  width: 100%;
}

main > .container,
.page > .container,
.content > .container,
.article > .container {
  padding-top: 42px;
  padding-bottom: 42px;
}

/* Generic text pages: About, Terms, Privacy, Sitemap, AI Systems */
.article,
.content,
.page-content,
.legal-page,
.text-page,
.location-page,
.faq-page,
.contact-page,
.reviews-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 20px;
}

.article.narrow,
.content.narrow,
.legal-page,
.text-page {
  max-width: 920px;
}

.article h1,
.content h1,
.page-content h1,
.location-page h1,
.faq-page h1,
.contact-page h1,
.reviews-page h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.article h2,
.content h2,
.page-content h2,
.location-page h2,
.faq-page h2,
.contact-page h2,
.reviews-page h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 42px 0 14px;
}

.article h3,
.content h3,
.page-content h3,
.location-page h3,
.faq-page h3,
.contact-page h3,
.reviews-page h3 {
  font-size: clamp(19px, 2vw, 24px);
  margin: 28px 0 10px;
}

.article p,
.content p,
.page-content p,
.location-page p,
.faq-page p,
.contact-page p,
.reviews-page p {
  margin-bottom: 16px;
  color: var(--text);
}

.article > p:first-of-type,
.content > p:first-of-type,
.page-content > p:first-of-type,
.location-page > p:first-of-type {
  font-size: 18px;
  color: var(--muted);
}

.article ul,
.article ol,
.content ul,
.content ol,
.page-content ul,
.page-content ol,
.location-page ul,
.location-page ol {
  margin: 16px 0 24px 24px;
}

.article li,
.content li,
.page-content li,
.location-page li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.article strong,
.content strong,
.page-content strong {
  color: var(--dark);
}

/* Page hero variant for inner routes */
.page-hero,
.inner-hero,
.location-hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 76px 0;
  overflow: hidden;
}

.page-hero::before,
.inner-hero::before,
.location-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(244,162,89,0.32), transparent 34%);
  pointer-events: none;
}

.page-hero .container,
.inner-hero .container,
.location-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.inner-hero h1,
.location-hero h1,
.page-hero h2,
.inner-hero h2,
.location-hero h2 {
  color: var(--white) !important;
}

.page-hero p,
.inner-hero p,
.location-hero p {
  max-width: 760px;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  margin-top: 12px;
}

/* Plain generated links/cards, including location links */
.location-grid,
.locations-grid,
.link-grid,
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.location-card,
.link-card,
.sitemap-card,
.car-card,
.price-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.location-card:hover,
.link-card:hover,
.sitemap-card:hover,
.car-card:hover,
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.location-card h3,
.link-card h3,
.sitemap-card h3,
.car-card h3,
.price-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 19px;
}

.location-card p,
.link-card p,
.sitemap-card p,
.car-card p,
.price-card p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Car / pricing blocks */
.cars-grid,
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.car-meta,
.price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.car-meta span,
.price-meta span,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.price,
.car-price,
.from-price {
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

/* Contact forms and booking forms */
form,
.form,
.contact-form,
.booking-form {
  width: 100%;
}

.form-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-group,
.field {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font: inherit;
  padding: 11px 13px;
  transition: border-color var(--tr), box-shadow var(--tr);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,124,123,0.14);
}

button,
[type="button"],
[type="submit"] {
  font: inherit;
}

[type="submit"],
button.btn {
  appearance: none;
}

/* Tables on legal/pricing/info pages */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table:not(.pricing-table) {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
}

table:not(.pricing-table) th,
table:not(.pricing-table) td {
  padding: 13px 16px;
  border: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

table:not(.pricing-table) th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

table:not(.pricing-table) tr:nth-child(even) td {
  background: var(--gray-50);
}

/* FAQ fallback: works with details/summary and custom .faq-item */
details.faq-item,
details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}

summary,
details > summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--dark);
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] {
  border-color: var(--primary);
}

details[open] > summary {
  border-bottom: 1px solid var(--gray-200);
}

details > p,
details > div {
  padding: 18px 22px;
  margin: 0;
  color: var(--muted);
}

/* Review and testimonial fallbacks */
.testimonials,
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.testimonial,
.review {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

/* Booking widget iframe / external embed protection */
.booking-widget iframe,
.widget iframe,
iframe {
  max-width: 100%;
  border: 0;
}

.booking-widget .container,
.widget .container {
  overflow: visible;
}

/* Better active/current nav support for SPA routers */
.site-nav a.active,
.site-nav a.router-link-active,
.site-nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--light);
  font-weight: 700;
}

.nav-cta.active,
.nav-cta[aria-current="page"] {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
}

/* Utility helpers */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

/* Accessibility / polish */
:focus-visible {
  outline: 3px solid rgba(244,162,89,0.75);
  outline-offset: 3px;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

html, body {
  overflow-x: hidden;
}

/* Footer should not leave excessive blank space on short inner pages */
.site-footer:first-child,
main + .site-footer,
.page + .site-footer {
  margin-top: 0;
}

/* ------------------------------------------------------------
   RESPONSIVE PATCH
------------------------------------------------------------ */
@media (max-width: 1024px) {
  .article,
  .content,
  .page-content,
  .location-page,
  .faq-page,
  .contact-page,
  .reviews-page {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .two-col,
  .form-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  .site-header .container {
    height: 66px;
  }

  .site-nav {
    top: 66px;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  .logo-text {
    font-size: 20px;
  }

  .hero-content,
  .page-hero,
  .inner-hero,
  .location-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-content p,
  .page-hero p,
  .inner-hero p,
  .location-hero p {
    font-size: 16px;
  }

  .hero-badges {
    gap: 8px;
  }

  .badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .highlight-box,
  .red-box {
    padding: 26px 22px;
  }

  .pricing-table,
  table:not(.pricing-table) {
    min-width: 620px;
  }

  .pricing-table {
    display: block;
    overflow-x: auto;
  }

  .btn {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .article,
  .content,
  .page-content,
  .location-page,
  .faq-page,
  .contact-page,
  .reviews-page {
    padding: 36px 16px;
  }

  .cards-grid,
  .cards-grid-3,
  .cards-grid-4,
  .location-grid,
  .locations-grid,
  .link-grid,
  .sitemap-grid,
  .cars-grid,
  .prices-grid,
  .testimonials,
  .reviews {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 48px;
    padding-top: 44px;
  }

  .footer-legal {
    gap: 12px;
  }
}
/* ===== CONTENT SECTIONS ===== */

.content-section {
  padding: 70px 0;
}

.bg-light {
  background: var(--gray-50);
}

.container--narrow {
  max-width: 900px;
}

.content-section h2 {
  font-size: clamp(28px,4vw,42px);
  margin-bottom: 24px;
}

.content-section h3 {
  font-size: 24px;
  margin: 36px 0 14px;
}

.content-section p {
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.8;
}

/* ===== FEATURES ===== */

.features-grid {
  padding: 70px 0;
  background: white;
}

.features-grid__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 24px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

/* ===== PRICING ===== */

.pricing-section {
  padding: 70px 0;
  background: var(--gray-50);
}

.section-intro {
  max-width: 850px;
  margin-bottom: 40px;
  color: var(--muted);
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 28px;
  background: transparent;
  box-shadow: none;
}

.pricing-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .25s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card__image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.pricing-card__content {
  padding: 24px;
}

.pricing-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}

.pricing-card__desc {
  color: var(--muted);
  line-height: 1.7;
}

.pricing-card__footer {
  margin-top: 20px;
}

.price {
  font-size: 22px;
  color: var(--primary);
}

/* ===== STEPS ===== */

.steps-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: white;
  padding: 28px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.step-content h3 {
  margin-top: 0;
}

/* ===== LOCATIONS ===== */

.locations-grid-section {
  padding: 70px 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 24px;
  margin-top: 40px;
}

.location-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .25s;
  color: inherit;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.location-card__image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.location-card__content {
  padding: 22px;
}

.location-card__content h3 {
  margin: 0 0 12px;
}

/* ===== FAQ ===== */

.faq-section {
  padding: 70px 0;
  background: var(--gray-50);
}

.faq-question svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.faq-question {
  cursor: pointer;
}

/* ===== MOBILE ===== */

@media (max-width:768px){

  .pricing-table,
  .locations-grid,
  .features-grid__inner {
    grid-template-columns: 1fr;
  }

  .step-item {
    flex-direction: column;
  }

  .pricing-card__image,
  .location-card__image {
    height: 200px;
  }

}

/* === Language switcher - append to /css/style.css === */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 0.2s;
}

.lang-btn:hover {
  opacity: 1;
  text-decoration: none;
}

.lang-btn--active {
  opacity: 1;
  border-color: transparent;
  background: rgba(255,255,255,0.15);
  cursor: default;
  pointer-events: none;
}

.footer-lang-sep {
  opacity: 0.4;
  margin: 0 6px;
}

.footer-lang-link {
  opacity: 0.7;
  font-size: 0.8rem;
}

.footer-lang-link:hover {
  opacity: 1;
}

/* ============================================================
   it_styles_add.css - append to /css/style.css
   Adds missing classes generated by IT pages
   ============================================================ */

/* === LANG SWITCHER === */
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-btn { display: inline-block; padding: 3px 8px; border: 1px solid currentColor; border-radius: 3px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; text-decoration: none; line-height: 1.4; transition: opacity 0.2s; }
.lang-btn:hover { opacity: 1; text-decoration: none; }
.lang-btn--active { opacity: 1; border-color: transparent; background: rgba(255,255,255,0.15); cursor: default; pointer-events: none; }
.footer-lang-sep { opacity: 0.4; margin: 0 6px; }
.footer-lang-link { opacity: 0.7; font-size: 0.8rem; }
.footer-lang-link:hover { opacity: 1; }

/* === HERO SECTION (alias for .hero) === */
.hero-section { position: relative; overflow: hidden; min-height: 480px; display: flex; align-items: center; background: var(--dark); }
.hero-section::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,26,0.65) 0%, rgba(14,124,123,0.45) 100%); pointer-events: none; }
.hero-section .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero-intro { position: relative; z-index: 1; }
.hero-title { font-size: clamp(28px, 4vw, 50px); color: var(--white) !important; margin-bottom: 18px; font-family: 'Playfair Display', serif; }
.hero-section h1, .hero-section h2 { color: var(--white) !important; }
.hero-section p { color: rgba(255,255,255,0.92); font-size: 18px; margin-bottom: 20px; }
.hero-image-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-image-wrap img, .hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === BOOKING SECTION (alias for .booking-widget) === */
.booking-section { background: var(--light); padding: 32px 0; border-bottom: 3px solid var(--accent); }
.booking-inner { max-width: 100%; }

/* === QUICK FACTS === */
.quick-facts-section { padding: 48px 0; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.quick-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; text-align: center; }
.quick-fact-item { background: var(--white); border-radius: var(--radius); padding: 24px 16px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.quick-fact-value { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: 'Playfair Display', serif; line-height: 1.1; display: block; }
.quick-fact-label { font-size: 13px; color: var(--muted); margin-top: 6px; display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* === BENEFITS === */
.benefits-section { padding: 64px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.benefit-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: all var(--tr); }
.benefit-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit-icon { width: 56px; height: 56px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px; color: var(--primary); }
.benefit-title { font-size: 17px; margin-bottom: 10px; color: var(--dark); font-family: 'Playfair Display', serif; }
.benefit-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* === HOW IT WORKS === */
.how-it-works-section { padding: 64px 0; background: var(--gray-50); }
.step-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.step-title { font-size: 17px; margin: 14px 0 8px; color: var(--dark); font-family: 'Playfair Display', serif; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* === VEHICLE TYPES === */
.vehicle-types-section { padding: 64px 0; }
.vehicle-table-wrap { width: 100%; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); margin: 24px 0; }
.vehicle-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15px; }
.vehicle-table th { background: var(--primary); color: var(--white); padding: 14px 18px; text-align: left; font-weight: 700; font-size: 14px; }
.vehicle-table td { padding: 14px 18px; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.vehicle-table tr:last-child td { border-bottom: none; }
.vehicle-table tr:nth-child(even) td { background: var(--gray-50); }
.vehicle-name { font-weight: 700; color: var(--dark); }
.vehicle-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* === AREA / LOCATIONS SECTION === */
.area-section { padding: 64px 0; background: var(--gray-50); }
.area-intro { color: var(--muted); font-size: 17px; margin-bottom: 32px; max-width: 760px; }
.area-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.area-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: all var(--tr); }
.area-item:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.area-item-title { font-size: 17px; margin-bottom: 8px; color: var(--dark); font-family: 'Playfair Display', serif; }
.area-item-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.area-other-cities { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.area-other-cities h3 { margin-bottom: 16px; }

/* === DOCUMENTS === */
.documents-section { padding: 64px 0; }
.documents-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.document-item { background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; }
.document-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.document-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* === REVIEWS SECTION === */
.reviews-section { padding: 64px 0; background: var(--gray-50); }
.review-city { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* === CTA SECTION === */
.cta-section { padding: 64px 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-title { font-size: clamp(24px, 3vw, 38px); color: var(--white) !important; margin-bottom: 14px; }
.cta-desc { color: rgba(255,255,255,0.9); font-size: 17px; margin-bottom: 28px; }
.cta-button { display: inline-block; background: var(--white); color: var(--primary); font-weight: 700; font-size: 16px; padding: 14px 36px; border-radius: var(--radius-sm); text-decoration: none; transition: all var(--tr); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.cta-button:hover { background: var(--accent); color: var(--dark); transform: translateY(-2px); }

/* === BREADCRUMB (IT pages use .breadcrumb not .breadcrumbs) === */
.breadcrumb { background: var(--gray-50); padding: 12px 0; font-size: 13px; border-bottom: 1px solid var(--gray-200); }
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumb-item a, .breadcrumb-link { color: var(--primary); font-weight: 500; }
.breadcrumb-separator { color: var(--muted); }
.breadcrumb-current { color: var(--muted); }

/* === SECTION TITLE SPACING === */
.section-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.section-intro { max-width: 760px; color: var(--muted); margin-bottom: 32px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-section { min-height: 360px; }
  .hero-title { font-size: clamp(24px, 5vw, 36px); }
  .hero-section p { font-size: 16px; }
  .quick-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .area-list, .documents-list { grid-template-columns: 1fr; }
  .vehicle-table-wrap { font-size: 14px; }
}

@media (max-width: 480px) {
  .quick-facts-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .cta-button { width: 100%; text-align: center; }
}

/* ============================================================
   it_width_fix2.css - REPLACE previous it_width_fix.css content
   Universal width constraint - works regardless of section class names
   ============================================================ */

/* Hero section: use padding to align content with 1200px grid */
.hero-section {
  padding-left:  clamp(20px, calc((100% - 1200px) / 2), 50%);
  padding-right: clamp(20px, calc((100% - 1200px) / 2), 50%);
}
/* Hero image must ignore the padding and stay full-bleed */
.hero-section > .hero-image-wrap {
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

/* ALL other sections: constrain direct children to 1200px wide, centered */
main > section:not(.hero-section) > * {
  max-width: 1200px;
  margin-left:  auto;
  margin-right: auto;
  padding-left:  20px;
  padding-right: 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Booking widget: allow full width inside its section */
.booking-section > * {
  max-width: 100%;
  padding-left:  0;
  padding-right: 0;
}

/* Remove double-padding: if a constrained div already has padding from its own class */
main > section:not(.hero-section) > * > * {
  padding-left:  0;
  padding-right: 0;
}

/* Responsive */
@media (max-width: 1240px) {
  main > section:not(.hero-section) > * {
    padding-left:  20px;
    padding-right: 20px;
  }
  .hero-section {
    padding-left:  20px;
    padding-right: 20px;
  }
}

/* --- compat: keep generated markup working (model emits <table class="pricing-table"> and .features-grid as direct container) --- */
table.pricing-table { display: table; grid-template-columns: none; gap: 0; width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
table.pricing-table thead { display: table-header-group; }
table.pricing-table tbody { display: table-row-group; }
table.pricing-table tr { display: table-row; }
table.pricing-table th, table.pricing-table td { display: table-cell; vertical-align: middle; }
.features-grid, .feature-grid, .info-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; padding: 0; background: transparent;
}
.reviews-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

/* --- compat v2: style classes the model invents on inner pages (contact/reviews/city) --- */
.content-wrapper { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px){ .content-wrapper { grid-template-columns: 2fr 1fr; } }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.content-narrow { max-width: 820px; margin: 0 auto; }
.intro-text, .page-intro, .lead, .intro { color: var(--muted); font-size: 17px; margin-bottom: 24px; }

.contact-methods { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 18px; margin: 24px 0 32px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.contact-card__icon { font-size: 20px; width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--light); color: var(--primary); border-radius: 10px; }
.contact-card__content h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card__content p { font-size: 14px; color: var(--muted); margin: 0; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > * { flex: 1 1 200px; }

.sidebar-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.sidebar-card h3 { font-size: 17px; margin-bottom: 10px; }
.sidebar-card--cta { background: var(--primary); border-color: var(--primary); }
.sidebar-card--cta h3, .sidebar-card--cta p, .sidebar-card--cta a { color: var(--white); }

.reviews-summary { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; margin-bottom: 36px; box-shadow: var(--shadow); }
@media (min-width: 700px){ .reviews-summary { grid-template-columns: 220px 1fr; } }
.rating-box { text-align: center; }
.rating-score { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 800; color: var(--primary); line-height: 1; }
.rating-stars { color: var(--accent); font-size: 20px; margin: 6px 0; letter-spacing: 2px; }
.rating-label { font-size: 13px; color: var(--muted); }
.rating-breakdown { display: flex; flex-direction: column; gap: 8px; }
.breakdown-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.breakdown-bar { flex: 1; height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.breakdown-fill { height: 100%; background: var(--accent); }

.two-col-text { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 800px){ .two-col-text { grid-template-columns: 1fr 1fr; } }

.check-list, .airport-list, .sitemap-list { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li, .airport-list li, .sitemap-list li { padding-left: 26px; position: relative; }
.check-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
/* --- compat v3: review-summary BEM variants (LLM-invented on reviews page) --- */
.reviews-summary__score { text-align: center; }
.reviews-summary__score strong, .reviews-summary__score .score, .breakdown-score { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 800; color: var(--primary); line-height: 1; }
.reviews-summary__breakdown, .reviews-summary__stats { display: flex; flex-direction: column; gap: 8px; }
.breakdown-label { min-width: 62px; font-size: 13px; color: var(--muted); }
.review-rating { color: var(--accent); font-size: 15px; letter-spacing: 1px; }
/* --- compat v4: more inner-page classes the model invents --- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sidebar-box, .sidebar-box--highlight { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.sidebar-box--highlight { background: var(--primary); border-color: var(--primary); }
.sidebar-box--highlight, .sidebar-box--highlight h3, .sidebar-box--highlight p, .sidebar-box--highlight a { color: var(--white); }
.sidebar-nav { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.stat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.stat-card strong, .stat-card .stat-number { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 800; color: var(--primary); display: block; }
