/*
 Theme Name:   Astra Child - Absolute Clearance
 Theme URI:    https://absolute.smoothbyteit.dev
 Description:  Custom child theme for Absolute Clearance & Cleaning
 Author:       Absolute Clearance
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/* ===== ROOT VARIABLES ===== */
:root {
  --ac-primary: #2B3A67;
  --ac-primary-light: #3A4D7C;
  --ac-primary-dark: #1E2A4A;
  --ac-secondary: #C5A55A;
  --ac-secondary-light: #D4B86A;
  --ac-accent: #C5A55A;
  --ac-dark: #1E2A4A;
  --ac-text: #333333;
  --ac-text-light: #5a6a7a;
  --ac-light: #f5f6fa;
  --ac-white: #ffffff;
  --ac-border: #e0e0e0;
  --ac-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --ac-shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
  --ac-radius: 12px;
  --ac-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ac-text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--ac-dark);
}

a {
  transition: var(--ac-transition);
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

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

@keyframes sweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.ac-animate {
  opacity: 0;
  transition: var(--ac-transition);
}

.ac-animate.ac-visible {
  opacity: 1;
}

.ac-fade-up { animation: fadeInUp 0.8s ease forwards; }
.ac-fade-left { animation: fadeInLeft 0.8s ease forwards; }
.ac-fade-right { animation: fadeInRight 0.8s ease forwards; }
.ac-scale-in { animation: scaleIn 0.6s ease forwards; }

/* Staggered delays */
.ac-delay-1 { animation-delay: 0.1s; }
.ac-delay-2 { animation-delay: 0.2s; }
.ac-delay-3 { animation-delay: 0.3s; }
.ac-delay-4 { animation-delay: 0.4s; }
.ac-delay-5 { animation-delay: 0.5s; }
.ac-delay-6 { animation-delay: 0.6s; }

/* ===== TOP BAR ===== */
.ac-top-bar {
  background: var(--ac-primary-dark);
  color: var(--ac-white);
  padding: 8px 0;
  font-size: 14px;
  animation: slideDown 0.5s ease;
}

.ac-top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.ac-top-bar a {
  color: var(--ac-white);
  text-decoration: none;
}

.ac-top-bar a:hover {
  color: var(--ac-secondary-light);
}

.ac-top-bar .ac-badge {
  background: var(--ac-secondary);
  color: var(--ac-white);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== HEADER ===== */
.site-header {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--ac-white);
}

.ast-primary-header-bar {
  border-bottom: 3px solid var(--ac-primary);
}

/* ===== HERO SECTION ===== */
.ac-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--ac-primary-dark) 0%, var(--ac-primary) 50%, var(--ac-primary-light) 100%);
  overflow: hidden;
  color: var(--ac-white);
}

.ac-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,122.7C960,117,1056,171,1152,181.3C1248,192,1344,160,1392,144L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
  background-size: cover;
}

.ac-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197,165,90,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.ac-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ac-hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--ac-white);
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInLeft 1s ease;
}

.ac-hero-text h1 span {
  color: var(--ac-secondary);
}

.ac-hero-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 30px;
  animation: fadeInLeft 1s ease 0.2s both;
}

.ac-hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  animation: fadeInLeft 1s ease 0.4s both;
  justify-content: flex-start;
}

.ac-hero-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  text-align: center;
}

.ac-hero-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--ac-secondary);
  flex-shrink: 0;
  display: block;
}

.ac-hero-badge span {
  display: inline-flex;
  align-items: center;
  line-height: 20px;
  height: 20px;
}

.ac-hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInLeft 1s ease 0.6s both;
}

.ac-hero-buttons .ac-btn {
  min-width: 220px;
  text-align: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.ac-hero-buttons .ac-btn svg {
  flex-shrink: 0;
  display: block;
}

.ac-hero-buttons .ac-btn span {
  display: inline-flex;
  align-items: center;
  line-height: 20px;
  height: 20px;
}

.ac-hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.ac-hero-visual img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  width: 100%;
  height: auto;
}

