/* ============================================
   URBAN PAW STAY — STYLES
   Design: Clean, minimal, premium
   ============================================ */

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

:root {
  --beige: #F5F1ED;
  --beige-dark: #EDE8E2;
  --beige-mid: #E8E2DA;
  --charcoal: #2E2E2E;
  --charcoal-light: #4A4A4A;
  --sage: #7A9E9F;
  --sage-dark: #658485;
  --sage-light: #A8C4C5;
  --white: #FFFFFF;
  --text-muted: #888;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 12px rgba(46,46,46,0.06);
  --shadow-md: 0 8px 32px rgba(46,46,46,0.10);
  --shadow-lg: 0 20px 60px rgba(46,46,46,0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--beige);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

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

/* --- ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for child elements */
.features__grid .fade-up:nth-child(1) { transition-delay: 0s; }
.features__grid .fade-up:nth-child(2) { transition-delay: 0.08s; }
.features__grid .fade-up:nth-child(3) { transition-delay: 0.16s; }
.features__grid .fade-up:nth-child(4) { transition-delay: 0.24s; }
.features__grid .fade-up:nth-child(5) { transition-delay: 0.32s; }
.features__grid .fade-up:nth-child(6) { transition-delay: 0.40s; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn--primary {
  background: var(--charcoal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--charcoal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,46,46,0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid rgba(46,46,46,0.2);
}
.btn--ghost:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* --- SECTION HEADERS --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: rgba(122,158,159,0.12);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(245, 241, 237, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(46,46,46,0.08);
  padding: 14px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-paw { font-size: 1.3rem; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122,158,159,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__content { max-width: 560px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: rgba(122,158,159,0.12);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero__headline em {
  font-style: italic;
  color: var(--sage-dark);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 420px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__visual { position: relative; }
.hero__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero__img-wrap img {
  transition: transform 0.6s ease;
}
.hero__img-wrap:hover img { transform: scale(1.03); }

.hero__badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(245,241,237,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.badge__icon { font-size: 1.5rem; }
.hero__badge strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}
.hero__badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
}
.hero__scroll-hint span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: var(--charcoal);
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Stagger hero animations */
.hero .fade-up:nth-child(1) { transition-delay: 0.1s; }
.hero .fade-up:nth-child(2) { transition-delay: 0.2s; }
.hero .fade-up:nth-child(3) { transition-delay: 0.3s; }
.hero .fade-up:nth-child(4) { transition-delay: 0.4s; }
.hero__visual.fade-up { transition-delay: 0.3s; }

/* ============================================
   TRUST
   ============================================ */
.trust {
  padding: 100px 0;
  background: var(--charcoal);
  color: var(--white);
}
.trust__inner { text-align: center; }
.trust__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  background: rgba(122,158,159,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.trust__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.trust__body {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 60px;
  line-height: 1.7;
}
.trust__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat__divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

/* ============================================
   SPACE
   ============================================ */
.space { padding: 120px 0; }

.space__gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.gallery__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  transition: transform var(--transition);
}
.gallery__item:hover { transform: scale(0.98); }

/* ============================================
   FEATURES
   ============================================ */
.features { padding: 120px 0; background: var(--beige-dark); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how { padding: 120px 0; }

.how__steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 64px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--beige-mid);
  line-height: 1;
  margin-bottom: 16px;
}
.step__content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.step__content p {
  font-size: 0.875rem;
  color: var(--charcoal-light);
  line-height: 1.6;
}
.step__arrow {
  font-size: 1.5rem;
  color: var(--sage);
  padding-top: 44px;
  flex-shrink: 0;
}
.how__cta { text-align: center; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { padding: 120px 0; background: var(--beige-dark); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-card--featured {
  background: var(--charcoal);
  transform: translateY(-12px);
}
.review-card--featured:hover { transform: translateY(-16px); }
.review-card--featured .review-card__text { color: rgba(255,255,255,0.8); }
.review-card--featured .review-card__author strong { color: var(--white); }
.review-card--featured .review-card__author span { color: rgba(255,255,255,0.5); }
.review-card--featured .review-card__avatar {
  background: var(--sage);
  color: var(--white);
}

.review-card__stars {
  color: #F5B731;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-card__text {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
  flex-shrink: 0;
}
.review-card__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}
.review-card__author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   PRICING
   ============================================ */
.pricing { padding: 120px 0; }
.pricing__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pricing__text {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  line-height: 1.7;
  margin: 20px 0 36px;
  max-width: 440px;
}
.pricing__card { }
.pricing__card-inner {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}
.pricing__card-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.pricing__card-inner ul {
  list-style: none;
  margin-bottom: 36px;
}
.pricing__card-inner li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pricing__card-inner li:last-child { border-bottom: none; }
.pricing__card-inner li span {
  color: var(--sage-light);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pricing__card-inner .btn--primary {
  background: var(--sage);
  color: var(--white);
}
.pricing__card-inner .btn--primary:hover {
  background: var(--sage-dark);
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-final {
  padding: 120px 0;
  background: var(--beige-dark);
  text-align: center;
}
.cta-final__inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-final__paw {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.cta-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.cta-final p {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  margin-bottom: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0;
  background: var(--charcoal);
  color: var(--white);
}
.footer__inner { text-align: center; }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer__brand .logo-text { color: var(--white); }
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulseWA 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  animation: none;
}
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .how__steps { flex-direction: column; gap: 0; }
  .step { width: 100%; }
  .step__arrow {
    transform: rotate(90deg);
    padding: 8px 0;
    display: block;
    text-align: center;
    width: 100%;
  }
  .reviews__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .review-card--featured { transform: none; }
  .review-card--featured:hover { transform: translateY(-4px); }
  .pricing__inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing__text { max-width: 100%; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .hero__img-wrap { aspect-ratio: 16/9; max-height: 380px; }
  .space__gallery { grid-template-columns: 1fr; }
  .gallery__side { grid-template-columns: repeat(2, 1fr); }
  .gallery__main { aspect-ratio: 16/10; }
  .features__grid { grid-template-columns: 1fr; }
  .trust__stats { gap: 24px; }
  .stat__divider { display: none; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__headline { font-size: 2.4rem; }
  .gallery__side { grid-template-columns: repeat(2, 1fr); }
  .pricing__card-inner { padding: 32px 24px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}
