/* ========================================
   SOL RAMÍREZ - COACH ONTOLÓGICA
   style.css
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ---- VARIABLES ---- */
:root {
  --bg: #0e0e10;
  --bg-alt: #131318;
  --fg: #f7f4ee;
  --fg-muted: #9a9aa6;
  --gold: #e6c79c;
  --gold-dark: #c9a97d;
  --violet: #9f8bff;
  --violet-dark: #7c6cff;
  --border: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(255, 255, 255, 0.05);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --radius: 0px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --accent: #ff7a18;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

/* ---- UTILITIES ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--fg);
}

.section-title em {
  font-style: italic;
  color: var(--violet);
}

.section-title .gold {
  color: var(--gold);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: var(--bg);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), #ff9a3c);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scrollIndicator {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.navbar-logo span {
  color: var(--gold);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(247, 244, 238, 0.75);
  transition: color 0.3s;
}

.navbar-links a:hover {
  color: var(--gold);
}

.navbar-cta {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
}

.navbar-cta:hover {
  background: var(--gold);
  color: var(--bg);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--fg);
  margin: 5px 0;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
}

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

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: rgba(247, 244, 238, 0.85);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: scaleIn 1.5s ease forwards, heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 16, 0.6);
  z-index: 1;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-content .section-label {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 1s ease 1.5s both;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollIndicator 2s ease infinite;
}

/* ---- ABOUT ---- */
.about {
  padding: 6rem 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-frame {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.1);
}

.about-image-border {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  right: 1.5rem;
  bottom: -1.5rem;
  border: 1px solid rgba(212, 184, 150, 0.25);
  z-index: 0;
  pointer-events: none;
}

.about-glow {
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  width: 300px;
  height: 300px;
  background: var(--violet);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.about-text p {
  font-weight: 300;
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-text p .highlight {
  color: var(--gold);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--violet);
  display: block;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ---- SERVICES ---- */
.services {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  cursor: pointer;
  transition: var(--transition);
}

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

.service-card:hover .service-title {
  color: var(--accent);
}

.service-image {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.service-desc {
  font-weight: 300;
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---- FORMAS DE PAGO ---- */

.payment-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  color: var(--fg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

/* ICONOS */
.payment-item i {
  font-size: 1.2rem;
  color: var(--gold);
  transition: var(--transition);
}

/* Hover */
.payment-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.payment-item:hover i {
  color: var(--gold-dark);
}

/* Glow elegante */
.payment-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(230, 199, 156, 0.15),
    transparent
  );
  opacity: 0;
  transition: var(--transition);
}

.payment-item:hover::after {
  opacity: 1;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: 6rem 0;
  background: #0f0f11;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-quote {
  font-size: 2.5rem;
  color: rgba(212, 184, 150, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  left: 2rem;
}

.testimonial-text {
  font-weight: 300;
  color: var(--fg-muted);
  font-style: italic;
  line-height: 1.8;
  font-size: 0.95rem;
  padding-top: 1.5rem;
}

.testimonial-author {
  font-family: var(--font-serif);
  color: var(--fg);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.testimonial-role {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(139, 122, 171, 0.15) 0%, var(--bg) 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--fg-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ---- CONTACT ---- */
.contact {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.contact-info p {
  font-weight: 300;
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 380px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(247, 244, 238, 0.75);
  transition: color 0.3s;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.contact-link:hover {
  color: var(--gold);
}

.contact-link-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.contact-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.contact-form .form-group {
  margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.75rem 0;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--fg-muted);
  font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--gold);
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  padding: 1.1rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  background: var(--gold);
  color: var(--bg);
}

.form-success {
  display: none;
  text-align: center;
  padding: 1rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(138, 138, 150, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-links,
  .navbar-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-border {
    display: none;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.25rem;
  }
}
