/* Base Variables */
:root {
  /* Colors - Legal Palette */
  --primary: #0A192F;
  /* Deep Navy Baseline */
  --secondary: #112240;
  /* Dark Blue Overlay */
  --accent: #B08B57;
  /* Subtle Legal Gold / Neutral Accent for Trust */
  --text-main: #333333;
  --text-muted: #555555;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --white: #FFFFFF;
  --error: #DC3545;
  --success: #28A745;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --section-padding: 80px 0;
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset Structure */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.container-sm {
  max-width: 800px;
}

.section-padding {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.d-block {
  display: block;
}

.d-none {
  display: none !important;
}

.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #927346;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 5px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.desktop-nav ul {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  display: none;
}

@media (min-width: 992px) {
  .phone-link {
    display: block;
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

@media (max-width: 991px) {
  .desktop-nav {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transform: translateY(-150%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 999;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
}

.mobile-nav .btn-primary {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
  margin-top: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at right top, rgba(176, 139, 87, 0.15), transparent 40%),
    radial-gradient(circle at left bottom, rgba(17, 34, 64, 0.8), transparent 40%);
  z-index: 1;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

@media (min-width: 992px) {
  .hero-split {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 6rem 0;
  }
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.label-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--white);
}

.hero .btn-primary:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-left: -15px;
  object-fit: cover;
}

.trust-avatars img:first-child {
  margin-left: 0;
}

.trust-count {
  background: var(--accent);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  border: 2px solid var(--primary);
  margin-left: -15px;
  z-index: 4;
}

.trust-text span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.hero-image-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
}

@media (min-width: 992px) {
  .hero-image-main img {
    aspect-ratio: 4/5;
  }
}

.hero-floating-card {
  position: absolute;
  background: var(--bg-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  color: var(--text-main);
  animation: float 6s ease-in-out infinite;
}

.hero-floating-card.top-right {
  top: 10%;
  right: -10%;
}

.hero-floating-card.bottom-left {
  bottom: 10%;
  left: -10%;
}

@media (max-width: 991px) {
  .hero-floating-card.top-right {
    right: 0;
    top: -20px;
  }

  .hero-floating-card.bottom-left {
    left: 0;
    bottom: -20px;
  }
}

.hero-floating-card .icon {
  font-size: 1.5rem;
  background: var(--bg-light);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.card-content strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.2;
}

.card-content span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.delay-1 {
  animation-delay: 3s;
}

/* About Section */
.about-wrapper {
  display: flex;
  flex-direction: column;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  max-height: 500px;
}

@media (max-width: 991px) {
  .hero-image-wrapper {
    display: none;
  }

  .about-image {
    display: none;
  }
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  border-left: 4px solid var(--accent);
}

.feature-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(176, 139, 87, 0.3);
}

.service-image {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-content {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Mobile Scrolling optimizations */
@media (max-width: 991px) {

  .about-features,
  .services-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding-bottom: 1rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    align-items: stretch !important;
  }

  .about-features::-webkit-scrollbar,
  .services-grid::-webkit-scrollbar {
    display: none !important;
  }

  .feature-card,
  .service-card {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    scroll-snap-align: center !important;
    margin-bottom: 0 !important;
  }
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .process-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent-light);
  z-index: 1;
}

.step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.step-number {
  flex: 0 0 40px;
  height: 40px;
  background-color: var(--white);
  border: 2px solid var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.step-content h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.step-content p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Consultation Preparation Box */
.prep-box {
  background-color: var(--primary);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  color: var(--white);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.prep-box h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.prep-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.prep-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.prep-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--white);
}

.prep-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Testimonials Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
  color: #fbbf24;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card .quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--primary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-light);
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0;
  font-family: var(--font-display);
}

.testimonial-card .author span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: normal;
  margin-top: 0.25rem;
}

/* Brute-force Mobile Testimonial Carousel for Netlify */
@media (max-width: 991px) {
  .testimonial-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding-bottom: 1rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    align-items: stretch !important;
  }

  .testimonial-grid::-webkit-scrollbar {
    display: none !important;
  }

  .testimonial-card {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    scroll-snap-align: center !important;
    margin-bottom: 0 !important;
    padding: 1.5rem !important;
  }

  .testimonial-card .quote {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
  }
}

/* FAQ Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.accordion-header .icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.accordion-header.active .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--white);
}

.accordion-content p {
  padding: 0 1.5rem 1.5rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Contact/Form Section */
.mobile-contact-header {
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .mobile-contact-header {
    text-align: left;
    max-width: 50%;
  }
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: -6rem;
    /* Pulls grid up next to the header on desktop */
  }
}

@media (max-width: 991px) {
  .contact-info {
    order: 2;
    /* Forces contact info below the form on mobile */
  }

  .form-container {
    order: 1;
    /* Forces form above the contact info on mobile */
  }

  .prep-box {
    display: none;
    /* Hide prep box to save vertical space on mobile */
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.form-container {
  background: #FFFFFF;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.form-group.half {
  width: 50%;
  padding: 0 10px;
}

@media (max-width: 767px) {
  .form-group.half {
    width: 100%;
  }
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary);
}

.required {
  color: var(--error);
}

input,
select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: #FAFAFA;
  color: var(--text-main);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(176, 139, 87, 0.1);
}

select {
  appearance: none;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSI2IDkgMTIgMTUgMTggOSI+PC9wb2x5bGluZT48L3N2Zz4=');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
}

.btn-block {
  margin-top: 1rem;
  position: relative;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s linear infinite;
  position: absolute;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ai-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
  animation: fade-in 0.3s ease;
}

.form-message.success {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success);
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-message.error {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--error);
  border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.container-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.footer-logo p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

/* Simple Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideRight 0.8s forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(30px);
  animation: slideLeft 0.8s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}