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

:root {
  --primary: #174B6F;
  --secondary: #D6CEC4;
  --accent: #bfb382;
  --bg-light: #F1F3F8;
  --bg-alt: #DEE0E3;
  --white: #FFFFFF;
  --text-light: #4A6B82;

  --grad-1: linear-gradient(135deg, #F1F3F8, #DEE0E3);
  --grad-2: linear-gradient(135deg, #174B6F, #B3D1CE);
  --grad-3: linear-gradient(135deg, #BBA88F, #D6CEC4);

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 12px rgba(23, 75, 111, 0.05);
  --shadow-md: 0 10px 30px rgba(23, 75, 111, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 150px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent);
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:active {
  color: var(--white);
}

.btn-primary:visited {
  color: var(--white);
}

.btn-primary:link {
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
  background: linear-gradient(to bottom, rgba(241, 243, 248, 0.95) 0%, rgba(241, 243, 248, 0) 100%);
}

.header.scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-1);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background-image: url('assets/images/hero_jazmin.png');
  background-size: cover;
  background-position: center right 10%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-top: 80px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  /* Increased tracking for premium feel */
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* --- Authority Strip --- */
.authority-strip {
  background: var(--grad-2);
  padding: 60px 0;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* Sutil separación */
}

.authority-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z' fill='%23ffffff' fill-opacity='0.015' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

.authority-strip p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 35px;
  color: var(--secondary);
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.logos-container span {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.logos-container span:hover {
  transform: translateY(-2px);
  color: var(--accent);
}

.logos-container i {
  color: var(--accent);
  /* Dorado para los iconos */
  font-size: 1.2rem;
}

/* --- About Section --- */
.about {
  background-color: var(--bg-light);
}

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

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

.about-img-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--secondary);
  z-index: 0;
}

.about-img {
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  border-radius: 2px;
}

.about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* --- Services Section --- */
.services {
  background-color: var(--bg-alt);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.85);
  /* Glassmorphism base */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 56px 40px;
  box-shadow: 0 10px 40px rgba(23, 75, 111, 0.05);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-2);
  z-index: -1;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(23, 75, 111, 0.15);
}

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

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--white);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 0.95rem;
  transition: var(--transition);
  line-height: 1.7;
}

.service-card:hover p {
  color: var(--bg-light);
}

.service-link {
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: var(--white);
}

.service-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* --- Values/Methodology --- */
.methodology {
  background: var(--primary);
  background-image: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.methodology::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.005'%3E%3Crect x='0' y='0' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E");
  /* Textura al 0.5% para sutileza máxima */
  z-index: -1;
  pointer-events: none;
}

/* Vector decorativo de fondo */
.methodology::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -80px;
  width: 700px;
  height: 700px;
  /* Vector floral estilizado en trazo fino (Line art) */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100 20 C120 60 180 60 180 100 C180 140 120 140 100 180 C80 140 20 140 20 100 C20 60 80 60 100 20' fill='none' stroke='white' stroke-width='0.4' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  /* Opacidad controlada para máximo refinamiento (muy sutil) */
  opacity: 0.04;
  z-index: -1;
  pointer-events: none;
  transform: rotate(15deg);
}

.methodology .section-title h2 {
  color: var(--white);
}

.methodology .section-title p {
  color: var(--secondary);
  opacity: 0.9;
  font-size: 1.1rem;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.method-item {
  display: flex;
  gap: 30px;
  padding: 20px;
  transition: var(--transition);
}

.method-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.method-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 4.5rem;
  color: #bfb382;
  line-height: 1;
  opacity: 0.6;
  font-weight: 300;
  letter-spacing: -2px;
  transition: all 0.4s ease;
}

.method-item:hover .method-number {
  color: #BBA88F;
  opacity: 1;
  transform: translateY(-8px);
}

.method-text h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  letter-spacing: 0.5px;
}

