/* ==========================================================================
   STYLE SHEET: ISA FITNESS SEO LINKS PAGE (LIGHT FRESH THEME)
   Author: Antigravity AI
   Description: Premium light clinical/fitness theme matching the brand colors
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
  /* Brand Color Palette */
  --color-primary: #27287b;
  --color-primary-rgb: 39, 40, 123;
  --color-secondary: #169c95;
  --color-secondary-rgb: 22, 156, 149;
  --color-tertiary: #87458a;
  --color-tertiary-rgb: 135, 69, 138;
  
  /* Neutral Palette (Light Clinical Base) */
  --bg-light: #f6f5fa;
  --card-bg: rgba(255, 255, 255, 0.78);
  --card-border: rgba(39, 40, 123, 0.07);
  --card-border-hover: rgba(22, 156, 149, 0.35);
  
  /* Text Colors */
  --text-primary: #1b1b25;
  --text-secondary: #474651;
  --text-muted: #777682;
  
  /* Design Tokens */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 10px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Soft Healthy Shadows */
  --shadow-sm: 0 4px 12px rgba(39, 40, 123, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(39, 40, 123, 0.06);
  --shadow-lg: 0 20px 40px -10px rgba(39, 40, 123, 0.08);
  --shadow-glow-teal: 0 10px 20px -5px rgba(22, 156, 149, 0.2);
  --shadow-glow-purple: 0 10px 20px -5px rgba(135, 69, 138, 0.2);
}

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

/* SEO visually hidden utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1rem;
}

/* --- Animated Aurora Pastel Background --- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, #f6f5fa 0%, #fcfbff 100%);
}

.aurora-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  animation: float-glow 22s infinite alternate ease-in-out;
}

.glow-1 {
  top: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(221, 222, 255, 0.8) 0%, rgba(221, 222, 255, 0) 70%);
  animation-duration: 28s;
}

.glow-2 {
  bottom: -20%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(180, 250, 245, 0.75) 0%, rgba(180, 250, 245, 0) 70%);
  animation-duration: 20s;
  animation-delay: -5s;
}

.glow-3 {
  top: 35%;
  right: 15%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(253, 218, 251, 0.7) 0%, rgba(253, 218, 251, 0) 70%);
  animation-duration: 24s;
  animation-delay: -12s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(4%, 8%) scale(1.08) rotate(40deg);
  }
  100% {
    transform: translate(-4%, -4%) scale(0.95) rotate(-40deg);
  }
}

/* --- Layout Container (Frosted Glass) --- */
.container {
  width: 100%;
  max-width: 580px;
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-lg);
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

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

/* --- Header & Profile --- */
.profile-banner {
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  height: 180px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(39, 40, 123, 0.05);
  z-index: -1;
}

.banner-logo {
  height: 350px; /* Massive, highly legible brand logo */
  width: auto;
  object-fit: contain;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.75rem;
  padding-top: 25px; /* Position the avatar container so it overlaps the banner in front */
  position: relative;
  z-index: 2; /* Ensures it sits on top of the banner in the z-axis */
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.75rem;
  margin-top: 7rem;
}

.profile-avatar-container {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
  z-index: 2;
  position: relative;
}

.profile-avatar-glow {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(39, 40, 123, 0.4), rgba(22, 156, 149, 0.4), rgba(135, 69, 138, 0.4));
  z-index: 1;
  filter: blur(3px);
  opacity: 0.7;
  animation: pulse-avatar 4s infinite alternate ease-in-out;
}

@keyframes pulse-avatar {
  0% {
    transform: scale(0.98);
    opacity: 0.5;
    filter: blur(2px);
  }
  100% {
    transform: scale(1.02);
    opacity: 0.9;
    filter: blur(5px);
  }
}

.verified-badge {
  position: absolute;
  bottom: 2px;
  right: 5px;
  background: var(--color-secondary);
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.profile-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.profile-bio {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 445px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Services Quick Badges --- */
.services-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.badge {
  background: rgba(39, 40, 123, 0.03);
  border: 1px solid rgba(39, 40, 123, 0.05);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.2px;
  transition: var(--transition-smooth);
}

.badge:hover {
  background: rgba(22, 156, 149, 0.08);
  color: var(--color-secondary);
  border-color: rgba(22, 156, 149, 0.2);
  transform: translateY(-1px);
}

/* --- Links Section --- */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 3.25rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(39, 40, 123, 0.015), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.link-card-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 2;
}

.link-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(39, 40, 123, 0.03);
  border: 1px solid rgba(39, 40, 123, 0.05);
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.link-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.link-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.2px;
  margin-bottom: 0.15rem;
}

