@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes driftA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -24px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@keyframes corepulse {
  0%, 100% { r: 64; }
  20% { r: 88; }
  35% { r: 66; }
  50% { r: 80; }
  65% { r: 64; }
}
@keyframes ringpulse {
  0%, 100% { stroke-opacity: 1; }
  20% { stroke-opacity: .45; }
  35% { stroke-opacity: 1; }
  50% { stroke-opacity: .55; }
  65% { stroke-opacity: 1; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-family: 'Outfit', sans-serif;
  background: #080C10;
  color: #F0EEE8;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: #1ABC9C; color: #080C10; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1px solid #1ABC9C;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, border-color .25s, opacity .25s;
  opacity: .6;
  display: none;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: #4FDBC1;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: none;
}
body.has-custom-cursor { cursor: none; }
body.has-custom-cursor .cursor-ring,
body.has-custom-cursor .cursor-dot { display: block; }

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #118C75, #4FDBC1);
  z-index: 200;
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 12, 16, .65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 238, 232, .09);
  overflow: hidden;
}
.nav-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}
.nav-row {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #1ABC9C;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  letter-spacing: .4px;
  color: rgba(240, 238, 232, .55);
}
.btn-outline-teal {
  border: 1px solid #1ABC9C;
  color: #4FDBC1;
  padding: 9px 22px;
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: .4px;
  display: inline-block;
  transition: transform .15s ease-out;
}
.btn-solid {
  background: #1ABC9C;
  color: #080C10;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: 44px;
  font-size: 14px;
  letter-spacing: .4px;
  display: inline-block;
  transition: transform .15s ease-out;
}
.btn-ghost {
  border: 1px solid #4A6A8A;
  color: #F0EEE8;
  padding: 14px 30px;
  border-radius: 44px;
  font-size: 14px;
  letter-spacing: .4px;
  display: inline-block;
  transition: transform .15s ease-out;
}