.method-text p {
  color: var(--secondary);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials {
  background-color: var(--bg-light);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-slide {
  padding: 60px 40px;
  background-color: transparent;
  position: relative;
}

.quote-icon {
  font-size: 10rem;
  color: var(--accent);
  opacity: 0.1;
  font-family: var(--font-serif);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.testimonial-text {
  font-size: 1.5rem;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--primary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Products / Store Strip --- */
.products {
  background-color: var(--bg-alt);
}

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

.product-card {
  background: rgba(255, 255, 255, 0.85);
  /* Glassmorphism base */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23, 75, 111, 0.05);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(23, 75, 111, 0.12);
}

.product-img {
  height: 200px;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-img span {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  z-index: 2;
  transition: var(--transition);
}

.product-card:hover .product-img {
  background: var(--grad-3);
  color: var(--primary);
}

.product-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.6s ease;
}

.product-card:hover .product-img::after {
  left: 150%;
}

.product-content {
  padding: 24px;
}

.product-content h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  min-height: 52px;
  transition: var(--transition);
}

.product-card:hover h4 {
  color: var(--primary);
}

.product-price {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.product-price span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}

/* --- CTA Section --- */
.cta {
  background: var(--grad-3);
  text-align: center;
  padding: 100px 0;
  color: var(--primary);
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* --- Footer --- */
.footer {
  background-color: var(--primary);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(191, 179, 130, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(187, 168, 143, 0.03) 0%, transparent 40%);
  color: var(--white);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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 stroke='%23ffffff' stroke-width='0.5' stroke-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-2v2h2v2h2v-2h2v-2h-2zM6 34v-4H4v4H2v2h2v2h2v-2h2v-2H6zM6 4v-4H4v4H2v2h2v2h2v-2h2v-2H6zM36 4v-4h-2v4h-2v2h2v2h2v-2h2v-2h-2zM6 64v-4H4v4H2v2h2v2h2v-2h2v-2H6zM36 64v-4h-2v4h-2v2h2v2h2v-2h2v-2h-2zM33 36v-4h-2v4h-2v2h2v2h2v-2h2v-2h-2zM3 36v-4H1v4h-2v2h2v2h2v-2h2v-2H3zM3 6v-4H1v4h-2v2h2v2h2v-2h2v-2H3zM33 6v-4h-2v4h-2v2h2v2h2v-2h2v-2h-2zM3 66v-4H1v4h-2v2h2v2h2v-2h2v-2H3zM33 66v-4h-2v4h-2v2h2v2h2v-2h2v-2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 80px;
}

.footer-brand p {
  color: var(--secondary);
  max-width: 320px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(214, 206, 196, 0.2);
  background-color: transparent;
  color: var(--secondary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(191, 179, 130, 0.3);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 20px;
  height: 1px;
  background-color: var(--accent);
  opacity: 0.5;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--secondary);
  font-size: 0.95rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  opacity: 1;
  padding-left: 8px;
}

.footer-contact p {
  color: var(--secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact p i {
  color: var(--accent) !important;
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--secondary);
  opacity: 0.6;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border-radius: 2px;
  background: transparent;
}

.footer-cta-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(191, 179, 130, 0.15);
}

.footer-brand img {
  transition: var(--transition);
  cursor: pointer;
}

.footer-brand img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* --- Media Queries --- */
@media screen and (max-width: 992px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .about-grid {
    gap: 40px;
  }

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

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

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

@media screen and (max-width: 768px) {
  .header {
    background: rgba(241, 243, 248, 0.98);
    padding: 16px 0 !important;
    box-shadow: var(--shadow-sm);
  }

  .logo img {
    max-height: 35px !important;
  }

  .mobile-toggle {
    display: block;
    color: var(--primary);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-light);
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 1002;
  }

  .nav-links.active {
    right: 0;
  }

  .hero {
    flex-direction: column;
    padding-top: 60px;
    /* Space for header */
    min-height: auto;
  }

  .hero .container.relative {
    order: 1;
    z-index: 2;
    padding-bottom: 20px;
  }

  .hero-bg {
    position: relative;
    width: 100%;
    height: 380px;
    /* Made the image smaller for mobile */
    top: auto;
    bottom: auto;
    background-position: center top 10%;
    /* Focus on the face */
    z-index: 1;
    order: 2;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  }

  .hero-content {
    padding-top: 60px;
    text-align: center;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-img-wrapper {
    margin: 0 auto 40px;
    max-width: 400px;
  }

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

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

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }

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

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

  .logos-container {
    gap: 30px;
  }

  .logos-container span {
    font-size: 0.9rem;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Helpers */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

/* Premium Pulses */
.pulse-btn {
  animation: premiumPulse 2s infinite;
}

@keyframes premiumPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(244, 196, 48, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(244, 196, 48, 0);
  }
}

/* Mobile Adjustments for Premium Spacing */
@media screen and (max-width: 768px) {
  .section {
    padding: 100px 0;
    /* Still generous for mobile */
  }

  .testimonial-text {
    font-size: 1.2rem;
  }

  .quote-icon {
    font-size: 6rem;
    top: -10px;
  }
}

/* === LANDING PAGE: YO SOY BUENA NOTA === */
:root {
  --book-turq: #1CA1A6;
  --book-green: #4DA167;
  --book-yellow: #F4C430;
  --book-dark: #0A3641;
}

body.book-landing {
  background-color: var(--white);
}

body.book-landing .header {
  top: 45px;
}

body.book-landing .header.scrolled {
  top: 45px;
  /* Se queda debajo de la barra fija en lugar de ir a 0 */
}

/* Top Bar */
.top-bar {
  background: linear-gradient(90deg, var(--book-turq), var(--book-yellow));
  color: var(--book-dark);
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-btn {
  background-color: var(--book-dark);
  color: var(--white);
  padding: 6px 16px;
  font-size: 0.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-bar-btn:hover {
  background-color: var(--white);
  color: var(--book-dark);
}

/* Book Global Buttons */
.btn-yellow {
  background-color: var(--book-yellow);
  color: var(--book-dark);
  border: none;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(244, 196, 48, 0.3);
}

.btn-yellow:hover {
  background-color: var(--book-dark);
  color: var(--book-yellow);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(10, 54, 65, 0.2);
}

/* 1. Hero Book */
.hero-book {
  padding: 160px 0 80px;
  background-color: var(--bg-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.book-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.book-hero-content .eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(28, 161, 166, 0.1);
  color: var(--book-turq);
  padding: 6px 16px;
  border-radius: 30px;
}

.book-hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--book-dark);
}

.book-hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.6;
}

.book-hero-btns {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}

.book-primary-btn {
  padding: 18px 45px;
  font-size: 1.1rem;
  border-radius: 50px;
}

.book-secondary-link {
  font-weight: 600;
  color: var(--book-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 1.05rem;
}

.book-secondary-link:hover {
  color: var(--book-turq);
}

.trust-signal {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.trust-signal span {
  color: var(--book-yellow);
  letter-spacing: 2px;
}

.book-mockup-wrapper {
  background: var(--book-green);
  border-radius: 40px;
  padding: 30px;
  /* Reducido para dar más zoom al libro */
  box-shadow: 0 40px 80px rgba(10, 54, 65, 0.15);
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  transition: all 0.5s ease;
}

.book-mockup-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--book-turq);
  border-radius: 40px;
  z-index: -1;
  opacity: 0.3;
}

.book-img {
  max-width: 105%;
  /* Ligeramente fuera del contenedor para dar profundidad */
  width: 100%;
  border-radius: 4px;
  box-shadow: -20px 20px 45px rgba(0, 0, 0, 0.5);
  transform: rotate(-4deg) scale(1.1);
  /* Zoom inicial */
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: floatBook 8s ease-in-out infinite;
}

.book-img:hover {
  transform: rotate(0deg) scale(1.2);
  /* Zoom al hover */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

@keyframes floatBook {

  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-20px) rotate(-3deg);
  }
}

/* 2. Problem Section */
.book-problem {
  background-color: var(--white);
  text-align: center;
  padding: 120px 0;
}

.book-problem h2 {
  font-size: 2.5rem;
  color: var(--book-dark);
  margin-bottom: 30px;
}

.book-problem-lead {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 20px;
}

.book-problem-solution {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--book-turq);
  margin-bottom: 60px;
}

.problem-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.problem-item {
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  padding: 40px 30px;
  background: var(--bg-light);
  border-radius: 16px;
  transition: var(--transition);
}

.problem-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border: 1px solid rgba(28, 161, 166, 0.1);
}

.problem-icon-wrapper {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.problem-item p {
  font-weight: 500;
  color: var(--book-dark);
  font-size: 1.1rem;
}

/* 3. Solution Section */
.book-solution {
  background-color: #F8FBF8;
  padding: 120px 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution-img-wrapper img {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.solution-content .eyebrow {
  color: var(--book-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.solution-content h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--book-dark);
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.solution-item {
  display: flex;
  gap: 20px;
}

.solution-item-icon {
  background: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--book-turq);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.solution-item-text h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--book-dark);
}

.solution-item-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 4. Author Section */
.book-author {
  background-color: var(--white);
  padding: 150px 0;
  position: relative;
  overflow-x: clip; /* Evita scroll horizontal por la marca de agua */
}

.book-author::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(28, 161, 166, 0.03) 0%, transparent 40%);
  z-index: 0;
}

.book-author::after {
  content: 'JR';
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 25rem;
  font-weight: 700;
  color: var(--bg-light);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.author-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  /* Más aire para elegancia */
  align-items: center;
  position: relative;
  z-index: 1;
}

.author-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.author-photo {
  width: 500px;
  /* Un poco más balanceado que 540px */
  height: 500px;
  border-radius: 50%;
  object-fit: cover;
  border: 10px solid var(--bg-light);
  padding: 0;
  /* Quitamos el padding para que la foto llene el círculo */
  box-shadow: var(--shadow-md);
  display: block;
}

.author-seal {
  position: absolute;
  bottom: 30px;
  right: 10px;
  background: var(--book-turq);
  color: var(--white);
  width: 140px;
  /* Más grande como en el ejemplo */
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  border: 6px solid var(--white);
  line-height: 1.2;
  box-shadow: 0 15px 30px rgba(28, 161, 166, 0.4);
  z-index: 2;
  transform: rotate(5deg);
}

.book-author h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--book-dark);
  position: relative;
  padding-left: 25px;
  border-left: 5px solid var(--book-yellow);
  line-height: 1.1;
}