.link-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.link-arrow {
  color: var(--text-muted);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Card Variant Styles (Special Highlights) --- */

/* 1. Whatsapp (Secondary Green/Teal Action) */
.link-whatsapp {
  background: rgba(22, 156, 149, 0.03);
  border-color: rgba(22, 156, 149, 0.12);
}

.link-whatsapp:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-glow-teal);
  background: rgba(22, 156, 149, 0.07);
}

.link-whatsapp .link-icon-wrapper {
  background: rgba(22, 156, 149, 0.08);
  border-color: rgba(22, 156, 149, 0.15);
  color: var(--color-secondary);
}

.link-whatsapp:hover .link-icon-wrapper {
  background: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
}

/* 2. Tienda de Suplementos (Primary Indigo Glow) */
.link-shop {
  background: linear-gradient(135deg, rgba(39, 40, 123, 0.03) 0%, rgba(22, 156, 149, 0.01) 100%);
  border-color: rgba(39, 40, 123, 0.12);
}

.link-shop:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px -8px rgba(39, 40, 123, 0.15);
  background: linear-gradient(135deg, rgba(39, 40, 123, 0.06) 0%, rgba(22, 156, 149, 0.03) 100%);
}

.link-shop .link-icon-wrapper {
  background: rgba(39, 40, 123, 0.06);
  border-color: rgba(39, 40, 123, 0.12);
  color: var(--color-primary);
}

.link-shop:hover .link-icon-wrapper {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* 3. Recetario/Ebook (Tertiary Purple Highlight) */
.link-ebook {
  background: rgba(135, 69, 138, 0.03);
  border-color: rgba(135, 69, 138, 0.12);
}

.link-ebook:hover {
  border-color: var(--color-tertiary);
  box-shadow: var(--shadow-glow-purple);
  background: rgba(135, 69, 138, 0.07);
}

.link-ebook .link-icon-wrapper {
  background: rgba(135, 69, 138, 0.08);
  border-color: rgba(135, 69, 138, 0.15);
  color: var(--color-tertiary);
}

.link-ebook:hover .link-icon-wrapper {
  background: var(--color-tertiary);
  color: white;
  border-color: var(--color-tertiary);
}

/* General Link Card Hover (Default Cards) */
.link-card:not(.link-whatsapp):not(.link-shop):not(.link-ebook):hover {
  background: #ffffff;
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.link-card:hover::before {
  opacity: 1;
}

.link-card:hover .link-arrow {
  color: var(--color-secondary);
  transform: translateX(4px);
}

.link-card:hover .link-icon-wrapper:not(.link-whatsapp .link-icon-wrapper):not(.link-shop .link-icon-wrapper):not(.link-ebook .link-icon-wrapper) {
  background: rgba(22, 156, 149, 0.08);
  color: var(--color-secondary);
  border-color: rgba(22, 156, 149, 0.2);
}

/* --- Section Dividers / SEO Sections --- */
.seo-section {
  border-top: 1px solid rgba(39, 40, 123, 0.06);
  padding-top: 2.25rem;
  margin-bottom: 2.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--color-primary);
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-title svg {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  line-height: 1.7;
}

.specialty-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
}

.specialty-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(39, 40, 123, 0.12);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}

.faq-question-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 1.4rem 1.2rem 1.4rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Active FAQ Item state */
.faq-item.active {
  background: #ffffff;
  border-color: rgba(22, 156, 149, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question-btn {
  color: var(--color-secondary);
}

.faq-item.active .faq-question-btn svg {
  stroke: var(--color-secondary);
  transform: rotate(180deg);
}

/* --- Footer --- */
footer {
  border-top: 1px solid rgba(39, 40, 123, 0.06);
  padding-top: 2rem;
  margin-top: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--card-border);
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn:hover {
  background: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-teal);
}

.footer-info {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-info a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

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

.location-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.location-tag svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  color: var(--color-secondary);
}

/* --- Responsive Adjustments --- */
@media (max-width: 480px) {
  body {
    padding: 1.5rem 0.5rem;
  }
  
  .container {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }
  
  .profile-avatar-container {
    width: 110px;
    height: 110px;
  }
  
  .profile-name {
    font-size: 1.7rem;
  }
  
  .link-card {
    padding: 1.1rem 1.2rem;
  }
  
  .link-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .link-icon-wrapper svg {
    width: 18px;
    height: 18px;
  }
  
  .link-title {
    font-size: 0.98rem;
  }
  
  .link-subtitle {
    font-size: 0.8rem;
  }
  
  .specialty-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