.hero-header {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 128px 32px 60px;
  overflow: hidden;
  background: #050505;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-grid-lines {
  display: none;
}
.blob-a {
  display: none;
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(26, 188, 156, .08), transparent 70%);
  filter: blur(14px);
  animation: driftA 22s ease-in-out infinite;
}
.blob-b {
  display: none;
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  bottom: -220px; left: -140px;
  background: radial-gradient(circle, rgba(79, 140, 219, .05), transparent 70%);
  filter: blur(14px);
  animation: driftB 26s ease-in-out infinite;
}
.hero-grid {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #1ABC9C;
  font-weight: 500;
  margin-bottom: 22px;
}
.hero-eyebrow { opacity: 0; animation: rise .8s .1s forwards; }
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 1.0;
  letter-spacing: .3px;
  margin: 0;
  opacity: 0;
  animation: rise .9s .22s forwards;
}
.hero-title i { color: #1ABC9C; font-style: italic; }
.hero-lead {
  font-size: 19px;
  color: #C7CDD3;
  max-width: 560px;
  line-height: 1.75;
  margin-top: 26px;
  opacity: 0;
  animation: rise .9s .4s forwards;
}
.hero-lead b { color: #F0EEE8; font-weight: 500; }
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise .9s .58s forwards;
}
.portrait-wrap {
  position: relative;
  opacity: 0;
  animation: rise 1s .5s forwards;
  transition: transform .1s ease-out;
  transform-style: preserve-3d;
}
.portrait-mask {
  width: 100%;
  aspect-ratio: 7 / 9;
  position: relative;
  mask-image: radial-gradient(ellipse 92% 96% at 50% 42%, black 52%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 92% 96% at 50% 42%, black 52%, transparent 100%);
  overflow: hidden;
}
.portrait-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-badge {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: rgba(8, 12, 16, .65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(240, 238, 232, .09);
  border-radius: 5px;
  padding: 12px 16px;
  font-size: 12.5px;
  letter-spacing: .4px;
  pointer-events: none;
}
.portrait-badge span { color: #4FDBC1; }

.marquee-bar {
  background: #1ABC9C;
  overflow: hidden;
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  white-space: nowrap;
  padding-right: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #080C10;
}

.resp-section { padding: 140px 32px 60px; }
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.tesis-inner { max-width: 840px; margin: 0 auto; }
.tesis-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 42px;
  line-height: 1.32;
  margin: 0;
  color: #F0EEE8;
}
.tesis-h2 span { color: #1ABC9C; }
.body-lg {
  font-size: 17.5px;
  line-height: 1.85;
  color: #C7CDD3;
  margin: 0;
}
.tesis-copy {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
}

.trama-section {
  padding: 100px 32px 130px;
  background: linear-gradient(180deg, #080C10, #0E1419);
  position: relative;
}
.trama-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 188, 156, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.trama-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.trama-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 70px;
}
.trama-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 68px;
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1;
}
.trama-word span { color: #1ABC9C; }
.trama-sub {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4FDBC1;
  margin: 18px 0 28px;
  font-weight: 500;
}
.trama-intro p {
  font-size: 18px;
  line-height: 1.75;
  color: #C7CDD3;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: rgba(240, 238, 232, .09);
  border: 1px solid rgba(240, 238, 232, .09);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 100px;
}
.feature-card {
  background: #0B1015;
  padding: 40px 34px;
  transition: background .35s;
  position: relative;
}
.feature-card:hover { background: #10171D; }
.feature-card .accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1ABC9C, transparent);
  opacity: 0;
  transition: opacity .35s;
}
.feature-card:hover .accent-line { opacity: 1; }
.feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 500;
  color: rgba(26, 188, 156, .45);
  line-height: 1;
  margin-bottom: 22px;
}
.feature-card h3 {
  font-size: 19px;
  color: #F0EEE8;
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: .2px;
}
.feature-card p {
  font-size: 15px;
  color: #AEB6BE;
  line-height: 1.7;
  margin: 0;
}
.feature-card p b { color: #F0EEE8; font-weight: 500; }

.two-col {
  margin-bottom: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pain-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E8A33D;
  margin: 0 0 16px;
}
.pain-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 500;
  color: #F0EEE8;
  margin: 0 0 22px;
  line-height: 1.18;
}
.pain-copy {
  font-size: 16.5px;
  line-height: 1.75;
  color: #C7CDD3;
  margin: 0 0 28px;
}
.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.pain-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pain-list .x { color: #E8A33D; font-size: 14px; margin-top: 4px; }
.pain-list span:last-child {
  font-size: 15.5px;
  color: rgba(240, 238, 232, .75);
}
.pain-panel {
  background: linear-gradient(160deg, rgba(232, 163, 61, .05), rgba(14, 20, 25, .5));
  border: 1px solid rgba(232, 163, 61, .16);
  border-radius: 20px;
  padding: 50px 34px;
  position: relative;
  overflow: hidden;
}
.pain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 10px;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.pain-tags span {
  border: 1px dashed rgba(232, 163, 61, .4);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(240, 238, 232, .75);
  background: rgba(8, 12, 16, .4);
}
.pain-tags span:nth-child(1) { transform: rotate(-3deg) translateY(4px); }
.pain-tags span:nth-child(2) { transform: rotate(2deg) translateY(-6px); }
.pain-tags span:nth-child(3) { transform: rotate(-1deg) translateY(8px); }
.pain-tags span:nth-child(4) { transform: rotate(3deg) translateY(-2px); }
.pain-tags span:nth-child(5) { transform: rotate(-4deg) translateY(5px); }
.pain-tags span:nth-child(6) { transform: rotate(1deg) translateY(-4px); }
.pain-note {
  font-size: 12.5px;
  color: #E8A33D;
  letter-spacing: .4px;
  margin: 24px 0 0;
  text-align: center;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

.diag-block {
  margin-bottom: 90px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(26, 188, 156, 0.08) 0%, transparent 60%);
  padding: 40px 0;
  border-radius: 24px;
}
.diag-block h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 30px;
  color: #F0EEE8;
  margin: 0 0 20px;
}
.diag-block > p {
  font-size: 16px;
  color: #C7CDD3;
  margin: 0 auto 30px;
  max-width: 700px;
}
.diag-block > p b { color: #F0EEE8; font-weight: 600; }
#diag-svg {
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto;
  display: block;
  overflow: visible;
}
.spin-slow {
  transform-origin: 300px 300px;
  animation: spin 50s linear infinite;
}
.spin-slower {
  transform-origin: 300px 300px;
  animation: spin 80s linear infinite reverse;
}
.core-pulse { animation: corepulse 3.4s ease-in-out infinite; }
.ring-pulse { animation: ringpulse 3.4s ease-in-out infinite; }
.diag-info {
  margin-top: 20px;
  min-height: 50px;
  font-size: 15px;
  color: #C7CDD3;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity .25s;
}
.diag-info b { color: #4FDBC1; font-weight: 500; }

.impact-head { text-align: center; margin-bottom: 40px; }
.impact-head h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 34px;
  color: #F0EEE8;
  margin: 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.impact-card {
  background: rgba(8, 12, 16, 0.5);
  border: 1px solid rgba(26, 188, 156, 0.18);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  gap: 18px;
  transition: border-color .3s, transform .3s;
}
.impact-card:hover {
  border-color: rgba(26, 188, 156, .55);
  transform: translateY(-4px);
}
.impact-check {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #1ABC9C;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1ABC9C;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(26, 188, 156, .25);
}
.impact-card h5 {
  color: #F0EEE8;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 10px;
}
.impact-card p {
  color: #AEB6BE;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.quote-block {
  border-top: 1px solid rgba(240, 238, 232, .09);
  padding-top: 60px;
  text-align: center;
  position: relative;
  margin-bottom: 0;
}
.quote-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #1ABC9C;
}
.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1.55;
  color: #F0EEE8;
  max-width: 840px;
  margin: 0 auto;
}
.quote-block span { color: #1ABC9C; }

.metodo-section {
  padding: 130px 32px;
  background: #0E1419;
  border-top: 1px solid rgba(240, 238, 232, .09);
  border-bottom: 1px solid rgba(240, 238, 232, .09);
}
.metodo-inner { max-width: 900px; margin: 0 auto; }
.h2-44 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 44px;
  margin: 0;
}
.metodo-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid rgba(240, 238, 232, .09);
  align-items: start;
}
.metodo-item:last-child {
  border-bottom: 1px solid rgba(240, 238, 232, .09);
}
.metodo-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 500;
  color: rgba(26, 188, 156, .4);
  line-height: 1;
}
.metodo-item h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 12px;
  color: #F0EEE8;
}
.metodo-item p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #AEB6BE;
  margin: 0;
  max-width: 600px;
}