.book-author p {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 25px;
  line-height: 1.8;
  max-width: 650px;
}

.author-credentials {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  /* Forzamos una sola línea */
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.author-credentials span {
  font-size: 0.85rem;
  /* Un poco más pequeño para que quepan */
  font-weight: 600;
  color: var(--book-dark);
  background: var(--white);
  padding: 10px 18px;
  /* Reducido para ahorrar espacio */
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  cursor: default;
  flex-shrink: 0;
}

.author-credentials span:hover {
  border-color: var(--book-yellow);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* 5. Social Proof */
.book-proof {
  background-color: var(--book-dark);
  color: var(--white);
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.book-proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 100%, rgba(28, 161, 166, 0.1) 0%, transparent 60%);
}

.book-proof .container {
  position: relative;
  z-index: 2;
}

.book-proof h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 50px;
}

.proof-quote {
  max-width: 800px;
  margin: 0 auto;
}

.proof-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.6;
  color: var(--book-yellow);
  margin-bottom: 30px;
}

.proof-quote .author {
  font-size: 1.1rem;
  color: var(--white);
  opacity: 0.8;
  letter-spacing: 1px;
}

/* 6. Target Audience */
.book-target {
  background-color: var(--bg-light);
  padding: 120px 0;
  text-align: center;
}

