/* Hampstead Renovations - Main Stylesheet */
/* Premium design for North London's finest renovation specialists */

:root {
  --primary: #2c3e50;
  --primary-light: #546e7a;
  --accent: #7A5E33;
  --accent-light: #8b7355;
  --dark: #1a252f;
  --grey: #607d8b;
  --light-grey: #f5f7f9;
  --white: #ffffff;
  --text: #37474f;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.premium-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 12px 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  font-family: var(--font-serif);
}

.header-address {
  padding-left: 20px;
  border-left: 2px solid var(--light-grey);
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.4;
}

.header-address strong {
  color: var(--primary);
}

.header-cta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-phone {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.header-phone:hover {
  color: var(--accent);
}

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */

.breadcrumb {
  padding: 100px 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  list-style: none;
  color: var(--grey);
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb a {
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--grey);
}

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

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 150px 20px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.luxury-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
  letter-spacing: -0.02em;
  font-family: var(--font-serif);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 400;
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.btn-gold {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(122, 94, 51, 0.25);
}

.btn-gold:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 94, 51, 0.35);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: var(--light-grey);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.85);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-light);
}

/* ============================================
   SECTIONS & TYPOGRAPHY
   ============================================ */

.premium-features,
.portfolio-section,
.process-section,
.service-areas,
.faq-section,
.quote-section {
  padding: 100px 20px;
}

@media(min-width: 1024px) {

  .premium-features,
  .process-section {
    padding: 120px 20px;
  }
}

.premium-features {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1.1rem;
  color: var(--grey);
  line-height: 1.8;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 35px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--light-grey);
  border-top: 2px solid var(--accent);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: var(--grey);
  line-height: 1.8;
  font-size: 1rem;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.portfolio-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #e8eaf0, #f5f7f9);
  position: relative;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.9), transparent);
  padding: 25px;
  color: var(--white);
}

.portfolio-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */

.process-section {
  background: var(--white);
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  opacity: 0.3;
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-content {
  flex: 1;
  padding: 30px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
  position: relative;
}

.step-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--white);
}

.step-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-top: 2px solid var(--accent-light);
}

.stars {
  color: var(--accent-light);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.author-name {
  font-weight: 600;
  font-size: 1rem;
}

.author-location {
  opacity: 0.75;
  font-size: 0.9rem;
}

/* ============================================
   SERVICE AREAS
   ============================================ */

.service-areas {
  background: var(--white);
}

.areas-container {
  max-width: 1200px;
  margin: 0 auto;
}

.areas-map {
  background: var(--light-grey);
  border-radius: 8px;
  padding: 50px;
  margin-top: 40px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.area-card {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.area-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.area-postcode {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.area-name {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.area-locations {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */

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

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
}

.faq-question:hover {
  background: var(--light-grey);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  font-family: var(--font-sans);
}

.faq-question[aria-expanded="true"]::after {
  content: '−';
}

.faq-answer {
  padding: 0 25px 20px;
  color: var(--grey);
  line-height: 1.8;
  font-size: 1rem;
  display: block;
}

.faq-answer[hidden] {
  display: none;
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.quote-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
}

.quote-container {
  max-width: 800px;
  margin: 0 auto;
}

.quote-header {
  text-align: center;
  color: var(--white);
  margin-bottom: 50px;
}

.quote-header h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.quote-benefits {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1rem;
}

.benefit-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-light);
}

.quote-form {
  background: var(--white);
  padding: 45px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  font-family: var(--font-sans);
}

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

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

.submit-button {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 94, 51, 0.3);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--light-grey);
}

.contact-method {
  text-align: center;
}

.contact-method a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-method a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: var(--light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.contact-method a:hover .contact-icon {
  background: var(--accent);
  color: var(--white);
}

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

.luxury-footer {
  background: var(--dark);
  padding: 60px 20px 30px;
  color: var(--white);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--accent-light);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p,
.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 1.8;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

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

.footer-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-light);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   ANIMATIONS & INTERACTIONS
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

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

/* ============================================
   CHAT WIDGET
   ============================================ */

.hr-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  font-family: var(--font-sans);
}

.hr-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: none;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hr-chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.hr-chat-toggle svg {
  width: 28px;
  height: 28px;
}

.hr-chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.hr-chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  height: 550px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
  z-index: 9999;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hr-chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
}

.hr-chat-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.hr-chat-status {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.hr-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hr-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
}

.hr-chat-message {
  margin-bottom: 15px;
  animation: fadeIn 0.3s ease;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hr-bot-message {
  background: white;
  padding: 12px 16px;
  border-radius: 8px 8px 8px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hr-bot-message p {
  margin: 4px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.hr-user-message {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white;
  padding: 12px 16px;
  border-radius: 8px 8px 0 8px;
  margin-left: auto;
  max-width: 80%;
}

.hr-quick-actions {
  padding: 15px;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hr-quick-btn {
  padding: 10px 12px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

.hr-quick-btn:hover {
  background: var(--light-grey);
  border-color: var(--accent);
  color: var(--accent);
}

.hr-chat-form {
  padding: 15px;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 10px;
  border-radius: 0 0 12px 12px;
}

.hr-chat-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.hr-chat-form input:focus {
  border-color: var(--accent);
}

.hr-chat-form button {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hr-chat-form button:hover {
  transform: scale(1.05);
}

.hr-chat-form button svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media(max-width:768px) {
  .premium-header {
    position: relative;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .logo-section {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .header-address {
    border-left: none;
    padding-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--light-grey);
  }

  .breadcrumb {
    padding-top: 20px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-premium {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .features-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-step,
  .process-step:nth-child(even) {
    flex-direction: column;
  }

  .step-number {
    left: 30px;
  }

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

  .quote-form {
    padding: 30px;
  }

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

  .hr-chat-window {
    width: calc(100vw - 20px);
    height: calc(100vh - 100px);
    right: 10px;
    bottom: 80px;
    left: 10px;
  }

  .hr-chat-toggle {
    width: 56px;
    height: 56px;
  }

  .hr-quick-actions {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BLOG LEAD MAGNET
   ============================================ */

.lead-magnet-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 40px;
  border-radius: 12px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(44, 62, 80, 0.2);
}

.lead-magnet-card::before {
  content: '📖';
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 120px;
  opacity: 0.1;
  transform: rotate(-15deg);
}

.lead-magnet-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.lead-magnet-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.lead-magnet-card h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.lead-magnet-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.lead-magnet-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lead-magnet-input {
  flex: 1;
  min-width: 250px;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

/* ============================================
   EXIT INTENT POPUP
   ============================================ */

.exit-intent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
}

.exit-intent-popup {
  background: #fff;
  width: 90%;
  max-width: 500px;
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.exit-intent-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--grey);
}

.exit-intent-popup h2 {
  color: var(--primary);
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .trust-bar-content {
    flex-direction: column;
    text-align: center;
  }
}