/* style.css — FORSFORTUNA Theme & Components */

/* ============================================================
   COLOR SYSTEM — Dark Navy + Gold Accent
   ============================================================ */

:root, [data-theme="light"] {
  --color-bg: #f5f5f0;
  --color-surface: #ffffff;
  --color-surface-2: #fafaf7;
  --color-surface-offset: #eeeee8;
  --color-divider: #d8d8d0;
  --color-border: #c8c8c0;

  --color-text: #1a2744;
  --color-text-muted: #5a6577;
  --color-text-faint: #9aa0ac;
  --color-text-inverse: #f5f5f0;

  --color-primary: #1a2744;
  --color-primary-hover: #0a1628;
  --color-accent: #c9a84c;
  --color-accent-hover: #b8922a;
  --color-accent-highlight: rgba(201, 168, 76, 0.12);

  --color-bg-primary: #0a1628;

  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
}

[data-theme="dark"] {
  --color-bg: #0a1628;
  --color-surface: #12203a;
  --color-surface-2: #162848;
  --color-surface-offset: #0e1a30;
  --color-divider: #1e3054;
  --color-border: #263c60;

  --color-text: #e8e6e0;
  --color-text-muted: #8a94a8;
  --color-text-faint: #4a5568;
  --color-text-inverse: #0a1628;

  --color-primary: #e8e6e0;
  --color-primary-hover: #ffffff;
  --color-accent: #d4b35c;
  --color-accent-hover: #e8c870;
  --color-accent-highlight: rgba(212, 179, 92, 0.15);

  --color-bg-primary: #0a1628;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

.page {
  display: none;
}
.page.active {
  display: block;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s;
}

[data-theme="light"] .site-header {
  background: rgba(245, 245, 240, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo-icon {
  color: var(--color-text);
}

.logo-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.logo-accent {
  color: var(--color-accent);
}

/* Navigation */
.nav-list {
  display: flex;
  gap: var(--space-1);
}

.nav-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-link.active {
  background: var(--color-accent-highlight);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.theme-toggle:hover {
  color: var(--color-accent);
  background: var(--color-accent-highlight);
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger {
  background: transparent;
}
.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.7) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(10, 22, 40, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8);
  color: #f5f5f0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  color: #ffffff;
}

.hero-subtitle {
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--color-accent);
}

[data-theme="light"] .hero-subtitle {
  color: #d4b35c;
}

.hero-desc {
  font-size: var(--text-lg);
  color: rgba(245, 245, 240, 0.8);
  margin-bottom: var(--space-8);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #0a1628;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-full {
  width: 100%;
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ============================================================
   SECTION TYPOGRAPHY
   ============================================================ */

.page-header {
  padding-top: calc(80px + var(--space-12));
  padding-bottom: var(--space-8);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}

.page-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.page-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 680px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  max-width: 640px;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-6);
  margin-top: var(--space-10);
}

.section-subtitle:first-child,
.page-header + .section .section-subtitle:first-child {
  margin-top: 0;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.service-icon svg {
  width: 48px;
  height: 48px;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   FLEET GRID
   ============================================================ */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.fleet-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.fleet-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.fleet-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-surface-offset);
}

.fleet-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-card:hover .fleet-card-img img {
  transform: scale(1.03);
}

.fleet-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--color-accent);
  color: #0a1628;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.fleet-card-body {
  padding: var(--space-5);
}

.fleet-card-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.fleet-specs {
  margin-bottom: var(--space-4);
}

.fleet-specs li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--color-divider);
}

.fleet-specs li:last-child {
  border-bottom: none;
}

.fleet-specs strong {
  color: var(--color-text);
}

/* Secondary fleet */
.fleet-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.fleet-card-mini {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding-bottom: var(--space-5);
}

.fleet-card-mini img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.fleet-card-mini h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-4) var(--space-5) var(--space-1);
}

.fleet-card-mini p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: 0 var(--space-5);
}

/* ============================================================
   RENTAL / BOOKING
   ============================================================ */

.rental-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.option-cards {
  display: grid;
  gap: var(--space-4);
}

.option-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.option-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.option-icon svg {
  width: 40px;
  height: 40px;
}

.option-card h3 {
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.option-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.audience-item {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.audience-item h3 {
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
  color: var(--color-accent);
}

.audience-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Booking form */
.booking-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.booking-form-wrap .section-subtitle {
  margin-top: 0;
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.required {
  color: var(--color-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-highlight);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.form-check label {
  margin-bottom: 0;
}

/* Form feedback messages */
.form-feedback {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  animation: fadeInUp 0.3s ease;
}

.form-feedback--success {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .form-feedback--success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.25);
}

.form-feedback--error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

[data-theme="dark"] .form-feedback--error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   INVESTMENT
   ============================================================ */

.investment-hero {
  margin-bottom: var(--space-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
}

.investment-hero img {
  width: 100%;
  display: block;
}

.img-caption {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

.invest-section {
  margin-bottom: var(--space-10);
}

.invest-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.invest-info {
  padding: var(--space-4) 0;
}

.invest-info p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.invest-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.invest-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
}

.invest-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.invest-list li strong {
  color: var(--color-text);
}

.invest-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
}

.invest-img img {
  width: 100%;
  display: block;
}

.plan-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  background: var(--color-surface);
}

.plan-image img {
  width: 100%;
  display: block;
}

/* Params grid */
.params-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.param-group {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.param-group h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.params-table td {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-divider);
  vertical-align: top;
}

.params-table td:first-child {
  color: var(--color-text-muted);
  width: 55%;
}

.params-table td:last-child {
  color: var(--color-text);
}

.params-table tr:last-child td {
  border-bottom: none;
}

/* Investment columns */
.invest-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.invest-col .section-subtitle {
  margin-top: 0;
}

/* CTA */
.invest-cta {
  text-align: center;
  padding: var(--space-10);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
}

.invest-cta p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  max-width: none;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.about-main .section-subtitle:first-child {
  margin-top: 0;
}

.about-main p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #0a1628;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  margin: 0 auto var(--space-3);
}

.team-card h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.team-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.location-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.location-card h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.location-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Company data sidebar */
.company-data-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: sticky;
  top: calc(80px + var(--space-4));
}

