:root {
  /* Colors - Premium coastal theme */
  --ink: #0a1929;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: #cbd5e1;
  --paper: #ffffff;
  --mist: #f1f5f9;
  --tide: #0284c7;
  --tide-dark: #0369a1;
  --tide-light: #38bdf8;
  --aqua: #06b6d4;
  --green: #10b981;
  --amber: #f59e0b;
  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 20px rgb(2 132 199 / 0.3);
  
  /* Typography */
  --font-display: "Syne", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  
  /* Spacing */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Animations */
  --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1rem 1.5rem;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 1rem;
}

.hidden {
  display: none !important;
}

/* Container */
.container {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container {
    width: min(1280px, calc(100% - 4rem));
    padding-inline: 2rem;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.5);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.main-nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--tide);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.text-link {
  display: none;
  font-weight: 600;
  color: var(--tide);
}

@media (min-width: 768px) {
  .text-link {
    display: block;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.button-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.button-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.button-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow);
}

.button-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px) scale(1.02);
  transition: var(--transition-bounce);
}

.button-secondary {
  background: white;
  color: var(--tide);
  border: 2px solid var(--tide);
}

.button-secondary:hover {
  background: var(--tide);
  color: white;
  transform: translateY(-3px) scale(1.02);
  transition: var(--transition-bounce);
}

.button-glow {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgb(2 132 199 / 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgb(2 132 199 / 0.5);
  }
}

.button-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Hero Section */
.hero-premium {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.parallax-img {
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 25, 41, 0.9) 0%,
    rgba(10, 54, 86, 0.68) 52%,
    rgba(3, 105, 161, 0.26) 100%
  );
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 8, 18, 0.55) 0%, transparent 68%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge svg {
  color: #fbbf24;
}

.hero-title {
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  text-align: left;
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Trust Band */
.trust-band-premium {
  padding: 3rem 0;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.trust-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.trust-item {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  color: white;
  box-shadow: var(--shadow);
}

.trust-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--mist);
}

.section-dark {
  background: var(--ink);
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-dark p,
.section-dark span {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tide);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.section-dark .eyebrow {
  color: var(--tide-light);
}

.section-header h2 {
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.1s forwards;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  opacity: 0;
  animation: fadeIn 0.6s ease 0.2s forwards;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* Results Section */
.results-premium {
  overflow: hidden;
}

.quick-calculator-section {
  background: linear-gradient(180deg, var(--mist) 0%, #ffffff 100%);
}

.quick-calculator-section .section-header {
  margin-bottom: 2.5rem;
}

.quick-calculator-card {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.results-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.result-card-premium {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.result-card-premium:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  transition: var(--transition-slow);
}

.result-featured {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .result-featured {
    grid-column: span 2;
  }
}

.result-media {
  position: relative;
  overflow: hidden;
}

.before-after-slider {
  position: relative;
  --position: 50%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  background: var(--ink);
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.ba-divider {
  position: absolute;
  left: var(--position);
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.before-after-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 4 / 3;
}

.ba-half {
  position: relative;
  overflow: hidden;
}

.ba-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.result-card-premium:hover .ba-half img {
  transform: scale(1.08);
}

.ba-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
}

.ba-label.after {
  left: auto;
  right: 1rem;
  background: var(--gradient-primary);
}

.result-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.result-content {
  padding: 1.5rem;
}

.result-content h3 {
  margin-bottom: 0.75rem;
}

.result-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  background: var(--mist);
  color: var(--tide);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Services Section */
.services-grid-premium {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.service-card-premium:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  transition: var(--transition-slow);
}

.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  color: white;
}

.service-card-premium h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card-premium > p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--tide-light);
  font-weight: bold;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--tide-light);
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  gap: 0.75rem;
}