.contacto-section {
  padding: 130px 32px;
  text-align: center;
}
.contacto-inner { max-width: 640px; margin: 0 auto; }
.contacto-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 40px;
  color: #F0EEE8;
  letter-spacing: .2px;
}
.contacto-title span { color: rgba(240, 238, 232, .4); }
.contacto-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contacto-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(240, 238, 232, .09);
  border-radius: 44px;
  padding: 14px 28px;
  font-size: 14.5px;
  letter-spacing: .4px;
  transition: transform .15s ease-out;
}
.contacto-links b { color: #4FDBC1; font-weight: 400; }

.site-footer {
  border-top: 1px solid rgba(240, 238, 232, .09);
  padding: 26px 32px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-inner span {
  font-size: 12.5px;
  color: rgba(240, 238, 232, .35);
  letter-spacing: .3px;
}

@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-row { padding: 14px 20px; gap: 12px; }
  .nav-brand { font-size: 20px; }
  .nav-cta,
  .btn-outline-teal.nav-cta {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .nav-row { padding: 14px 16px !important; }
  .nav-links { display: none !important; }
  .nav-brand { font-size: 18px !important; }
  .nav-cta,
  .btn-outline-teal.nav-cta {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  .hero-header { padding: 120px 20px 60px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .hero-title { font-size: 38px !important; }
  .hero-lead { font-size: 16px !important; }
  .resp-section,
  .trama-section,
  .metodo-section,
  .contacto-section {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .tesis-h2 { font-size: 28px !important; }
  .body-lg { font-size: 15.5px !important; }
  .trama-word { font-size: 38px !important; letter-spacing: 3px !important; }
  .two-col { grid-template-columns: 1fr !important; gap: 36px !important; }
  .h2-44 { font-size: 30px !important; }
  .impact-grid { grid-template-columns: 1fr !important; }
  .pain-title { font-size: 34px; }
  .metodo-item { grid-template-columns: 60px 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