/* ===== BUTTONS ===== */
.ac-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: var(--ac-transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.ac-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ac-btn:hover::after {
  width: 300px;
  height: 300px;
}

.ac-btn-primary {
  background: var(--ac-secondary);
  color: var(--ac-white);
  box-shadow: 0 4px 15px rgba(197,165,90,0.4);
}

.ac-btn-primary:hover {
  background: var(--ac-secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197,165,90,0.5);
  color: var(--ac-white);
}

.ac-btn-outline {
  background: transparent;
  color: var(--ac-white);
  border: 2px solid rgba(255,255,255,0.5);
}

.ac-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--ac-white);
  transform: translateY(-2px);
  color: var(--ac-white);
}

.ac-btn-green {
  background: var(--ac-primary);
  color: var(--ac-white);
  box-shadow: 0 4px 15px rgba(43,58,103,0.4);
}

.ac-btn-green:hover {
  background: var(--ac-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43,58,103,0.5);
  color: var(--ac-white);
}

/* ===== SECTIONS ===== */
.ac-section {
  padding: 80px 20px;
  position: relative;
}

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

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

.ac-section-green {
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-primary-light) 100%);
  color: var(--ac-white);
}

.ac-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.ac-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.ac-section-header .ac-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--ac-primary), var(--ac-primary-light));
  color: var(--ac-white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.ac-section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.ac-section-header p {
  font-size: 1.1rem;
  color: var(--ac-text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.ac-section-dark .ac-section-header h2 {
  color: var(--ac-white);
}

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

/* ===== SERVICE CARDS ===== */
.ac-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.ac-service-card {
  background: var(--ac-white);
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
  transition: var(--ac-transition);
  position: relative;
}

.ac-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ac-shadow-hover);
}

.ac-service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.ac-service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ac-service-card:hover .ac-service-card-img img {
  transform: scale(1.08);
}

.ac-service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.ac-service-card-body {
  padding: 25px;
}

.ac-service-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--ac-primary-dark);
}

.ac-service-card-body p {
  color: var(--ac-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.ac-service-card-body .ac-btn {
  font-size: 14px;
  padding: 10px 24px;
}

/* ===== STATS BAR ===== */
.ac-stats {
  background: var(--ac-white);
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.ac-stat {
  text-align: center;
}

.ac-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ac-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.ac-stat-label {
  color: var(--ac-text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== WHY CHOOSE US ===== */
.ac-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.ac-why-card {
  background: var(--ac-white);
  padding: 35px 25px;
  border-radius: var(--ac-radius);
  text-align: center;
  box-shadow: var(--ac-shadow);
  transition: var(--ac-transition);
  position: relative;
  overflow: hidden;
}

.ac-why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ac-primary), var(--ac-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ac-why-card:hover::before {
  transform: scaleX(1);
}

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

.ac-why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--ac-primary), var(--ac-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--ac-transition);
}

.ac-why-card:hover .ac-why-icon {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(43,58,103,0.3);
}

.ac-why-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--ac-white);
}

.ac-why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.ac-why-card p {
  color: var(--ac-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.ac-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ac-about-img {
  border-radius: var(--ac-radius);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
  position: relative;
}

.ac-about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.ac-about-img::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -10px;
  bottom: -10px;
  border: 3px solid var(--ac-primary);
  border-radius: var(--ac-radius);
  z-index: -1;
}

.ac-about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.ac-about-text p {
  color: var(--ac-text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.ac-about-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.ac-about-list li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  color: var(--ac-text);
  font-weight: 500;
}

.ac-about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ac-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ===== CTA SECTION ===== */
.ac-cta {
  background: linear-gradient(135deg, var(--ac-primary-dark), var(--ac-primary));
  color: var(--ac-white);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ac-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197,165,90,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.ac-cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197,165,90,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ac-cta h2 {
  font-size: 2.5rem;
  color: var(--ac-white);
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.ac-cta p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.ac-cta .ac-btn {
  position: relative;
  z-index: 2;
}

/* ===== AREAS GRID ===== */
.ac-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.ac-area-item {
  background: var(--ac-white);
  padding: 18px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--ac-shadow);
  transition: var(--ac-transition);
  font-weight: 500;
}

.ac-area-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--ac-shadow-hover);
  background: var(--ac-primary);
  color: var(--ac-white);
}

.ac-area-item svg {
  width: 20px;
  height: 20px;
  fill: var(--ac-primary);
  flex-shrink: 0;
  transition: var(--ac-transition);
}

.ac-area-item:hover svg {
  fill: var(--ac-white);
}

/* ===== FAQ SECTION ===== */
.ac-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ac-faq-item {
  background: var(--ac-white);
  border-radius: var(--ac-radius);
  margin-bottom: 15px;
  box-shadow: var(--ac-shadow);
  overflow: hidden;
  transition: var(--ac-transition);
}

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

.ac-faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ac-dark);
  transition: var(--ac-transition);
}

