/* Daily Mobile Detail — lifestyle / premium field-service aesthetic */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --cream: #ece6dc;
  --warm-white: rgba(255, 252, 248, 0.92);
  --glass: rgba(16, 20, 28, 0.78);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.11);
  --glow-red: rgba(241, 8, 43, 0.42);
  --shadow-lift: 0 28px 70px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.28);
  --radius-lg: 14px;
  --radius-xl: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(64px, 8vw, 104px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body, Inter, ui-sans-serif, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lifestyle-site::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

body.lifestyle-site::after {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(241, 8, 43, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(11, 29, 52, 0.35), transparent 50%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.site-header,
main,
.site-footer,
.mobile-sticky-cta {
  position: relative;
  z-index: 1;
}

/* —— Header —— */
.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  transition:
    background 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    padding 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(8, 9, 11, 0.82);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.45);
  padding-bottom: 10px;
  padding-top: 10px;
}

nav a {
  position: relative;
  transition: color 0.2s ease;
}

nav a::after {
  background: linear-gradient(90deg, transparent, var(--red, #f1082b), transparent);
  bottom: -6px;
  content: "";
  height: 2px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%) scaleX(0.6);
  transition:
    opacity 0.25s ease,
    transform 0.25s var(--ease-out);
  width: 100%;
}

nav a:hover::after,
nav a.active::after,
nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

nav a.active::after,
nav a[aria-current="page"]::after {
  background: var(--red, #f1082b);
  bottom: -18px;
}

/* —— Typography —— */
.eyebrow {
  align-items: center;
  color: rgba(245, 245, 245, 0.58);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--red, #f1082b), rgba(241, 8, 43, 0.35));
  content: "";
  flex-shrink: 0;
  height: 2px;
  width: 24px;
}

h1,
h2,
.hero-section h1 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* —— Buttons (public site only — admin uses flat buttons) —— */
body.lifestyle-site .primary,
body.lifestyle-site .primary-cta,
body.lifestyle-site .step-button:not(.secondary),
.pricing-page .primary,
.price-panel .primary {
  background: linear-gradient(135deg, #ff1a3d 0%, var(--red, #f1082b) 45%, #c90622 100%);
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.22),
    0 12px 32px var(--glow-red);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    filter 0.2s ease;
}

body.lifestyle-site .primary:hover,
body.lifestyle-site .primary-cta:hover,
body.lifestyle-site .step-button:not(.secondary):hover,
.pricing-page .primary:hover {
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.2),
    0 18px 44px rgba(241, 8, 43, 0.48);
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.secondary,
.secondary-cta,
.step-button.secondary {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.secondary:hover,
.secondary-cta:hover,
.step-button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* —— Home hero —— */
.hero-section {
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(105deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.72) 42%, rgba(8, 9, 11, 0.35) 68%, rgba(8, 9, 11, 0.55) 100%),
    linear-gradient(180deg, transparent 55%, rgba(8, 9, 11, 0.85) 100%) !important;
}

.hero-rule {
  border-radius: 2px;
  box-shadow: 0 0 24px var(--glow-red);
}

.hero-proof-row span {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.hero-actions-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

@media (max-width: 520px) {
  .hero-actions-row {
    grid-template-columns: 1fr;
  }
}

.logo-panel {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lift) !important;
}

.trust-band {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.trust-band div {
  backdrop-filter: blur(12px);
  transition: background 0.25s ease;
}

.trust-band div:hover {
  background: rgba(241, 8, 43, 0.12) !important;
}

/* —— Cards (home + booking) —— */
.core-card,
.service-card,
.package-card,
.values-card,
.process-card,
.work-card,
.price-panel,
.panel,
.contact-panel,
.modal,
.newsletter-modal {
  backdrop-filter: blur(14px);
  border-color: var(--glass-border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    border-color 0.3s ease;
}

.addon-card {
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg) !important;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s var(--ease-out);
}

.core-card:hover,
.service-card:hover,
.package-card:hover,
.addon-card:hover,
.values-grid article:hover,
.work-card:hover,
.price-panel:hover {
  border-color: rgba(241, 8, 43, 0.35) !important;
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.core-card.featured,
.service-card.popular,
.package-card.popular,
.price-panel.featured,
.price-panel.is-featured {
  border-color: rgba(241, 8, 43, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(241, 8, 43, 0.2),
    var(--shadow-lift);
}

.service-badge,
.service-card .popular-tag,
.package-card .tag {
  backdrop-filter: blur(6px);
  letter-spacing: 0.08em;
}

/* —— Sections —— */
.core-services-section,
.work-section,
.social-video-section,
.values-section,
.process-section,
.split-section,
.reminder-section {
  position: relative;
}

.core-heading h2,
.work-section h2,
.values-section h2,
.process-section h2 {
  max-width: 16ch;
}

.reminder-section {
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  margin-inline: auto;
  max-width: min(720px, calc(100% - 32px));
  padding: clamp(28px, 4vw, 40px) !important;
}

.reminder-section::before {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 50%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.work-photo img {
  transition: transform 0.5s var(--ease-out);
}

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

.values-grid article {
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s var(--ease-out);
}

.values-grid article:hover {
  border-color: rgba(241, 8, 43, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.service-steps article {
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.service-steps article:hover {
  background: rgba(241, 8, 43, 0.08);
  border-color: rgba(241, 8, 43, 0.35);
}

.booking-page .hero-section,
.booking-page .service-picker,
.booking-page .booking-intro {
  position: relative;
  z-index: 1;
}

.booking-page .service-card,
.booking-page .package-card {
  overflow: hidden;
}

.booking-page .service-card::after,
.booking-page .package-card::after {
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-100%);
  transition: opacity 0.35s ease;
}

.booking-page .service-card:hover::after,
.booking-page .package-card:hover::after {
  animation: card-shine 0.7s var(--ease-out);
  opacity: 1;
}

@keyframes card-shine {
  to {
    transform: translateX(100%);
  }
}

.contact-page .hero,
.faq-page .hero,
.success-page .hero,
.legal-page .hero {
  position: relative;
}

.success-hero,
.booking-success-card,
.success-next-steps {
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.success-icon {
  box-shadow: 0 0 40px rgba(241, 8, 43, 0.35);
}

.faq-item {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s var(--ease-out);
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(241, 8, 43, 0.35) !important;
  box-shadow: var(--shadow-soft);
}

.booking-page .service-card,
.booking-page .package-card {
  position: relative;
}

/* —— Pricing page —— */
.pricing-hero {
  backdrop-filter: blur(12px);
  background:
    radial-gradient(circle at 0% 0%, rgba(241, 8, 43, 0.14), transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4vw, 44px);
}

.pricing-section {
  margin-top: clamp(28px, 4vw, 40px);
}

.pricing-section-title {
  font-family: var(--display, "Barlow Condensed", sans-serif);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price-amount strong {
  font-variant-numeric: tabular-nums;
}

/* —— Portal / account pages —— */
.hero {
  backdrop-filter: blur(10px);
}

.hero .eyebrow::before {
  width: 18px;
}

.hero .eyebrow {
  align-items: center;
  color: rgba(245, 245, 245, 0.58);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faq-item,
details.admin-collapsible {
  border-radius: var(--radius-lg) !important;
}

/* —— Booking modal & scheduler —— */
.modal-backdrop,
.newsletter-backdrop {
  backdrop-filter: blur(10px);
  background: rgba(4, 5, 7, 0.72) !important;
}

.modal,
.newsletter-modal {
  border-radius: var(--radius-xl) !important;
}

.scheduler-steps span.active {
  box-shadow: 0 0 20px rgba(241, 8, 43, 0.35);
}

.calendar-day.is-selected {
  box-shadow: 0 0 0 2px rgba(241, 8, 43, 0.5);
}

.calendar-box,
.time-panel,
.booking-summary {
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg) !important;
}

/* —— Footer —— */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
  margin-top: clamp(32px, 5vw, var(--section-y));
}

.site-footer-inner {
  padding-top: 8px;
}

/* —— Mobile sticky CTA —— */
.mobile-sticky-cta {
  backdrop-filter: blur(16px);
  background: rgba(8, 9, 11, 0.9) !important;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .core-card:hover,
  .service-card:hover,
  .package-card:hover,
  .price-panel:hover {
    transform: none;
  }

  body.lifestyle-site .primary:hover,
  body.lifestyle-site .primary-cta:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  nav a::after {
    display: none;
  }

  .hero-proof-row span {
    font-size: 0.82rem;
    padding: 6px 12px;
  }
}

/* —— Package compare, seasonal, booking hints —— */
.seasonal-banner {
  background: rgba(241, 8, 43, 0.1);
  border: 1px solid rgba(241, 8, 43, 0.28);
  border-radius: var(--radius-lg);
  color: rgba(245, 245, 245, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 52rem;
  padding: 14px 18px;
}

.package-compare-wrap {
  margin: 0 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.package-compare {
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 320px;
  width: 100%;
}

.package-compare caption {
  caption-side: top;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-align: left;
  text-transform: uppercase;
}

.package-compare th,
.package-compare td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  text-align: center;
}

.package-compare th[scope="row"] {
  font-weight: 600;
  text-align: left;
}

.package-compare thead th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.package-compare .is-yes {
  color: #5fd68a;
  font-weight: 800;
}

.package-picker-hint {
  color: rgba(245, 245, 245, 0.78);
  font-size: 0.88rem;
  font-style: italic;
  margin: 0 0 12px;
}

.field-hint {
  color: rgba(245, 245, 245, 0.68);
  font-size: 0.84rem;
  grid-column: 1 / -1;
  line-height: 1.45;
  margin: -4px 0 8px;
}

.booking-request-notice {
  color: rgba(245, 245, 245, 0.82);
  font-size: 0.9rem;
  grid-column: 1 / -1;
  line-height: 1.5;
  margin: 0;
}

.booking-summary-total {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  margin-top: 8px;
}

.pricing-seasonal {
  color: rgba(245, 245, 245, 0.85);
  font-size: 0.95rem;
  margin: 12px 0 0;
  max-width: 42rem;
}