.service-card-cta {
  background: var(--gradient-primary);
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-content {
  text-align: center;
}

.cta-content h3 {
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Quote Calculator */
.quote-calculator-section {
  background: linear-gradient(135deg, var(--mist) 0%, white 100%);
}

.calculator-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.calculator-widget {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calculator-loading {
  text-align: center;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--mist);
  border-top-color: var(--tide);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.review-card-premium {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.review-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-author strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.review-author span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Final CTA */
.cta-final {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-final-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-final h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-final p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.footer-brand strong {
  font-size: 1.25rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-column: span 2;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links strong {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chatbot-trigger {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-trigger:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.chatbot-trigger .close-icon {
  display: none;
}

.chatbot-widget.open .chatbot-trigger .chat-icon {
  display: none;
}

.chatbot-widget.open .chatbot-trigger .close-icon {
  display: block;
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 500px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-widget.open .chatbot-window {
  display: flex;
}

.chatbot-header {
  padding: 1.5rem;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.chatbot-header span {
  font-size: 0.875rem;
  opacity: 0.9;
}

.chatbot-header button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition);
}

.chatbot-header button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--mist);
}

.message {
  margin-bottom: 1rem;
}

.message-content {
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.assistant-message .message-content {
  background: white;
  border-left: 3px solid var(--tide);
}

.user-message .message-content {
  background: var(--gradient-primary);
  color: white;
  margin-left: auto;
  max-width: 80%;
}

.message-content ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.message-content li {
  margin-bottom: 0.25rem;
}

.chatbot-input {
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
}

.chatbot-input input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.chatbot-input button {
  padding: 0.75rem 1rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-input button:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Calculator Styles */
.calculator-form {
  width: 100%;
}

.calculator-step {
  display: none;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.calculator-step.active {
  display: block;
}

.calculator-step h3 {
  margin-bottom: 2rem;
  color: var(--ink);
}

.calculator-options {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 1rem;
}

.calc-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--mist);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.calc-option:hover {
  border-color: var(--tide);
  background: white;
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
}

.calc-option svg {
  color: var(--tide);
}

.calc-option strong {
  font-size: 1.1rem;
  color: var(--ink);
}

.calc-option span {
  font-size: 0.875rem;
  color: var(--muted);
}

.quote-result {
  text-align: center;
  padding: 2rem;
}

.price-range {
  margin-bottom: 2rem;
}

.price-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quote-note {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.quote-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.calc-restart {
  background: none;
  border: none;
  color: var(--tide);
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.calc-restart:hover {
  text-decoration: underline;
}

/* Typing Indicator */
.typing-indicator {
  opacity: 0.7;
}

.typing-dots {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: var(--tide);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .hero-premium {
    min-height: auto;
    padding: 5.5rem 0 2.75rem;
  }

  .hero-content {
    padding: 2rem 0 1rem;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    margin-bottom: 1.5rem;
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 25, 41, 0.9) 0%,
      rgba(10, 54, 86, 0.78) 58%,
      rgba(3, 105, 161, 0.5) 100%
    );
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .button-large {
    width: 100%;
  }
  
  .trust-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .stat strong {
    font-size: 1.25rem;
  }

  .stat span {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .scroll-indicator {
    display: none;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid-premium {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .chatbot-window {
    width: calc(100vw - 2rem);
    height: calc(100vh - 140px);
  }
  
  .calculator-options {
    grid-template-columns: 1fr;
  }
  
  .quote-actions {
    width: 100%;
  }
  
  .quote-actions .button-large {
    width: 100%;
  }
}

/* Quick Question Buttons */
.quick-questions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.quick-btn {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.quick-btn:hover {
  background: white;
  border-color: var(--tide);
  color: var(--tide);
  transform: translateX(4px);
}

/* ============================================
   SERVICE PAGES
   ============================================ */

/* Service Hero */
.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

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

.service-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.service-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
  padding: 4rem 0;
}

.breadcrumb {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  transition: var(--transition);
}

.breadcrumb:hover {
  color: var(--tide-light);
}

.service-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.service-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Surfaces Grid */
.surfaces-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.surface-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
}

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

.surface-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  color: white;
}

.surface-card h3 {
  margin-bottom: 1rem;
}

.surface-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  padding-left: 6rem;
}

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  border-radius: var(--radius);
}

.process-step h3 {
  margin-bottom: 0.75rem;
  color: white;
}

.process-step p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* Service Results */
.service-results {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.faq-item h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.faq-item p {
  color: var(--muted);
  line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .service-hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }
  
  .service-hero-cta {
    flex-direction: column;
  }
  
  .process-step {
    padding-left: 0;
    padding-top: 5rem;
  }
  
  .process-number {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .surfaces-grid,
  .service-results,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ENHANCED MOBILE STYLES
   ============================================ */

@media (max-width: 767px) {
  /* Larger touch targets for mobile */
  .button,
  .calc-option,
  .quick-btn,
  .chatbot-trigger {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better mobile navigation */
  .main-nav {
    display: none;
  }
  
  .nav-actions .text-link {
    display: none;
  }
  
  .brand span {
    font-size: 1rem;
  }
  
  /* Better mobile typography */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Mobile footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  /* Mobile hero */
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .service-subtitle {
    font-size: 1.1rem;
  }
  
  /* Mobile stats */
  .service-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat {
    text-align: center;
  }
  
  /* Mobile cards */
  .surface-card,
  .faq-item,
  .review-card-premium {
    padding: 1.5rem;
  }
  
  /* Mobile chatbot positioning */
  .chatbot-widget {
    bottom: 1rem;
    right: 1rem;
  }
  
  .chatbot-trigger {
    width: 56px;
    height: 56px;
  }
  
  /* Mobile section padding */
  .section {
    padding: 3rem 0;
  }
  
  /* Mobile container */
  .container {
    width: calc(100% - 2rem);
    padding-inline: 1rem;
  }
  
  /* Mobile process timeline */
  .process-timeline {
    gap: 2rem;
  }
  
  .process-step {
    text-align: center;
  }
  
  /* Mobile trust band */
  .trust-grid-premium {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Mobile CTA actions */
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-actions .button {
    width: 100%;
  }
}

/* Tablet styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    width: calc(100% - 4rem);
  }
  
  .surfaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small mobile (320px - 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .hero-badge,
  .eyebrow {
    font-size: 0.75rem;
  }
  
  .button {
    font-size: 0.9rem;
    padding: 0.875rem 1.25rem;
  }
  
  .chatbot-window {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  .chatbot-widget.open {
    inset: 0;
    right: auto;
    bottom: auto;
  }

  .chatbot-widget.open .chatbot-window {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    border-radius: 0;
  }

  .chatbot-widget.open .chatbot-trigger {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1001;
  }

  .chatbot-input {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

/* Landscape mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-premium,
  .service-hero {
    min-height: 60vh;
  }
}

/* ============================================
   NEW FEATURES - PROMOTION & URGENCY
   ============================================ */

/* Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 1rem 0;
  position: relative;
  z-index: 90;
  margin-top: 80px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}

.promo-icon {
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
  flex-shrink: 0;
}

.promo-message {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  max-width: 600px;
}

.promo-message p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.promo-urgency {
  font-size: 0.875rem;
  opacity: 0.95;
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 1; transform: scale(1.02); }
}

.promo-close {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  flex-shrink: 0;
}

.promo-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ============================================
   PHOTO UPLOAD QUOTE SYSTEM
   ============================================ */

.photo-quote-section {
  background: var(--ink);
  color: white;
}

.photo-upload-widget {
  max-width: 800px;
  margin: 0 auto;
}

.upload-area {
  background: rgba(255, 255, 255, 0.05);
  border: 3px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.upload-area:hover {
  border-color: var(--tide-light);
  background: rgba(255, 255, 255, 0.08);
}

.upload-area.dragging {
  border-color: var(--tide-light);
  background: rgba(14, 165, 233, 0.14);
}

.upload-area svg {
  color: var(--tide-light);
  margin-bottom: 1.5rem;
}

.upload-area h3 {
  color: white;
  margin-bottom: 0.75rem;
}

.upload-area p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.photo-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.photo-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-preview p {
  margin: 0;
  padding: 0.6rem 0.75rem;
  color: white;
  font-size: 0.85rem;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.upload-form input,
.upload-form select {
  padding: 1rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
}

.upload-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.upload-guarantee {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

/* ============================================
   BOOKING CALENDAR
   ============================================ */

.booking-widget {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.booking-calendar {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.calendar-nav {
  background: none;
  border: 2px solid var(--line);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--ink);
}

.calendar-nav:hover {
  border-color: var(--tide);
  background: var(--tide);
  color: white;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: white;
  color: var(--ink);
  font-family: inherit;
}

.calendar-day:hover:not(.disabled) {
  border-color: var(--tide);
  background: var(--mist);
}

.calendar-day.selected {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--tide);
}

.calendar-day.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-day.available::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.booking-details {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.selected-slot {
  background: var(--mist);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  text-align: center;
}

.slot-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.slot-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tide);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  padding: 0.875rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
}

.booking-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ============================================
   COMPARISON TOOL
   ============================================ */

.comparison-tool {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-selector {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  text-align: center;
}

.comparison-selector p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.surface-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.surface-btn {
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--line);
  background: white;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
}

.surface-btn:hover {
  border-color: var(--tide);
  background: var(--mist);
  transform: translateY(-2px);
}

.surface-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--tide);
}

.comparison-result {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.comparison-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.comparison-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--muted);
}

.comparison-card.recommended::before {
  background: var(--gradient-primary);
}

.comparison-card.not-recommended::before {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.method-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.recommended .method-badge {
  background: rgba(2, 132, 199, 0.1);
  color: var(--tide);
}

.not-recommended .method-badge.danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.method-details p {
  color: var(--muted);
  line-height: 1.7;
}

.comparison-table {
  width: 100%;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table thead {
  background: var(--gradient-primary);
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--line);
}

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

.comparison-table tbody tr:hover {
  background: var(--mist);
}

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

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item-accordion {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.faq-item-accordion:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

.faq-question h3 {
  color: white;
  font-size: 1.1rem;
  margin: 0;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--tide-light);
  transition: var(--transition);
  font-weight: 300;
}

.faq-item-accordion.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item-accordion.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   REVIEWS ENHANCEMENTS
   ============================================ */

.review-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.rating-large {
  text-align: center;
}

.stars-large {
  font-size: 2rem;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.review-count {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 600;
}

.review-summary-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.review-summary-text a {
  color: var(--tide);
  font-weight: 700;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.reviewer-info {
  flex: 1;
}

.reviewer-info strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.reviewer-info span {
  font-size: 0.875rem;
  color: var(--muted);
}

.review-date {
  font-size: 0.875rem;
  color: var(--muted);
  display: block;
  margin-top: 0.75rem;
}

.review-platforms {
  text-align: center;
  margin-top: 3rem;
}

.review-platforms p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.platform-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 600;
}

.platform-badge:hover {
  border-color: var(--tide);
  background: var(--mist);
  transform: translateY(-2px);
}

/* ============================================
   MOBILE RESPONSIVE - NEW FEATURES
   ============================================ */

@media (max-width: 767px) {
  .promo-content {
    font-size: 0.85rem;
  }
  
  .promo-content p {
    font-size: 0.875rem;
  }
  
  .booking-widget {
    grid-template-columns: 1fr;
  }
  
  .comparison-result {
    grid-template-columns: 1fr;
  }
  
  .surface-buttons {
    flex-direction: column;
  }
  
  .surface-btn {
    width: 100%;
  }
  
  .comparison-table {
    font-size: 0.85rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 1rem;
  }
  
  .review-summary {
    flex-direction: column;
    gap: 1rem;
  }
  
  .platform-links {
    flex-direction: column;
  }
  
  .faq-question {
    padding: 1rem 1.5rem;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .upload-area {
    padding: 2rem 1rem;
  }
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-content {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 90vw;
  width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  color: var(--ink);
}

.mobile-menu-close:hover {
  background: var(--mist);
}

.mobile-menu-content a {
  display: block;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.mobile-menu-content a:last-of-type {
  border-bottom: none;
}

.mobile-menu-content a:hover {
  background: var(--mist);
  color: var(--tide);
  padding-left: 1.5rem;
}

.mobile-menu-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    display: none;
  }
  
  .nav-actions .text-link {
    display: none;
  }

  .nav-actions .button-glow {
    display: none;
  }
}

/* ============================================
   TAB SYSTEM
   ============================================ */

.quote-tabs,
.learning-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 1rem;
  color: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab-btn span {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.8;
}

.tab-btn:hover {
  border-color: var(--tide-light);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--gradient-primary);
  border-color: var(--tide);
}

.learning-tabs .tab-btn {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.learning-tabs .tab-btn.active {
  background: var(--gradient-primary);
  color: white;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

/* ============================================
   COMPACT LAYOUTS
   ============================================ */

.booking-widget-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.calculator-compact {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.calculator-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.calc-option {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid transparent;
}

.calc-option:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tide);
}

.calc-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.calc-option strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.calc-price {
  font-size: 0.875rem;
  color: var(--tide);
  font-weight: 600;
}

.calculator-result {
  text-align: center;
  padding: 2rem;
}

.result-display {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  color: var(--ink);
}

.price-range {
  font-size: 3rem;
  font-weight: 800;
  color: var(--tide);
  margin: 1rem 0;
  font-family: var(--font-display);
}

.calculator-result h3 {
  margin-bottom: 1rem;
}

.calc-price-display {
  color: var(--tide);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin: 1rem 0;
}

.calc-service-name,
.calc-helper,
.calc-note {
  max-width: 620px;
  margin: 0.75rem auto;
  color: var(--muted);
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.button-link {
  background: transparent;
  border-color: transparent;
  color: var(--tide);
  box-shadow: none;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.comparison-tool-compact {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.comparison-intro {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.faq-item-accordion {
  background: white;
  border: 1px solid var(--line);
}

.faq-question h3 {
  color: var(--ink);
}

.faq-answer p {
  color: var(--muted);
}

/* Mobile responsive for tabs */
@media (max-width: 767px) {
  .quote-tabs,
  .learning-tabs {
    grid-template-columns: 1fr;
  }
  
  .booking-widget-compact {
    grid-template-columns: 1fr;
  }
  
  .calculator-options {
    grid-template-columns: 1fr;
  }
  
  .tab-btn {
    text-align: center;
  }
}

/* ============================================
   IMAGE QUALITY OPTIMIZATION
   ============================================ */

/* Keep real photos smooth instead of forcing pixel sharpening */
img {
  image-rendering: auto;
  max-width: 100%;
  height: auto;
}

/* High quality for before/after images */
.ba-before,
.ba-after,
.before-image,
.after-image,
.ba-half img {
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Ensure full quality on retina displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi) {
  img {
    image-rendering: auto;
  }
}

/* Promo Banner Mobile Responsive */
@media (max-width: 767px) {
  .promo-banner {
    padding: 0.875rem 0;
    margin-top: 72px;
  }
  
  .promo-content {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .promo-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
  }
  
  .promo-message {
    max-width: 100%;
  }
  
  .promo-message p {
    font-size: 0.9rem;
  }
  
  .promo-urgency {
    font-size: 0.8rem;
  }
  
  .promo-close {
    position: relative;
    right: auto;
  }
}

@media (max-width: 480px) {
  .promo-message p strong {
    display: block;
    margin-bottom: 0.25rem;
  }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-hero {
  background: linear-gradient(135deg, var(--tide) 0%, var(--tide-dark) 100%);
  padding: 8rem 0 6rem;
  color: white;
  text-align: center;
}

.contact-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin: 1.5rem 0 3rem;
  opacity: 0.95;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-option-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-option-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.option-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-option-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-option-card p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.email-address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.email-actions {
  display: grid;
  gap: 0.75rem;
}

.email-actions .button {
  width: 100%;
  min-width: 0;
  white-space: normal;
  line-height: 1.2;
  padding-left: 1rem;
  padding-right: 1rem;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.form-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-form-premium {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--mist);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tide);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  color: var(--ink-light);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.service-area-info {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: white;
}

.service-area-info h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
  text-align: left;
}

.area-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--tide-light);
}

.area-col ul {
  list-style: none;
  padding: 0;
}

.area-col li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.area-note {
  margin-top: 2rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .contact-hero {
    padding: 6rem 0 4rem;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-premium {
    padding: 2rem 1.5rem;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Before/After Slider Interactivity */
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  cursor: ew-resize;
  z-index: 3;
  transform: translateX(-50%);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: grab;
}

.ba-handle:active {
  cursor: grabbing;
}

.ba-handle svg {
  color: var(--tide);
}

.ba-before {
  clip-path: inset(0 0 0 0);
}

.ba-after {
  z-index: 1;
}

/* Clip the before image based on divider position */
.before-after-slider .ba-divider ~ .ba-before {
  clip-path: inset(0 0 0 0);
}

/* ============================================
   WORKING BEFORE/AFTER SLIDER STYLES
   ============================================ */

.before-after-slider {
  position: relative;
  --position: 50%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  background: var(--ink);
}

.before-after-slider.dragging {
  cursor: grabbing;
}

.ba-before,
.ba-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before {
  z-index: 1;
  clip-path: inset(0 0 0 0);
}

.ba-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.ba-handle svg {
  color: var(--tide);
  width: 24px;
  height: 24px;
}

.before-after-slider.dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Static before/after cards should NOT be interactive */
.before-after-split {
  cursor: default;
}

.before-after-split img {
  cursor: default;
  pointer-events: none;
}
