/* ================================================
   VetCare - Veterinary Clinic Landing Page
   Modern, Clean, Professional Design
   ================================================ */

/* ========== CSS VARIABLES ========== */
:root {
  /* Colors */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;

  --primary: #2aa567;
  --primary-light: #34d884;
  --primary-dark: #1e8a55;
  --primary-gradient: linear-gradient(135deg, #2aa567 0%, #34d884 100%);

  --accent: #4da8da;
  --accent-light: #7ec8e3;

  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  --text-primary: #1a2e35;
  --text-secondary: #4a6670;
  --text-light: #7a9aa5;
  --text-white: #ffffff;

  --bg-white: #ffffff;
  --bg-light: #f8fffe;
  --bg-section: #f0faf5;
  --bg-dark: #0f2b1d;

  --border: #e2efe8;
  --shadow-sm: 0 1px 3px rgba(42, 165, 103, 0.06);
  --shadow-md: 0 4px 16px rgba(42, 165, 103, 0.08);
  --shadow-lg: 0 8px 32px rgba(42, 165, 103, 0.12);
  --shadow-xl: 0 16px 48px rgba(42, 165, 103, 0.16);

  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--primary-gradient);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(42, 165, 103, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 165, 103, 0.4);
}

.btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp) 0%, #20bd5a 100%);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn--white {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn--outline-white {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255,255,255,0.5);
}

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

/* ========== SECTION COMMON ========== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-50);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-primary);
  margin-bottom: 16px;
  border: 1px solid var(--green-200);
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--primary);
  animation: pawBounce 3s ease-in-out infinite;
}

@keyframes pawBounce {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg) scale(1.1); }
  75% { transform: rotate(8deg) scale(1.05); }
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--primary);
}

.nav__list {
  display: flex;
  gap: 8px;
}

.nav__link {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  background: var(--green-50);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition);
}

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

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

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

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 43, 29, 0.88) 0%,
    rgba(42, 165, 103, 0.65) 50%,
    rgba(15, 43, 29, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
  border-radius: 50px;
  color: var(--green-200);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero__badge i {
  color: var(--green-300);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.hero__title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--green-300) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.hero__stat-plus {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-300);
}

.hero__stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

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

/* ========== SERVICES ========== */
.services {
  padding: var(--section-padding);
  background: var(--bg-light);
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-200);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--primary-gradient);
  color: var(--text-white);
  border-color: transparent;
  transform: scale(1.05);
}

.service-card__title {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-card__link i {
  font-size: 0.75rem;
  transition: var(--transition);
}

.service-card:hover .service-card__link i {
  transform: translateX(4px);
}

/* ========== WHY US ========== */
.why-us {
  padding: var(--section-padding);
  background: var(--bg-white);
}

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

.why-us__card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-section);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-us__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
}

.why-us__icon {
  width: 72px;
  height: 72px;
  background: var(--primary-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--text-white);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.why-us__card:hover .why-us__icon {
  transform: scale(1.08) rotate(-3deg);
}

.why-us__card h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.why-us__card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg-section);
  overflow: hidden;
}

.testimonials__carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  min-width: 100%;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-card__stars i {
  color: #f59e0b;
  font-size: 1rem;
}

.testimonial-card__text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
  position: relative;
  padding-left: 24px;
}

.testimonial-card__text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 3rem;
  color: var(--primary);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  background: var(--green-50);
  border: 2px solid var(--green-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.testimonial-card__author strong {
  display: block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.testimonial-card__author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--green-200);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ========== GALLERY ========== */
.gallery {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 43, 29, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay i {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 8px;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery__item:hover .gallery__overlay i {
  transform: translateY(0);
}

.gallery__overlay span {
  color: var(--text-white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(10px);
  transition: var(--transition);
  transition-delay: 0.05s;
}

.gallery__item:hover .gallery__overlay span {
  transform: translateY(0);
}

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--green-700) 40%, var(--primary) 100%);
  z-index: 0;
}

.cta-section__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section__icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-white);
  margin: 0 auto 28px;
  animation: pawBounce 3s ease-in-out infinite;
}

.cta-section__title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-section__title span {
  color: var(--green-200);
}

.cta-section__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-section__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ========== CONTACT ========== */
.contact {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.contact__card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
}

.contact__card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact__card h3 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact__card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact__card a {
  color: var(--primary);
  font-weight: 500;
}

.contact__card a:hover {
  text-decoration: underline;
}

.contact__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__brand .header__logo .logo-text {
  color: var(--text-white);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.footer__links ul li {
  margin-bottom: 10px;
}

.footer__links ul li a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer__links ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer__contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__contact ul li i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.footer__contact ul li a {
  color: rgba(255, 255, 255, 0.55);
}

.footer__contact ul li a:hover {
  color: var(--primary-light);
}

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--text-white);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
}

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

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

.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--bg-white);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: var(--transition);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--bg-white);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 998;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for cards */
.services__grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.services__grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.services__grid .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.services__grid .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.services__grid .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.services__grid .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.services__grid .animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.services__grid .animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }

.why-us__grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.why-us__grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.why-us__grid .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.why-us__grid .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.why-us__grid .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.why-us__grid .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-white);
    padding: 100px 32px 40px;
    transition: var(--transition-slow);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .header__nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    display: block;
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  .hamburger {
    display: flex;
  }

  .header__actions .btn {
    display: none;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery__item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .hero__stats {
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-padding: 72px 0;
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .hero__stat {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .hero__stat-label {
    margin-top: 0;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery__item--large {
    grid-column: span 1;
  }

  .cta-section__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonial-card {
    padding: 28px 24px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }

  .scroll-top {
    right: 82px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.75rem;
  }
}