.book-target h2 {
  font-size: 2.5rem;
  color: var(--book-dark);
  margin-bottom: 60px;
}

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

.target-card {
  background: var(--white);
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid transparent;
}

.target-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(28, 161, 166, 0.2);
}

.target-icon {
  width: 70px;
  height: 70px;
  background: rgba(28, 161, 166, 0.1);
  color: var(--book-turq);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 30px;
}

.target-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--book-dark);
}

.target-card p {
  color: var(--text-light);
  margin-bottom: 30px;
  flex-grow: 1;
  line-height: 1.6;
}

.target-card .target-btn {
  font-weight: 600;
  color: var(--book-turq);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.target-card:hover .target-btn {
  color: var(--book-dark);
}

/* 7. How to Buy */
.book-steps {
  background-color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.book-steps h2 {
  font-size: 2.5rem;
  color: var(--book-dark);
  margin-bottom: 60px;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 200px;
  position: relative;
}

.step-icon {
  width: 90px;
  height: 90px;
  background: var(--white);
  border: 2px solid var(--book-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--book-green);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 45px;
  right: -60px;
  width: 60px;
  height: 2px;
  background-image: linear-gradient(to right, var(--book-green) 50%, transparent 50%);
  background-size: 15px 10px;
  background-repeat: repeat-x;
  z-index: 1;
  animation: dashMove 20s linear infinite;
}

@keyframes dashMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 100% 0;
  }
}