.ac-faq-question:hover {
  color: var(--ac-primary);
}

.ac-faq-question .ac-faq-toggle {
  width: 30px;
  height: 30px;
  background: var(--ac-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--ac-transition);
  flex-shrink: 0;
}

.ac-faq-item.active .ac-faq-toggle {
  background: var(--ac-primary);
  color: var(--ac-white);
  transform: rotate(45deg);
}

.ac-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.ac-faq-item.active .ac-faq-answer {
  max-height: 500px;
  padding: 0 25px 20px;
}

.ac-faq-answer p {
  color: var(--ac-text-light);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.ac-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.ac-testimonial-card {
  background: var(--ac-white);
  padding: 30px;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  position: relative;
  transition: var(--ac-transition);
}

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

.ac-testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 5rem;
  color: var(--ac-primary);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.ac-testimonial-stars {
  color: var(--ac-secondary);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.ac-testimonial-text {
  color: var(--ac-text-light);
  line-height: 1.7;
  margin-bottom: 15px;
  font-style: italic;
}

.ac-testimonial-author {
  font-weight: 700;
  color: var(--ac-dark);
}

/* ===== CONTACT SECTION ===== */
.ac-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.ac-contact-info-card {
  background: var(--ac-white);
  padding: 25px;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  transition: var(--ac-transition);
}

.ac-contact-info-card:hover {
  transform: translateX(5px);
  box-shadow: var(--ac-shadow-hover);
}

.ac-contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--ac-primary), var(--ac-primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ac-contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--ac-white);
}

.ac-contact-details h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.ac-contact-details p,
.ac-contact-details a {
  color: var(--ac-text-light);
  text-decoration: none;
  font-size: 0.95rem;
}

.ac-contact-details a:hover {
  color: var(--ac-primary);
}

/* Contact Form Styling */
.ac-contact-form {
  background: var(--ac-white);
  padding: 35px;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
}

.ac-contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 20px;
}

.ac-contact-form input[type="text"],
.ac-contact-form input[type="email"],
.ac-contact-form input[type="tel"],
.ac-contact-form textarea,
.ac-contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--ac-border);
  border-radius: 8px;
  font-size: 15px;
  transition: var(--ac-transition);
  background: var(--ac-light);
  font-family: inherit;
}

.ac-contact-form input:focus,
.ac-contact-form textarea:focus,
.ac-contact-form select:focus {
  border-color: var(--ac-primary);
  outline: none;
  background: var(--ac-white);
  box-shadow: 0 0 0 3px rgba(43,58,103,0.1);
}

.ac-contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--ac-dark);
  font-size: 0.95rem;
}

.ac-contact-form input[type="submit"] {
  background: var(--ac-primary);
  color: var(--ac-white);
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--ac-transition);
  width: 100%;
}

.ac-contact-form input[type="submit"]:hover {
  background: var(--ac-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(43,58,103,0.3);
}

/* ===== FOOTER ===== */
.ac-footer {
  background: var(--ac-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 20px 30px;
}

.ac-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.ac-footer h4 {
  color: var(--ac-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.ac-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--ac-secondary);
  border-radius: 2px;
}

.ac-footer p {
  line-height: 1.7;
  font-size: 0.95rem;
}

.ac-footer-links {
  list-style: none;
  padding: 0;
}

.ac-footer-links li {
  margin-bottom: 10px;
}

.ac-footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: var(--ac-transition);
  font-size: 0.95rem;
}

.ac-footer-links a:hover {
  color: var(--ac-secondary);
  padding-left: 5px;
}

.ac-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ===== PAGE BANNER ===== */
.ac-page-banner {
  background: linear-gradient(135deg, var(--ac-primary-dark), var(--ac-primary));
  color: var(--ac-white);
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ac-page-banner::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(0,0,0,0.15));
}

