/*
Theme Name: Car Rental Curacao
Theme URI: https://carrentalcuracao.info
Author: Car Rental Curacao
Description: Standalone lead generation WordPress theme for car rental requests in Curacao.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: car-rental-curacao
*/

:root {
  --navy: #062b49;
  --blue: #0b5f9d;
  --cyan: #28b8d6;
  --coral: #ff6f4d;
  --sand: #f7f1e6;
  --ink: #132536;
  --muted: #637487;
  --line: #dbe5ed;
  --white: #ffffff;
  --green: #1fa66a;
  --shadow: 0 18px 45px rgba(6, 43, 73, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.crc-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.crc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.crc-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.crc-logo {
  display: inline-flex;
  flex-direction: column;
  color: var(--navy);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.crc-logo small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.crc-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.crc-menu a { color: var(--ink); }

.crc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 0;
  background: var(--coral);
  color: white;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(255, 111, 77, .28);
}

.crc-btn:hover {
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.crc-btn.secondary {
  background: var(--navy);
  box-shadow: none;
}

.crc-btn.ghost {
  color: var(--navy);
  background: white;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: none;
}

.crc-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6,43,73,.96), rgba(6,43,73,.72)),
    url("https://images.unsplash.com/photo-1589802829985-817e51171b92?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
}

.crc-hero .crc-wrap {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0;
}

.crc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: #d9fbff;
  font-size: 13px;
  font-weight: 900;
}

.crc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ef19a;
  box-shadow: 0 0 0 6px rgba(78, 241, 154, .18);
}

h1, h2, h3 {
  margin: 0 0 16px;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

.crc-hero h1 {
  margin-top: 22px;
  max-width: 760px;
  color: white;
  font-size: clamp(42px, 6vw, 78px);
}

.crc-hero p {
  max-width: 700px;
  color: #e6f7ff;
  font-size: 19px;
}

.crc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.crc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.crc-stat {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.crc-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: white;
}

.crc-stat span {
  display: block;
  margin-top: 6px;
  color: #d8eef8;
  font-size: 13px;
  font-weight: 800;
}

.crc-form-card {
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.crc-form-card h2 {
  font-size: 27px;
}

.crc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.crc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.crc-field.full { grid-column: 1 / -1; }
.crc-field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.crc-field input,
.crc-field select,
.crc-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.crc-field textarea {
  min-height: 86px;
  resize: vertical;
}

.crc-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.crc-section {
  padding: 74px 0;
}

.crc-section.alt {
  background: var(--sand);
}

.crc-section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.crc-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.crc-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.crc-trust-item,
.crc-card,
.crc-step,
.crc-faq,
.crc-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(6, 43, 73, .06);
}

.crc-trust-item {
  padding: 18px;
  font-weight: 900;
}

.crc-trust-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.crc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.crc-card {
  padding: 22px;
}

.crc-card h3 {
  font-size: 22px;
}

.crc-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.crc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.crc-step {
  padding: 22px;
}

.crc-step-num {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cyan);
  color: white;
  font-weight: 900;
}

.crc-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
}

.crc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.crc-table th,
.crc-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.crc-table th {
  color: var(--navy);
  background: #eef8fb;
  font-size: 13px;
  text-transform: uppercase;
}

.crc-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.crc-article {
  max-width: 780px;
}

.crc-article h2 {
  margin-top: 38px;
  font-size: 34px;
}

.crc-side {
  position: sticky;
  top: 92px;
}

.crc-faqs {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.crc-faq button {
  width: 100%;
  padding: 18px;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.crc-faq div {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.crc-faq.open div {
  display: block;
}

.crc-cta {
  padding: 56px 0;
  background: var(--navy);
  color: white;
}

.crc-cta .crc-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.crc-cta h2 {
  color: white;
  font-size: 36px;
}

.crc-cta p {
  color: #cde5f3;
}

.crc-footer {
  padding: 38px 0;
  background: #041d31;
  color: #c7dbe8;
  font-size: 14px;
}

.crc-footer a { color: white; }

.crc-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #20b45b;
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(31, 166, 106, .35);
}

.crc-float:hover {
  color: white;
  text-decoration: none;
}

.crc-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #e9fff3;
  color: #11673d;
  font-weight: 900;
}

@media (max-width: 900px) {
  .crc-menu a:not(.crc-btn) { display: none; }
  .crc-hero .crc-wrap,
  .crc-content,
  .crc-cta .crc-wrap {
    grid-template-columns: 1fr;
  }
  .crc-hero .crc-wrap {
    min-height: auto;
    padding: 48px 0;
  }
  .crc-trust,
  .crc-grid,
  .crc-steps {
    grid-template-columns: 1fr;
  }
  .crc-stats {
    grid-template-columns: 1fr;
  }
  .crc-side {
    position: static;
  }
}

@media (max-width: 560px) {
  .crc-wrap {
    width: min(100% - 24px, 1120px);
  }
  .crc-form-grid {
    grid-template-columns: 1fr;
  }
  .crc-hero h1 {
    font-size: 39px;
  }
  .crc-float {
    left: 12px;
    right: 12px;
    justify-content: center;
  }
}