.step-item p {
  font-weight: 500;
  color: var(--book-dark);
  font-size: 1.1rem;
}

/* 8. Final CTA */
.book-cta-final {
  background: linear-gradient(135deg, var(--book-turq), var(--book-green));
  padding: 120px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.book-cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.book-cta-final h2 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 24px;
}

.book-cta-final p {
  font-size: 1.4rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.book-cta-final .micro-copy {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  font-size: 0.95rem;
  opacity: 0.9;
  flex-wrap: wrap;
}

.book-cta-final .micro-copy span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive Specifics for Landing Book */
@media screen and (max-width: 992px) {

  .book-hero-grid,
  .solution-grid,
  .author-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-hero-content h1 {
    font-size: 2.8rem;
  }

  .book-hero-btns {
    justify-content: center;
  }

  .book-mockup-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .solution-img-wrapper {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .solution-list {
    align-items: center;
    text-align: left;
  }

  .target-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .author-photo-wrapper {
    margin: 0 auto;
  }

  .author-photo {
    width: 250px;
    height: 250px;
    border-width: 6px;
  }

  .author-seal {
    width: 90px;
    height: 90px;
    font-size: 0.7rem;
    border-width: 4px;
    bottom: 10px;
    right: -10px;
  }

  .book-author h2 {
    font-size: 1.8rem;
    padding-left: 0;
    border-left: none;
    border-top: 4px solid var(--book-yellow);
    padding-top: 20px;
  }

  .book-author::after {
    display: none; /* Quitamos la marca de agua en mobile */
  }

  .author-credentials {
    justify-content: center;
    flex-wrap: wrap; /* Permitimos envolver en mobile */
    gap: 8px;
    white-space: normal;
  }
  
  .author-credentials span {
    font-size: 0.8rem;
    padding: 8px 15px;
  }

  body.book-landing .header,
  body.book-landing .header.scrolled {
    top: 60px;
    /* Stay below the wrapped top-bar on mobile */
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 8px;
    padding: 2px 0;
  }

  .step-item:not(:last-child)::after {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .book-hero-content h1 {
    font-size: 2.2rem;
  }

  .book-primary-btn {
    width: 100%;
  }

  .book-hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .book-cta-final h2 {
    font-size: 2.5rem;
  }
}