/* ========================================
   LabTech-RH - Static Site Styles
   ======================================== */

/* CSS Variables */
:root {
  /* Core brand colors */
  --primary: hsl(345, 65%, 33%);
  --primary-light: hsl(345, 55%, 45%);
  --primary-dark: hsl(345, 65%, 25%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  --secondary: hsl(220, 10%, 35%);
  --secondary-foreground: hsl(0, 0%, 100%);
  
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 15%, 20%);
  
  --muted: hsl(220, 15%, 96%);
  --muted-foreground: hsl(220, 10%, 45%);
  
  --card: hsl(0, 0%, 100%);
  --border: hsl(220, 15%, 90%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 30px -5px hsla(220, 15%, 20%, 0.1);
  --shadow-lg: 0 10px 40px -10px hsla(220, 15%, 20%, 0.15);
  --shadow-hover: 0 20px 50px -12px hsla(345, 65%, 33%, 0.25);
  
  /* Typography */
  --font-heading: sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --container: 1200px;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', var(--font-body), sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', var(--font-heading), sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-foreground);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -12px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
}

.btn-full {
  width: 100%;
}

/* Cards */
.card-professional {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.5s ease;
  box-shadow: var(--shadow);
}

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

.card-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.card-primary a {
  color: rgba(255, 255, 255, 0.9);
}

.card-primary a:hover {
  color: var(--primary-foreground);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.5s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 48px;
  transition: transform 0.3s ease;
}

.navbar-logo:hover img {
  transform: scale(1.02);
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  font-weight: 500;
  color: var(--foreground);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.navbar-link:hover {
  color: var(--primary);
  opacity: 1;
  transform: translateY(-2px);
}

.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-mobile {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}

.navbar-mobile.active {
  display: block;
}

.navbar-mobile .container {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.navbar-mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.navbar-mobile-link:hover {
  color: var(--primary);
}

@media (min-width: 1024px) {
  .navbar-menu {
    display: flex;
  }
  
  .navbar-toggle {
    display: none;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(220, 10%, 35%, 0.95), hsla(220, 10%, 35%, 0.85), hsla(345, 65%, 33%, 0.8));
}

.hero-decorative {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(139, 30, 63, 0.1);
  top: 20%;
  right: 20%;
  animation: float 8s ease-in-out infinite;
}

.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(139, 30, 63, 0.1);
  bottom: 20%;
  left: 20%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
}

.hero-text {
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 30, 63, 0.2);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-family: var(--font-heading);
  font-weight: 700;
}

.hero-highlight {
  position: relative;
  display: inline-block;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  animation: scaleIn 0.8s ease-out 0.8s both;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 30, 63, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-foreground);
  font-family: var(--font-heading);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-indicator-inner {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-foreground);
  border-radius: 50%;
  animation: scrollDot 2s ease-in-out infinite;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(139, 30, 63, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
}

.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.about-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), rgba(255,255,255,0.95), var(--background));
}

.about .container {
  position: relative;
  z-index: 10;
}

.about-content {
  display: grid;
  gap: 3rem;
  margin-bottom: 5rem;
}

.about-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text strong {
  color: var(--foreground);
}

.about-cards {
  display: grid;
  gap: 1.5rem;
}

.about-cards .card-professional .card-icon {
  width: 56px;
  height: 56px;
  background: rgba(139, 30, 63, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.about-cards .card-professional:hover .card-icon {
  background: rgba(139, 30, 63, 0.2);
}

.about-cards .card-professional h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.about-cards .card-professional p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.values {
  margin-top: 3rem;
}

.values-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(220, 220, 230, 0.5);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  background: var(--muted);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 30, 63, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-card h4 {
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  background: rgba(220, 220, 230, 0.3);
}

.services-grid {
  display: grid;
  gap: 2rem;
}

.service-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background: rgba(139, 30, 63, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(139, 30, 63, 0.2) 0%, rgba(139, 30, 63, 0.05) 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients {
  overflow: hidden;
}

.clients-carousel-wrapper {
  position: relative;
  margin: 2rem 0 4rem;
}

.clients-carousel {
  overflow: hidden;
}

.clients-track {
  display: flex;
  animation: scroll 25s linear infinite;
}

.client-logo-wrapper {
  flex-shrink: 0;
  width: 160px;
  height: 96px;
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.5s ease;
  cursor: pointer;
}

.client-logo-wrapper:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.clients-fade-left,
.clients-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 128px;
  pointer-events: none;
}

.clients-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}

.clients-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}

.clients-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.clients-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.clients-stat-label {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .client-logo-wrapper {
    width: 208px;
    height: 128px;
    margin: 0 3rem;
  }
  
  .clients-stats {
    gap: 4rem;
  }
  
  .clients-stat-value {
    font-size: 2.5rem;
  }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
}

.cta-decorative {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(60px);
}

.cta-blob-1 {
  width: 384px;
  height: 384px;
  top: 25%;
  right: -80px;
}

.cta-blob-2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -80px;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.cta > .cta-content > p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-benefits {
  display: grid;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: left;
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-benefit svg {
  flex-shrink: 0;
  color: var(--primary-foreground);
}

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

@media (min-width: 640px) {
  .cta-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  background: rgba(220, 220, 230, 0.3);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 30, 63, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-icon-light {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.card-primary .contact-info-item h3 {
  color: var(--primary-foreground);
}

.contact-info-item p,
.contact-info-item a {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.contact-info-item a:hover {
  color: var(--primary);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 30, 63, 0.1);
}

.form-group textarea {
  resize: none;
}

.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  transition: border-color 0.3s ease;
}

.file-upload:hover .file-upload-content {
  border-color: var(--primary);
}

.file-hint {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 48px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-foreground);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--primary);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--secondary-foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--secondary-foreground);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

@keyframes scaleIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes scrollDot {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons a {
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons a {
    width: 100%;
  }
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #16a34a;
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px) scale(.95);
  pointer-events: none;
  transition: all .4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-icon {
  font-size: 22px;
}

.toast-text {
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

.form-success,
.form-error {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
}

.form-success {
  background: #e6f9f0;
  color: #0f5132;
}

.form-error {
  background: #fdecea;
  color: #842029;
}