.company-data-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-5);
}

.company-data-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-4);
}

.company-data-card dt {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.company-data-card dd {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

/* ============================================================
   CERTIFICATES
   ============================================================ */

.certificates-section {
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-divider);
}

.certificates-section .section-subtitle {
  margin-top: 0;
}

.cert-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 640px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.cert-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.cert-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.cert-icon svg {
  width: 48px;
  height: 48px;
}

.cert-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.cert-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-12);
}

.contact-info .section-subtitle:first-child {
  margin-top: 0;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.contact-card h3 {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.contact-link {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.contact-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.contact-name {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.address-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.address-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.address-card h3 {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.address-card address {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Contact form */
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.contact-form-wrap .section-subtitle {
  margin-top: 0;
}

/* Map */
.map-section {
  margin-top: var(--space-4);
}

.map-section .section-subtitle {
  margin-top: 0;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.logo--footer .logo-text {
  font-size: var(--text-xs);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.footer-links h4,
.footer-contact h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  margin-bottom: var(--space-2);
}

.footer-contact a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-attribution a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

.footer-attribution a:hover {
  color: var(--color-accent);
}

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

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--color-bg, #0a1628);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }

  .nav-link {
    font-size: var(--text-lg);
    padding: var(--space-3) var(--space-6);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .services-grid,
  .fleet-grid,
  .fleet-secondary-grid,
  .params-grid,
  .cert-grid,
  .invest-columns {
    grid-template-columns: 1fr;
  }

  .rental-layout,
  .contact-layout,
  .invest-two-col {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .team-grid,
  .locations-grid,
  .audience-grid,
  .address-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding: var(--space-5);
  }

  .hero-title {
    font-size: var(--text-2xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .page-header {
    padding-top: calc(72px + var(--space-8));
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== REGULAMIN & CENNIK ===== */
.regulamin-content {
  max-width: 860px;
}

.reg-block {
  margin-bottom: var(--space-8);
}

.reg-block p {
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.reg-company-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}

.reg-company-card p {
  margin-bottom: var(--space-1);
}

.reg-list,
.reg-ol {
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.reg-list li,
.reg-ol li {
  margin-bottom: var(--space-2);
}

.reg-sub-list {
  padding-left: var(--space-5);
  margin-top: var(--space-2);
  list-style: disc;
}

.reg-sub-list li {
  margin-bottom: var(--space-1);
}

.reg-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin: var(--space-10) 0;
  border-radius: 1px;
}

/* Pricing tables */
.table-wrap {
  overflow-x: auto;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.pricing-table thead {
  background: var(--color-accent);
  color: var(--color-bg);
}

[data-theme="light"] .pricing-table thead {
  color: #1a1a1a;
}

.pricing-table th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.06);
}

.pricing-extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.pricing-extra-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.extra-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.extra-value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

@media (max-width: 480px) {
  .container {
    padding-inline: var(--space-4);
  }

  .hero-title {
    font-size: var(--text-xl);
  }
}

/* ============================================================
   DETHLEFFS GALLERY
   ============================================================ */
.dethleffs-gallery {
  position: relative;
  overflow: hidden;
}

.dethleffs-gallery .gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.dethleffs-gallery .gallery-img:first-child {
  position: relative;
}

.dethleffs-gallery .gallery-img.active {
  opacity: 1;
  pointer-events: auto;
}

/* Floor plan image should be object-fit contain */
.dethleffs-gallery .gallery-img:nth-child(3) {
  object-fit: contain;
  background: #fff;
  padding: var(--space-3);
}

.gallery-dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 5;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}

.gallery-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.gallery-dot:hover {
  background: rgba(255,255,255,0.5);
}

.gallery-dot.active:hover {
  background: var(--color-accent);
}

/* ============================================================
   REGULAMIN TABS
   ============================================================ */
.reg-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  border-bottom: 2px solid var(--color-divider);
  padding-bottom: 0;
}

.reg-tab-btn {
  padding: var(--space-3) var(--space-5);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: -2px;
  white-space: nowrap;
}

.reg-tab-btn:hover {
  color: var(--color-text);
}

.reg-tab-btn.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.reg-tab-panel {
  display: none;
}

.reg-tab-panel.active {
  display: block;
}

@media (max-width: 600px) {
  .reg-tabs {
    gap: 0;
  }

  .reg-tab-btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    flex: 1;
    text-align: center;
  }
}

/* Reg note (for attachments disclaimer) */
.reg-note {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.reg-note a {
  color: var(--color-accent);
}