.ac-page-banner h1 {
  font-size: 2.8rem;
  color: var(--ac-white);
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease;
}

.ac-page-banner .ac-breadcrumb {
  font-size: 1rem;
  opacity: 0.85;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.ac-page-banner .ac-breadcrumb a {
  color: var(--ac-secondary-light);
  text-decoration: none;
}

/* ===== SERVICE PAGE ===== */
.ac-service-detail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.ac-service-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.ac-service-content p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--ac-text-light);
}

.ac-service-content ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.ac-service-content ul li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--ac-text);
}

.ac-service-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ac-primary);
  font-weight: 800;
}

.ac-service-sidebar {
  position: sticky;
  top: 100px;
}

.ac-sidebar-card {
  background: var(--ac-white);
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
  padding: 30px;
  margin-bottom: 20px;
}

.ac-sidebar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ac-border);
}

.ac-sidebar-services {
  list-style: none;
  padding: 0;
}

.ac-sidebar-services li {
  margin-bottom: 8px;
}

.ac-sidebar-services a {
  display: block;
  padding: 10px 15px;
  border-radius: 6px;
  color: var(--ac-text);
  text-decoration: none;
  transition: var(--ac-transition);
  font-weight: 500;
}

.ac-sidebar-services a:hover,
.ac-sidebar-services a.active {
  background: var(--ac-primary);
  color: var(--ac-white);
  padding-left: 20px;
}

/* ===== PROCESS STEPS ===== */
.ac-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.ac-process-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--ac-primary), var(--ac-secondary));
  z-index: 0;
}

.ac-process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.ac-process-number {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--ac-primary), var(--ac-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ac-white);
  box-shadow: 0 5px 20px rgba(43,58,103,0.3);
  transition: var(--ac-transition);
}

.ac-process-step:hover .ac-process-number {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(43,58,103,0.4);
}

.ac-process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ac-process-step p {
  color: var(--ac-text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== QUOTE FORM ===== */
.ac-quote-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--ac-white);
  padding: 40px;
  border-radius: var(--ac-radius);
  box-shadow: var(--ac-shadow);
}

.ac-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ac-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .ac-hero-text h1 {
    font-size: 2.5rem;
  }
  
  .ac-hero-badges {
    justify-content: center;
  }
  
  .ac-hero-buttons {
    justify-content: center;
  }
  
  .ac-about-grid {
    grid-template-columns: 1fr;
  }
  
  .ac-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .ac-service-detail {
    grid-template-columns: 1fr;
  }
  
  .ac-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .ac-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ac-process-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .ac-hero {
    min-height: auto;
    padding: 40px 0;
  }
  
  .ac-hero-text h1 {
    font-size: 2rem;
  }
  
  .ac-section {
    padding: 50px 15px;
  }
  
  .ac-section-header h2 {
    font-size: 1.8rem;
  }
  
  .ac-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }
  
  .ac-services-grid {
    grid-template-columns: 1fr;
  }
  
  .ac-footer-grid {
    grid-template-columns: 1fr;
  }
  
  .ac-page-banner h1 {
    font-size: 2rem;
  }
  
  .ac-form-row {
    grid-template-columns: 1fr;
  }
  
  .ac-top-bar-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .ac-top-bar-inner > div:first-child {
    font-size: 12px;
  }

  .ac-top-bar .ac-badge {
    font-size: 10px;
    padding: 3px 10px;
    display: inline-block;
    white-space: normal;
    line-height: 1.3;
  }

  .ac-nav-auth {
    position: static !important;
    top: auto !important;
    right: auto !important;
    height: auto !important;
    display: flex;
    justify-content: center;
    padding: 6px 10px;
    background: var(--ac-primary-dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .ac-cta h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .ac-hero-text h1 {
    font-size: 1.7rem;
  }
  
  .ac-stats {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 20px;
  }
  
  .ac-stat-number {
    font-size: 1.8rem;
  }
  
  .ac-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .ac-process-grid {
    grid-template-columns: 1fr;
  }
  
  .ac-areas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--ac-light);
}

::-webkit-scrollbar-thumb {
  background: var(--ac-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ac-primary-dark);
}

