/**
 * Your Easy Transport - amber/yellow theme. Matches diesel/pump structure.
 */
:root {
  --transport-bg: #b45309;
  --transport-accent: #fcd34d;
  --transport-light: #fffbeb;
  --transport-wave: #b45309;
}

@keyframes transport-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes transport-fade-in-down {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes transport-fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .transport-hero, .transport-hero-content, .transport-light-section { animation: none; }
}

body.page-transport {
  margin: 0;
  min-height: 100vh;
  background-color: var(--transport-bg);
  font-family: 'Montserrat', sans-serif;
  color: #111;
}

.transport-wrap { position: relative; overflow: hidden; }

/* Hero - gradient, no rainbow line */
.transport-hero {
  background: linear-gradient(135deg, #92400e 0%, var(--transport-bg) 40%, #d97706 100%);
  padding-top: 1rem;
  padding-bottom: 1rem;
  animation: transport-fade-in-down 0.55s ease-out;
  position: relative;
}
@media (min-width: 640px) { .transport-hero { padding-bottom: 2rem; } }
@media (min-width: 1024px) { .transport-hero { padding-bottom: 3.5rem; } }

.transport-hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 0.875rem;
  padding-left: max(0.875rem, env(safe-area-inset-left));
  padding-right: max(0.875rem, env(safe-area-inset-right));
}
@media (min-width: 375px) { .transport-hero-inner { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); } }
@media (min-width: 768px) { .transport-hero-inner { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); } }
@media (min-width: 1024px) { .transport-hero-inner { padding-left: max(2rem, env(safe-area-inset-left)); padding-right: max(2rem, env(safe-area-inset-right)); } }

.transport-hero-content {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 0.5rem;
  text-align: center;
  animation: transport-fade-in 0.5s ease-out 0.15s both;
}
@media (min-width: 375px) { .transport-hero-content { padding: 0 1rem; } }
@media (min-width: 640px) { .transport-hero-content { padding: 0 1.5rem; animation-delay: 0.2s; } }

.transport-hero-text { display: flex; flex-direction: column; padding-bottom: 2.5rem; align-items: center; }
@media (min-width: 640px) { .transport-hero-text { padding-bottom: 3rem; } }

.transport-hero h1 {
  margin: 0;
  margin-top: 1.25rem;
  font-size: clamp(1.625rem, 5.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
}
@media (min-width: 375px) { .transport-hero h1 { margin-top: 1.5rem; font-size: 2rem; } }
@media (min-width: 640px) { .transport-hero h1 { margin-top: 2rem; font-size: 3rem; } }
@media (min-width: 768px) { .transport-hero h1 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .transport-hero h1 { margin-top: 2.5rem; font-size: 3.75rem; } }

.transport-hero h1 .block { display: block; }
.transport-hero h1 .accent {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  color: var(--transport-accent);
}
@media (min-width: 640px) { .transport-hero h1 .accent { padding-bottom: 1.25rem; } }

.transport-hero-tagline {
  font-family: ui-monospace, monospace;
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  font-weight: 300;
  color: var(--transport-accent);
  margin-top: 0.25rem;
}

.transport-hero-desc {
  font-size: clamp(0.9375rem, 2.2vw, 1rem);
  color: rgba(255,255,255,0.9);
  margin-top: 0.875rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .transport-hero-desc { margin-top: 1.25rem; font-size: 1.125rem; } }

.transport-hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .transport-hero-cta { flex-direction: row; justify-content: center; margin-top: 2rem; } }

.transport-btn-primary {
  display: inline-block;
  text-align: center;
  background-color: var(--transport-accent);
  color: #1c1917;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.transport-btn-primary:hover {
  background-color: #fde68a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(253, 230, 138, 0.4);
}

.transport-btn-outline {
  display: inline-block;
  text-align: center;
  border: 2px solid #d97706;
  color: #92400e;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.transport-btn-outline:hover {
  background-color: #fef3c7;
  border-color: #b45309;
  color: #78350f;
}

