/**
 * Landing page — Atenciones veterinarias a domicilio
 * Colores vivos relacionados con mascotas y animales
 */

:root {
  --landing-teal: #0d9488;
  --landing-teal-light: #14b8a6;
  --landing-amber: #f59e0b;
  --landing-amber-light: #fbbf24;
  --landing-coral: #f97316;
  --landing-coral-light: #fb923c;
  --landing-green: #10b981;
  --landing-mint: #34d399;
  --landing-sage: #6ee7b7;
  --landing-cream: #fffbeb;
  --landing-warm-white: #fef3c7;
}

/* ========== Carousel ========== */
.landing-carousel-section {
  position: relative;
  height: 65vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

.landing-carousel-section .carousel,
.landing-carousel-section .carousel-inner,
.landing-carousel-section .carousel-item {
  height: 100%;
}

.carousel-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-slide-gradient {
  background: linear-gradient(135deg, var(--landing-teal) 0%, #0f766e 50%, #115e59 100%);
}

.carousel-slide-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(52, 211, 153, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.carousel-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1rem 4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
}

.carousel-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-body {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 0.8;
}

/* ========== Hero CTA ========== */
.landing-hero-cta {
  background: linear-gradient(180deg, var(--landing-cream) 0%, #fff 100%);
}

.landing-main-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.landing-lead {
  font-size: 1.15rem;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.landing-cta {
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-amber {
  background: var(--landing-amber);
  border-color: var(--landing-amber);
  color: #fff;
}

.btn-amber:hover {
  background: #d97706;
  border-color: #d97706;
  color: #fff;
}

/* ========== Trust cards ========== */
.landing-trust {
  background: #fff;
}

.trust-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.15);
}

.trust-icon {
  font-size: 2.5rem;
  color: var(--landing-teal);
  margin-bottom: 1rem;
}

.trust-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.trust-card p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

/* ========== Services ========== */
.landing-services {
  background: linear-gradient(180deg, #fff 0%, var(--landing-cream) 50%, #fff 100%);
}

.landing-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #1e293b;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13, 148, 136, 0.12);
}

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

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--landing-teal-light) 0%, var(--landing-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.service-card-desc {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.service-card-price {
  font-weight: 700;
  color: var(--landing-teal);
  font-size: 1rem;
}

/* ========== Booking section ========== */
.landing-booking {
  background: linear-gradient(135deg, var(--landing-teal) 0%, #0f766e 50%, #115e59 100%);
}

.booking-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.booking-form-card .form-control,
.booking-form-card .form-select {
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  padding: 0.65rem 1rem;
}

.booking-form-card .form-control:focus,
.booking-form-card .form-select:focus {
  border-color: var(--landing-teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

/* ========== Coverage ========== */
.landing-coverage {
  background: #fff;
}

.coverage-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--landing-cream);
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ========== CTA final ========== */
.landing-cta-final {
  background: linear-gradient(135deg, var(--landing-coral) 0%, #ea580c 100%);
}

.landing-cta-final .btn-light {
  font-weight: 600;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
}

.landing-cta-final .btn-light:hover {
  background: var(--landing-cream);
  color: var(--landing-coral);
}

/* ========== Footer override for landing ========== */
.landing-page .footer-paw {
  background: #1e293b;
  color: rgba(255, 255, 255, 0.8);
}