/* ===== LOGO SIZING ===== */
.site-header .custom-logo-link img,
.site-header .ast-site-identity img,
.site-header .custom-logo,
.ast-site-identity .custom-logo-link img {
  max-height: 70px !important;
  width: auto !important;
  height: auto !important;
  max-width: 200px !important;
}

.site-header .ast-site-identity {
  max-width: 250px;
}

.ast-site-identity .site-title {
  display: none !important;
}

/* ===== HIDE CUSTOM BACK-TO-TOP (use Astra's built-in) ===== */
.ac-back-to-top {
  display: none !important;
}

/* ===== WP OVERRIDES ===== */
.entry-content {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.ast-separate-container .ast-article-single {
  padding: 0;
}

.ast-separate-container .ast-article-post {
  padding: 0;
}

.ast-separate-container #primary {
  padding: 0;
  margin: 0;
}

.ast-no-sidebar #primary {
  max-width: 100%;
}

.site-content {
  padding: 0;
}

.ast-separate-container .entry-content {
  padding: 0;
}

.ast-page-builder-template .site-content > .ast-container {
  max-width: 100%;
  padding: 0;
}

/* ===== HEADER AUTH (UCO Login/Register) - inside top bar ===== */
.ac-header-auth {
  display: none;
}

.ac-top-bar .user_nav {
  display: flex;
  align-items: center;
}

.ac-top-bar .user_nav ul.menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.ac-top-bar .user_nav ul.menu li {
  margin: 0;
  padding: 0;
}

.ac-top-bar .search-link,
.ac-top-bar .search-link i {
  color: #fff !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all 0.3s ease;
  padding: 3px 6px !important;
}

.ac-top-bar .search-link:hover,
.ac-top-bar .search-link:hover i {
  color: var(--ac-secondary-light) !important;
}

.ac-top-bar .bp-login-link,
.ac-top-bar .bp-login-link span,
.ac-top-bar .bp-login-link i {
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none !important;
}

.ac-top-bar .bp-login-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 12px !important;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid var(--ac-secondary) !important;
  background: var(--ac-secondary) !important;
}

.ac-top-bar .bp-login-link i,
.ac-top-bar .bp-login-link span {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.ac-top-bar .bp-login-link:hover {
  background: var(--ac-secondary-light) !important;
  border-color: var(--ac-secondary-light) !important;
  color: #fff !important;
}

.ac-top-bar .bp-login-link:hover span,
.ac-top-bar .bp-login-link:hover i {
  color: #fff !important;
}

.ac-top-bar .wrpRegisterLink .bp-login-link {
  background: var(--ac-secondary) !important;
  border-color: var(--ac-secondary) !important;
}

.ac-top-bar .wrpRegisterLink .bp-login-link:hover {
  background: var(--ac-secondary-light) !important;
  border-color: var(--ac-secondary-light) !important;
  color: #fff !important;
}

.ac-top-bar .wrpRegisterLink .bp-login-link:hover span {
  color: #fff !important;
}

/* Hide UCO user icon, keep search icon white */
.ac-top-bar .icon-user {
  display: none !important;
}

.ac-top-bar .icon-search {
  filter: brightness(0) invert(1) !important;
}

/* Force override UCO plugin orange everywhere */
.user_nav .bp-login-link,
.user_nav .bp-login-link i,
.user_nav .bp-login-link span,
.user_nav .icon-user,
.bp-login-link .icon-user {
  color: inherit !important;
}

/* Hide UCO plugin's gavel banner header - use our ac-page-banner instead */
.bp-header.bp-header-simple {
  display: none !important;
}

/* Make page banner and footer full width inside UCO container */
.bp-content .ac-page-banner,
.bp-content .ac-footer,
.bp-container .ac-page-banner,
.bp-container .ac-footer {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

/* Hide the duplicate UCO auction catalogue list below footer */
#auction-list-section {
  display: none !important;
}

/* Ensure UCO main container doesn't clip full-width elements */
.bp-main-container,
.bp-container,
.bp-content,
.bp-content_archive {
  overflow: visible !important;
}

/* Hide Login, Register, Manual Auctions, Profile from mobile fallback menu */
.page-item-48,
.page-item-49,
.page-item-44,
.page-item-47 {
  display: none !important;
}
