/* ============================================================
   ANA · PASEADORA DE PERROS — Global Styles
   Paleta: Cream #f5f0e8 | Moss #4a6741 | Terra #c96a3b | Brown #2c1810
   ============================================================ */

:root {
  --cream:         #f5f0e8;
  --cream-dark:    #ede6d7;
  --cream-border:  #d4c4a8;
  --moss:          #4a6741;
  --moss-light:    #6b8f62;
  --moss-dark:     #3a5232;
  --terra:         #c96a3b;
  --terra-light:   #e08560;
  --terra-dark:    #a8522d;
  --brown:         #2c1810;
  --brown-light:   #6b4c3b;
  --sand:          #d4c4a8;
  --white-warm:    #faf8f4;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

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

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1        { transition-delay: 0.1s; }
.reveal-delay-2        { transition-delay: 0.2s; }
.reveal-delay-3        { transition-delay: 0.3s; }
.reveal-delay-4        { transition-delay: 0.4s; }

/* ============================================================
   PHOTO PLACEHOLDERS
   ============================================================ */
.photo-placeholder {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--sand) 60%, #b8c9b0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  text-align: center;
  padding: 1.5rem;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.08) 10px,
    rgba(255,255,255,0.08) 20px
  );
  pointer-events: none;
}

/* ============================================================
   GALLERY GRID  (5 fotos asimétricas)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 10px;
}

.gallery-grid .photo-1 { grid-column: 1;     grid-row: 1 / 3; }
.gallery-grid .photo-2 { grid-column: 2;     grid-row: 1; }
.gallery-grid .photo-3 { grid-column: 3;     grid-row: 1; }
.gallery-grid .photo-4 { grid-column: 2;     grid-row: 2; }
.gallery-grid .photo-5 { grid-column: 3;     grid-row: 2; }

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }
  .gallery-grid .photo-1 { grid-column: 1 / 3; grid-row: 1; }
  .gallery-grid .photo-2 { grid-column: 1;     grid-row: 2; }
  .gallery-grid .photo-3 { grid-column: 2;     grid-row: 2; }
  .gallery-grid .photo-4 { grid-column: 1;     grid-row: 3; }
  .gallery-grid .photo-5 { grid-column: 2;     grid-row: 3; }
}

/* ============================================================
   LIVE WALK CARD DOT
   ============================================================ */
.live-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0   rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}

/* Floating animation for hero cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.animate-float { animation: float 4.5s ease-in-out infinite; }
.animate-float-delay { animation: float 4.5s ease-in-out infinite 1.5s; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white-warm);
  border: 1.5px solid var(--cream-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.35s ease;
  cursor: default;
}

.service-card:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--white-warm);
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(201,106,59,0.28);
}

.service-card:hover p,
.service-card:hover .service-label { color: rgba(250,248,244,0.8); }

.service-card:hover .service-price-main { color: var(--white-warm); }

/* ============================================================
   STEP NUMBERS
   ============================================================ */
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  z-index: 0;
  user-select: none;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
  background: var(--white-warm);
  border: 2px solid var(--cream-border);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(44,24,16,0.1);
}

.pricing-card.featured {
  background: var(--moss);
  border-color: var(--moss-dark);
  color: var(--cream);
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--terra);
  color: #fff;
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,106,59,0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--brown);
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: var(--brown);
  color: var(--cream);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245,240,232,0.5);
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-ghost-light:hover {
  background: rgba(245,240,232,0.15);
  border-color: var(--cream);
}

/* ============================================================
   NAV LINKS
   ============================================================ */
.nav-link {
  color: var(--brown);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terra);
  transition: width 0.3s ease;
}

.nav-link:hover          { color: var(--terra); }
.nav-link:hover::after   { width: 100%; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 1.5rem 1.5rem 2rem;
  border-bottom: 1px solid var(--cream-border);
  box-shadow: 0 12px 32px rgba(44,24,16,0.1);
}

.mobile-menu.open { display: flex; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brown-light);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--cream);
  border: 1.5px solid var(--cream-border);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--brown);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 4px rgba(201,106,59,0.1);
}

.form-input::placeholder { color: var(--sand); }

textarea.form-input {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

/* ============================================================
   STAR RATING (interactive, reviews page)
   ============================================================ */
.star-picker {
  display: flex;
  gap: 0.25rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-picker input { display: none; }

.star-picker label {
  font-size: 2rem;
  color: var(--sand);
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  user-select: none;
}

.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input:checked ~ label {
  color: #f59e0b;
}

.star-picker label:hover { transform: scale(1.15); }

/* ============================================================
   FLOATING ACTION BUTTON (FAB)
   ============================================================ */
.fab-container {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.75rem;
}

.fab-main {
  width: 58px;
  height: 58px;
  background: var(--terra);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(201,106,59,0.42);
  transition: background 0.3s, transform 0.3s;
  color: #fff;
  font-size: 1.25rem;
}

.fab-main:hover { transform: scale(1.07); }

.fab-sub {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.fab-sub.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.fab-sub-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: transform 0.2s;
  text-decoration: none;
  color: #fff;
}

.fab-sub-btn:hover { transform: scale(1.12); }

.fab-label {
  background: var(--brown);
  color: var(--cream);
  font-size: 0.73rem;
  font-family: 'DM Sans', sans-serif;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--cream-dark);
  border: 1px solid var(--cream-border);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  color: var(--brown-light);
  white-space: nowrap;
}

/* ============================================================
   DECORATIVE DIVIDER
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sand), transparent);
  margin: 0 auto;
  max-width: 800px;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
  background: var(--white-warm);
  border: 1.5px solid var(--cream-border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44,24,16,0.08);
}

/* ============================================================
   REVIEW SUBMITTED CARD (reviews page)
   ============================================================ */
.review-card {
  background: var(--white-warm);
  border: 1.5px solid var(--cream-border);
  border-radius: 16px;
  padding: 1.5rem;
}

/* ============================================================
   CONTACT METHOD CARDS
   ============================================================ */
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.contact-method:hover { transform: translateX(4px); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-display { font-family: 'Playfair Display', serif; }
.stars        { color: #f59e0b; letter-spacing: 0.1em; }