/* Light section */
.transport-light-section {
  position: relative;
  background: linear-gradient(180deg, #fffbeb 0%, var(--transport-light) 30%, #fef3c7 100%);
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: transport-fade-in-up 0.5s ease-out 0.5s both;
}
@media (min-width: 640px) { .transport-light-section { padding: 0 1.5rem; } }

/* Book / form block */
.transport-book {
  width: 100%;
  max-width: 42rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
  scroll-margin-top: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 640px) { .transport-book { padding-top: 4rem; padding-bottom: 5rem; } }

.transport-book-header { text-align: center; margin-bottom: 2rem; }
.transport-book-label {
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 300;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.transport-book-title {
  margin: 0.75rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111;
}
@media (min-width: 640px) { .transport-book-title { font-size: 1.875rem; } }
.transport-book-sub {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.75rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.transport-alert-red {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  border: 1px solid #fecaca;
  background-color: #fef2f2;
  color: #b91c1c;
}
.transport-alert-red ul { margin: 0; padding-left: 1.25rem; list-style: disc; }
.transport-alert-red li { margin-top: 0.25rem; }

.transport-form-card {
  width: 100%;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(180, 83, 9, 0.1), 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(253, 230, 138, 0.4);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.transport-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #ea580c, #eab308, #22c55e, #0ea5e9, #6366f1, #a855f7, #dc2626);
  background-size: 400% 100%;
  animation: transport-card-rainbow 8s linear infinite;
  border-radius: 2rem 2rem 0 0;
}
@keyframes transport-card-rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .transport-form-card::before { animation: none; background: linear-gradient(90deg, #b45309, #6366f1); }
}
@media (min-width: 640px) { .transport-form-card { padding: 2.5rem; } }

.transport-form-card .form-group { margin-bottom: 1.5rem; }
.transport-form-card .form-group:last-of-type { margin-bottom: 0; }
.transport-form-card label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}
.transport-form-card input {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  background: #fff;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #111;
  box-sizing: border-box;
}
.transport-form-card input:focus {
  outline: none;
  border-color: #b45309;
  box-shadow: 0 0 0 2px rgba(180, 83, 9, 0.2);
}
.transport-form-card .submit-wrap { padding-top: 0.5rem; }
.transport-form-card button[type="submit"],
.transport-form-card .transport-btn-primary {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}

/* Sections */
.transport-section {
  width: 100%;
  max-width: 64rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) { .transport-section { padding-top: 5rem; padding-bottom: 5rem; } }

.transport-section-tight { padding-top: 3rem; padding-bottom: 3rem; }
#cta.transport-section { padding-top: 2.5rem; padding-bottom: 5rem; }
@media (min-width: 640px) { #cta.transport-section { padding-bottom: 5rem; } }
.transport-section-header { text-align: center; }
.transport-section-label {
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  font-weight: 300;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.transport-section-title {
  margin: 0.75rem 0 0;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111;
}
@media (min-width: 640px) { .transport-section-title { font-size: 3rem; } }
.transport-section-desc {
  font-size: 1rem;
  color: #6b7280;
  margin: 1.5rem auto 0;
  max-width: 42rem;
  line-height: 1.6;
}
@media (min-width: 640px) { .transport-section-desc { font-size: 1.125rem; } }

.transport-cards { margin-top: 3rem; width: 100%; max-width: 64rem; }
@media (min-width: 640px) { .transport-cards { margin-top: 3.5rem; } }
.transport-cards-grid-3 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .transport-cards-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.transport-cards-grid-2 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .transport-cards-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
/* More from us: center content inside each card */
.transport-cards-grid-2 .transport-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.transport-cards-grid-2 .transport-card h3,
.transport-cards-grid-2 .transport-card p {
  margin-left: auto;
  margin-right: auto;
}
.transport-cards-grid-2 .transport-card p {
  max-width: 28rem;
}

.transport-card {
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(180, 83, 9, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(253, 230, 138, 0.3);
  padding: 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}
.transport-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #ea580c, #eab308, #22c55e, #0ea5e9, #6366f1, #a855f7);
  background-size: 200% 100%;
  animation: transport-card-rainbow 6s ease-in-out infinite;
  border-radius: 2rem 2rem 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .transport-card::before { animation: none; background: linear-gradient(90deg, #b45309, #6366f1); }
}
.transport-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(180, 83, 9, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
}
.transport-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}
.transport-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.5;
}
.transport-card-cta .transport-btn-primary { width: auto; }

.transport-cta-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
}
@media (min-width: 640px) { .transport-cta-title { font-size: 2rem; } }
.transport-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.transport-hero-bottom {
  background-color: var(--transport-bg);
  padding-top: 2rem;
}
