:root {
    --ink: #251a34;
    --muted: #655d70;
    --purple: #8f6ad3;
    --purple-dark: #3d245c;
    --purple-soft: #f2ecfb;
    --teal: #278e93;
    --teal-dark: #17686d;
    --cream: #fffdf9;
    --white: #fff;
    --line: #e7dfed;
    --shadow: 0 18px 45px rgba(49, 29, 74, .12);
    --radius: 22px;
    --container: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden
}

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

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

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto
}

.narrow {
    max-width: 900px
}

.center {
    text-align: center
}

.section-light,
.section-tint,
.section-purple,
.section-dark,
.section-yellow {
    position: relative;
    padding: 100px 0
}

.section-light {
    background: var(--cream)
}

.section-tint {
    background: var(--purple-soft)
}

.section-purple {
    background: linear-gradient(135deg, #3d245c, #5b3a80);
    color: #fff
}

.section-dark {
    background: linear-gradient(135deg, #24142f 0%, #3d245c 52%, #286e73 140%);
    color: #462d65;
}

.section-yellow {
    background-color: #f4e6d3;
}

.section-heading h2,
.section-heading h3 {
    margin-top: 0
}

.kicker,
.eyebrow {
    letter-spacing: .18em;
    font-weight: 700;
    font-size: .75rem
}

.kicker {
    color: var(--purple);
    margin: 0 0 12px
}

.section-dark .kicker,
.section-purple .kicker {
    color: #d9c7ff
}

.eyebrow {
    color: #8f6ad3;
    margin-bottom: 16px
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    line-height: 1.15
}

h1 {
    font-size: clamp(3rem, 7vw, 4.4rem);
    margin: .1em 0 .2em
}

h2 {
    font-size: clamp(2.25rem, 4.3vw, 4rem);
    margin: .15em 0 .45em
}

h3 {
    font-size: 1.35rem
}

h2 span,
h1 em {
    color: var(--purple);
    font-style: normal
}

.section-dark h1 em,
.section-purple h2 span {
    color: #8f6ad3;
}

.hero {
    min-height: 760px;
    display: grid;
    align-items: center;
    overflow: hidden;
    /* padding-top: 120px */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr .95fr;
    gap: 50px;
    align-items: center
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 700px;
    color: #7d59aa;
}

.hero-points {
    display: grid;
    gap: 10px;
    margin: 28px 0
}

.hero-points>div {
    display: flex;
    gap: 12px;
    align-items: center
}

.point-icon {
    color: #8f6ad3;
    font-size: 1.2rem;
}

.limited {
    font-size: .85rem;
    color: #3d245c;
    margin: 13px 0
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 999px;
    padding: 13px 24px;
    font: 600 .95rem "DM Sans", sans-serif;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14)
}

.btn-primary {
    background: var(--purple);
    color: #fff
}

.btn-light {
    background: #fff;
    color: var(--purple-dark)
}

.hero-art {
    min-height: 540px;
    display: grid;
    place-items: center
}

.family-tree-art {
    width: min(510px, 100%);
    aspect-ratio: 1;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle, #bfa7e9 0 18%, #7d59aa 40%, #3d245c 73%, transparent 74%);
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .22));
    display: grid;
    place-items: center
}

.tree-crown {
    font-size: 9rem;
    color: #f4edff;
    transform: translateY(-70px)
}

.tree-trunk {
    font-size: 14rem;
    line-height: .4;
    color: #e5d8fa;
    position: absolute;
    top: 45%;
    left: 42%;
    transform: rotate(90deg)
}

.tree-roots {
    position: absolute;
    bottom: 22%;
    font-size: 2rem;
    color: #fff
}

.photo {
    position: absolute;
    width: 115px;
    height: 85px;
    background: #fff;
    color: #654d76;
    display: grid;
    place-items: center;
    font-family: "Playfair Display";
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
    transform: rotate(-7deg)
}

.photo-a {
    left: 5%;
    top: 28%
}

.photo-b {
    right: 2%;
    top: 22%;
    transform: rotate(8deg)
}

.photo-c {
    right: 9%;
    bottom: 23%;
    transform: rotate(-5deg)
}

.hero-decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%
}

.hero-decoration-one {
    width: 600px;
    height: 600px;
    right: -300px;
    top: -170px
}

.hero-decoration-two {
    width: 300px;
    height: 300px;
    left: -170px;
    bottom: -100px
}

.video-frame {
    margin: 30px auto;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #3d245c, #b08be1);
    box-shadow: var(--shadow)
}

.video-placeholder {
    width: 100%;
    height: 100%;
    border: 0;
    background: linear-gradient(135deg, rgba(36, 20, 47, .55), rgba(39, 142, 147, .5)), url("https://lineasdefamilia.com/wp-content/uploads/2026/08/collage4.jpg") center/cover;
    color: #fff;
    font: 600 1rem "DM Sans";
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer
}

.play {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--purple);
    padding-left: 5px;
    font-size: 1.5rem
}

.intro h3 {
    font-size: 1.45rem;
    margin-top: 35px
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.text-block {
    font-size: 1.05rem;
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 48px
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(40, 25, 55, .05)
}

.feature-card span {
    font-weight: 700;
    color: var(--purple);
    font-size: .8rem
}

.feature-card h3 {
    margin: 9px 0;
    font-size: 1.15rem
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: .93rem
}

/* .feature-card:nth-child(4),
.feature-card:nth-child(7) {
    grid-column: span 2
} */

.closing-line {
    margin: 42px auto 0;
    font-size: 1.15rem;
    font-weight: 600;
    max-width: 850px
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px
}

.learning-card {
    background: #fff;
    color: var(--ink);
    padding: 30px;
    border-radius: 20px;
    text-align: center
}

.learning-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 15px
}

.learning-card p {
    color: var(--muted);
    font-size: .94rem
}

.image-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px
}

.check-list,
.number-list,
.roman-list {
    padding-left: 1.25rem
}

.check-list {
    list-style: none;
    padding-left: 0
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin: 12px 0
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 800
}

.text-link {
    color: var(--purple);
    font-weight: 700
}

.guide-image img {
    width: min(500px, 100%);
    margin: auto
}

.subtitle {
    font-weight: 700;
    color: #7d59aa;
    font-size: 1.05rem
}

.quote {
    margin-top: 28px;
    padding: 22px;
    border-left: 4px solid var(--purple);
    font-family: "Playfair Display";
    font-size: 1.55rem
}

.quote2 {
    margin-top: 28px;
    padding: 22px;
    border-left: 4px solid var(--purple);
    font-family: "Playfair Display";
    font-size: 1.2rem
}

.faq-like-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px
}

.info-item,
.bonus-box {
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line)
}

.info-item p,
.bonus-box p {
    color: var(--muted)
}

.bonus-box {
    background: linear-gradient(135deg, #3d245c, #7150a0);
    color: #fff
}

.bonus-box p {
    color: #eee
}

.bonus-box strong {
    color: #e3ccff;
    font-size: 1.15rem
}

.start-grid {
    align-items: start
}

.start .number-list li {
    margin: 14px 0
}

.collage-small img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: var(--shadow)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px
}

.gallery-img {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.gallery-img img {
    width: 100%;
    height: 360px;
    object-fit: cover
}

.comparison {
    max-width: 950px;
    margin-top: 45px;
    font-size: 1.03rem
}

.comparison li {
    margin: 14px 0
}

.courses-grid {
    display: grid;
    gap: 28px;
    margin-top: 50px
}

.course-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 35px;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow)
}

.course-card img {
    width: 100%;
    max-height: 350px;
    object-fit: contain
}

.course-card p {
    color: var(--muted)
}

.price {
    font-size: 1.15rem !important;
    font-weight: 700;
    color: var(--purple) !important
}

.lead-form {
    margin: 35px auto 0;
    max-width: 900px;
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 24px
}

.lead-form img {
    width: 220px;
    margin: 0 auto 15px
}

.input-row {
    display: flex;
    gap: 10px
}

.input-row input {
    flex: 1
}

.lead-form h3 {
    font-family: "DM Sans";
    font-size: 1rem;
    font-weight: 500
}

.pricing-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
    border-radius: 25px;
    background: #fff;
    padding: 50px;
    box-shadow: var(--shadow)
}

.pricing-details {
    border-left: 1px solid var(--line);
    padding-left: 35px
}

.price-big {
    font: 700 clamp(2.5rem, 6vw, 5rem) "Playfair Display";
    color: var(--purple);
    margin: .1em 0
}

.refund {
    max-width: 950px;
    text-align: center;
    margin-top: 55px
}

.accordion {
    margin-top: 45px
}

.accordion-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: transparent;
    color: #fff;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    padding: 20px 0;
    font: 600 1rem "DM Sans";
    cursor: pointer
}

.accordion-item i {
    font-style: normal;
    font-size: 1.5rem;
    color: #d8c4f7
}

.accordion-content {
    grid-column: 1/-1;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: #e9dff4;
    font-weight: 400;
    transition: max-height .3s ease, opacity .3s ease
}

.accordion-item.open .accordion-content {
    max-height: 300px;
    opacity: 1;
    padding: 8px 0 12px
}

.accordion-item.open i {
    transform: rotate(45deg)
}

.full-syllabus .roman-list {
    padding-left: 1.5rem
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px
}

.contact-detail {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 18px;
    margin-top: 18px
}

.contact-detail a {
    color: #dcc9fa
}

.contact-form {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .15);
    padding: 35px;
    border-radius: 24px
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
    font-weight: 600
}

.contact-form input,
.contact-form textarea,
.lead-form input {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 1px solid #dcd4e4;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    color: var(--ink)
}

.contact-form textarea {
    resize: vertical
}

.honeypot {
    font-size: .75rem !important;
    opacity: .5
}

.form-message {
    min-height: 24px;
    margin: 10px 0 0;
    font-size: .9rem
}


.copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 35px;
    padding-top: 18px;
    font-size: .82rem;
    color: #a99caf
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 8, 22, .9);
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 30px
}

.modal[hidden] {
    display: none
}

.modal-video {
    width: min(1000px, 100%);
    aspect-ratio: 16/9;
    background: #000
}

.modal-video iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 15px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer
}

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

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(max-width:1000px) {

    .hero-grid,
    .two-col,
    .contact-grid,
    .pricing-box {
        grid-template-columns: 1fr
    }

    .hero {
        min-height: auto
    }

    .hero-art {
        min-height: 400px
    }

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

  

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .course-card {
        grid-template-columns: 240px 1fr
    }

    .pricing-details {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 25px 0 0
    }

   
    .contact-grid {
        gap: 40px
    }
}

@media(max-width:720px) {
    .container {
        width: min(var(--container), calc(100% - 28px))
    }

    .section-light,
    .section-tint,
    .section-purple,
    .section-dark {
        padding: 70px 0
    }

    .site-header {
        position: relative
    }

    .nav-wrap {
        min-height: 74px
    }

    .brand img {
        width: 180px
    }

    .nav-toggle {
        display: flex
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 14px;
        right: 14px;
        top: 70px;
        background: #fff;
        border-radius: 15px;
        padding: 10px;
        box-shadow: var(--shadow);
        z-index: 20
    }

    .main-nav.open {
        display: grid
    }

    .main-nav a {
        color: var(--ink);
        padding: 11px 14px
    }

    .hero {
        padding-top: 80px
    }

    .hero-art {
        min-height: 320px
    }

    .family-tree-art {
        width: 320px
    }

    .tree-crown {
        font-size: 6rem
    }

    .tree-trunk {
        font-size: 9rem
    }

    .photo {
        width: 75px;
        height: 58px;
        font-size: .8rem
    }

    .two-col,
    .faq-like-grid,
    .gallery-grid,
    .contact-grid,
    .pricing-box {
        gap: 35px
    }

    .feature-grid,
    .learning-grid {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr
    }

    .gallery-img img {
        height: 280px
    }

    .course-card {
        grid-template-columns: 1fr;
        padding: 24px
    }

    .course-card img {
        max-height: 260px
    }

    .input-row {
        flex-direction: column
    }

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

    .contact-form {
        padding: 22px
    }

    .hero .btn {
        width: 100%
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        border: 0;
        background: none;
        padding: 8px
    }

    .nav-toggle span {
        width: 26px;
        height: 2px;
        background: var(--ink);
        display: block
    }

    .site-header {
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 100
    }

    .main-nav {
        top: 65px
    }

    .start-grid {
        align-items: stretch
    }
}

@media(min-width:721px) {
    .nav-toggle {
        display: none
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(255, 253, 249, .95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(80, 50, 100, .08)
    }

    .nav-wrap {
        min-height: 84px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px
    }

    .brand img {
        width: 230px
    }

    .main-nav {
        display: flex;
        gap: 24px;
        align-items: center
    }

    .main-nav a {
        font-size: .9rem;
        font-weight: 600;
        position: relative
    }

    .main-nav a:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 0;
        height: 2px;
        background: var(--purple);
        transition: width .2s
    }

    .main-nav a:hover:after {
        width: 100%
    }
}

/*ESTILOS ADICIONALES*/

.hero {
    position: relative;
    background-image: url("../img/BnrLinFam2.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.definition {
  position: relative;
  background-image:
    linear-gradient(
      rgba(91, 53, 122, 0.78),
      rgba(91, 53, 122, 0.78)
    ),
    url("../img/Bnrantiguo2.png");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: #fff;
}

@media (max-width: 767px) {
  .definition {
    background-attachment: scroll;
    background-position: center center;
  }
}

.kicker2{
    color: #fff;
}


.feature-card {
  position: relative;
  overflow: hidden;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 16px;

  padding: 2rem;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: #5b357a;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.13);

  border-color: rgba(91, 53, 122, 0.25);
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature-card {
  flex: 0 1 calc(33.333% - 2rem);
}

@media (max-width: 991px) {
  .feature-card {
    flex: 0 1 calc(50% - 2rem);
  }
}

@media (max-width: 767px) {
  .feature-card {
    flex: 0 1 100%;
  }
}


.info {
  background-image:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.75)  0%,
      rgba(244, 223, 189, 0.92) 100%
      
    ),
    url("../img/BnrLinFamFot.png");

  background-size: cover;
  /* background-position: center; */
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.pricing {
    padding-top: 30px;
}

.pricing-box {
  background: #fff;
  border: 1px solid #5b357a;
  border-radius: 18px;

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.12),
    0 0 0 4px rgba(91, 53, 122, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pricing-box:hover {
  transform: translateY(-5px);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.16),
    0 0 0 5px rgba(91, 53, 122, 0.12);
}

.roman-list {
  list-style-type: upper-roman;
  padding-left: 2rem;
}

.roman-list li {
  padding-left: 0.5rem;
}

.contact {
    position: relative;
    background-image: linear-gradient(#f4dfbd, #5b357a94), url(../img/Bnrantiguo.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  color: #fff;
  font-size: 1rem;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.contact-detail:hover .contact-icon {
  background: #5b357a;
  transform: translateY(-3px);
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #fff;
}

.contact-detail-content strong {
  font-size: 0.95rem;
}

.contact-detail-content a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-detail-content a:hover {
  opacity: 0.75;
}

.contact-detail-content p {
  margin: 0;
}

.white2{
    color: #fff;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  background: #21182a;
  color: rgba(255, 255, 255, 0.85);
}


/* Contenido principal */

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 5rem;

  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}


/* Marca */

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-brand p {
  margin: 0;
  max-width: 320px;

  font-size: 0.95rem;
  line-height: 1.8;

  color: rgba(255, 255, 255, 0.65);
}


/* Facebook */

.footer-facebook {
  width: 42px;
  height: 42px;

  margin-top: 1.5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  color: #fff;
  text-decoration: none;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.footer-facebook:hover {
  background: #5b357a;
  border-color: #5b357a;
  color: #fff;

  transform: translateY(-3px);
}


/* Columnas */

.footer-column h3 {
  margin: 0 0 1.5rem;

  color: #fff;

  font-size: 1rem;
  font-weight: 700;
}


/* Navegación */

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  width: fit-content;

  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;

  font-size: 0.95rem;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-nav a:hover {
  color: #F4DFBD;
  transform: translateX(4px);
}


/* Contacto */

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;

  gap: 0.85rem;

  margin-bottom: 1.1rem;

  font-size: 0.92rem;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.68);
}

.footer-contact-item i {
  width: 18px;
  margin-top: 4px;

  color: #F4DFBD;
  text-align: center;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;

  transition: color 0.25s ease;
}

.footer-contact-item a:hover {
  color: #F4DFBD;
}


/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom-inner {
  min-height: 75px;

  display: flex;
  align-items: center;
  justify-content:center;

  gap: 2rem;
}

.footer-bottom p {
  margin: 0;

  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;

  font-size: 0.8rem;

  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: #F4DFBD;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 500px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.75rem;

    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .footer-brand {
    grid-column: auto;
    max-width: 100%;
  }

  .footer-logo img {
    width: 210px;
  }

  .footer-bottom-inner {
    min-height: auto;

    padding-top: 1.5rem;
    padding-bottom: 1.5rem;

    flex-direction: column;
    align-items: flex-start;

    gap: 1rem;
  }

  .footer-bottom-links {
    gap: 1.25rem;
  }

}

/*CORRECIONES*/

/* =========================================
   NUEVA SECCIÓN DE APRENDIZAJE
========================================= */

.learning-new {
  position: relative;
  padding: 6rem 0;
  background: #5b357a;
  color: #fff;
}


/* =========================================
   ENCABEZADOS
========================================= */

.learning-section-heading {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.learning-section-heading h2 {
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.learning-section-heading h2 span {
  color: #F4DFBD;
}

.learning-intro {
  max-width: 650px;
  margin: 0 auto;

  color: rgba(255, 255, 255, 0.75);

  font-size: 1rem;
  line-height: 1.8;
}


/* =========================================
   COMPARACIÓN
========================================= */

.comparison-card {
  overflow: hidden;

  background: rgba(255, 255, 255, 0.97);

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;

  box-shadow:
    0 25px 60px rgba(25, 12, 35, 0.25);
}


/* Encabezados */

.comparison-header {
  min-height: 85px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 1.25rem 2rem;

  font-weight: 700;
}

.comparison-header.professional {
  background: #eee9f1;
  color: #403448;
}

.comparison-header.family {
  background: #F4DFBD;
  color: #5b357a;
}

.comparison-header.family small {
  margin-top: 0.25rem;

  font-size: 0.75rem;
  font-weight: 500;

  opacity: 0.7;
}


/* Grid de comparación */

.comparison-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.comparison-header {
  border-bottom: 1px solid rgba(91, 53, 122, 0.08);
}

.comparison-label {
  background: #fff;
}


/* Filas */

.comparison-row {
  display: contents;
}

.comparison-title,
.comparison-value {
  min-height: 110px;

  display: flex;
  align-items: center;

  padding: 1.25rem 2rem;

  border-bottom: 1px solid rgba(91, 53, 122, 0.08);
}

.comparison-title {
  gap: 1rem;
  color: #403448;
}

.comparison-title strong {
  font-size: 0.95rem;
  line-height: 1.4;
}


/* Iconos */

.comparison-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(91, 53, 122, 0.09);
  color: #5b357a;
}


/* Valores */

.comparison-value {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  gap: 0.2rem;

  color: #5b357a;

  font-size: 0.95rem;
  line-height: 1.5;
}

.comparison-value small {
  font-size: 0.78rem;
  opacity: 0.65;
}

.comparison-value.highlight {
  background: rgba(244, 223, 189, 0.35);
}

.comparison-value.highlight strong {
  color: #5b357a;
}


/* =========================================
   CÓMO APRENDERÁS
========================================= */

.learning-method {
  margin-top: 7rem;
}


/* Grid */

.learning-new-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 1.5rem;

  max-width: 1000px;

  margin: 0 auto;
}


/* Tarjetas */

.learning-new-card {
  position: relative;

  display: flex;
  align-items: flex-start;

  gap: 1.5rem;

  padding: 2rem;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.16);

  border-radius: 18px;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.learning-new-card:hover {
  transform: translateY(-6px);

  background: rgba(255, 255, 255, 0.12);

  border-color: rgba(244, 223, 189, 0.45);

  box-shadow:
    0 15px 35px rgba(25, 12, 35, 0.18);
}


/* Iconos */

.learning-card-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;

  background: #F4DFBD;

  color: #5b357a;

  font-size: 1.15rem;
}


/* Número */

.learning-number {
  display: block;

  margin-bottom: 0.35rem;

  color: #F4DFBD;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.12em;
}

.learning-new-card h3 {
  margin: 0 0 0.6rem;

  color: #fff;

  font-size: 1.15rem;
  font-weight: 750;
}

.learning-new-card p {
  margin: 0;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.92rem;
  line-height: 1.7;
}


/* =========================================
   CTA
========================================= */

.learning-cta {
  max-width: 1000px;

  margin: 3rem auto 0;

  padding: 1.75rem 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 2rem;

  background: #F4DFBD;

  border-radius: 18px;

  box-shadow:
    0 15px 40px rgba(25, 12, 35, 0.18);
}

.learning-cta-content {
  display: flex;
  align-items: center;

  gap: 1.25rem;
}

.learning-cta-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #5b357a;

  color: #fff;
}

.learning-cta h3 {
  margin: 0 0 0.35rem;

  color: #5b357a;

  font-size: 1.1rem;
  font-weight: 800;
}

.learning-cta p {
  margin: 0;

  color: rgba(63, 43, 70, 0.72);

  font-size: 0.88rem;
  line-height: 1.6;
}

.learning-cta .btn {
  flex-shrink: 0;

  background: #5b357a;
  color: #fff;

  border: none;
}

.learning-cta .btn:hover {
  background: #43265d;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

  .comparison-card {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .comparison-header,
  .comparison-title,
  .comparison-value {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .comparison-title {
    gap: 0.7rem;
  }

  .comparison-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .learning-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .learning-cta .btn {
    width: 100%;
  }

}


/* =========================================
   MOBILE
========================================= */
/* =========================================
   COMPARACIÓN - MOBILE
========================================= */

@media (max-width: 767px) {

  .learning-new {
    padding: 4rem 0;
  }

  .learning-method {
    margin-top: 5rem;
  }


  /* Contenedor */

  .comparison-card {
    display: block;

    overflow: hidden;

    border-radius: 18px;

    background: transparent;

    box-shadow: none;

    border: none;
  }


  /* Ocultamos los encabezados originales */

  .comparison-header {
    display: none;
  }


  /* Cada comparación se convierte
     en una tarjeta independiente */

  .comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-bottom: 1rem;

    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(91, 53, 122, 0.10);

    border-radius: 16px;

    box-shadow: 0 8px 20px rgba(25, 12, 35, 0.08);
  }


  /* Título de la característica */

  .comparison-title {
    grid-column: 1 / -1;

    min-height: auto;

    display: flex;
    align-items: center;

    padding: 1rem 1.15rem;

    gap: 0.7rem;

    background: #fff;

    border-bottom: 1px solid rgba(91, 53, 122, 0.08);

    color: #403448;
  }

  .comparison-title strong {
    font-size: 0.9rem;
  }


  /* Icono */

  .comparison-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;

    font-size: 0.8rem;
  }


  /* Valores */

  .comparison-value {
    min-height: 105px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    padding: 1rem;

    gap: 0.35rem;

    font-size: 0.85rem;

    line-height: 1.45;

    border: none;
  }


  /* Columna profesional */

  .comparison-value:not(.highlight) {
    background: #f5f2f6;
  }


  /* Columna Líneas de Familia */

  .comparison-value.highlight {
    background: rgba(244, 223, 189, 0.45);
  }


  /* Etiquetas que identifican cada columna */

  .comparison-value:not(.highlight)::before {
    content: "Genealogista profesional";

    display: block;

    margin-bottom: 0.25rem;

    color: #6d6370;

    font-size: 0.68rem;

    font-weight: 700;

    line-height: 1.2;
  }

  .comparison-value.highlight::before {
    content: "Líneas de Familia";

    display: block;

    margin-bottom: 0.25rem;

    color: #5b357a;

    font-size: 0.68rem;

    font-weight: 800;

    line-height: 1.2;
  }


  /* Texto */

  .comparison-value span,
  .comparison-value strong {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .comparison-value small {
    font-size: 0.68rem;
  }


  /* =========================================
     TARJETAS DE APRENDIZAJE
  ========================================== */

  .learning-new-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .learning-new-card {
    padding: 1.5rem;

    gap: 1rem;
  }

  .learning-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }


  /* =========================================
     CTA
  ========================================== */

  .learning-cta {
    padding: 1.5rem;

    gap: 1.5rem;
  }

  .learning-cta-content {
    align-items: flex-start;
  }

  .learning-cta-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

}



/* =========================================
   IMÁGENES DEL TEMARIO
========================================= */

.syllabus-images {
  position: relative;

  width: 100%;
  min-height: 560px;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* Imágenes */

.syllabus-image {
  position: absolute;

  overflow: hidden;

  border-radius: 20px;

  border: 8px solid #fff;

  box-shadow:
    0 18px 45px rgba(48, 31, 57, 0.18);

  background: #fff;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.syllabus-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


/* Imagen principal */

.syllabus-image-main {
  width: 55%;
  height: 430px;

  top: 20px;
  left: 5%;

  z-index: 2;

  transform: rotate(-2deg);
}


/* Imagen secundaria */

.syllabus-image-secondary {
  width: 65%;
  height: 360px;

  right: 2%;
  bottom: 60px;

  z-index: 1;

  transform: rotate(3deg);
}


/* Efecto al pasar el mouse */

.syllabus-images:hover .syllabus-image-main {
  transform: rotate(-1deg) translateY(-6px);
}

.syllabus-images:hover .syllabus-image-secondary {
  transform: rotate(2deg) translateY(6px);
}







/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

  .syllabus-images {
    min-height: 480px;
  }

  .syllabus-image-main {
    width: 72%;
    height: 360px;
  }

  .syllabus-image-secondary {
    width: 62%;
    height: 300px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .syllabus-images {
    min-height: auto;

    display: flex;
    flex-direction: column;

    gap: 1.5rem;

    padding: 0.5rem 0 2rem;
  }

  .syllabus-image {
    position: relative;

    width: 90%;
    height: auto;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    transform: none !important;

    border-width: 6px;
  }

  .syllabus-image-main {
    order: 1;
  }

  .syllabus-image-secondary {
    order: 2;
  }

  .syllabus-image img {
    aspect-ratio: 4 / 3;

    object-fit: cover;
  }

  .syllabus-images:hover .syllabus-image-main,
  .syllabus-images:hover .syllabus-image-secondary {
    transform: translateY(-3px) !important;
  }

}



/* =========================================
   3 OPCIONES A ELEGIR
========================================= */

.action-options {
  position: relative;
  padding: 6rem 0;

  background:
    linear-gradient(
      135deg,
      rgba(244, 223, 189, 0.25),
      rgba(255, 255, 255, 1) 48%,
      rgba(91, 53, 122, 0.06)
    );
}

.action-options-heading {
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.action-options-heading h2 {
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.action-options-heading h2 span {
  color: #5b357a;
}

.action-options-heading > p:last-child {
  max-width: 620px;
  margin: 0 auto;

  color: #706675;
  line-height: 1.8;
}


/* GRID */

.action-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 1.5rem;

  align-items: stretch;
}


/* TARJETA */

.action-option-card {
  position: relative;

  display: flex;
  flex-direction: column;

  padding: 2.25rem;

  background: rgba(255, 255, 255, 0.96);

  border: 1px solid rgba(91, 53, 122, 0.12);
  border-radius: 22px;

  box-shadow:
    0 12px 35px rgba(49, 29, 61, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.action-option-card:hover {
  transform: translateY(-8px);

  border-color: rgba(91, 53, 122, 0.28);

  box-shadow:
    0 24px 55px rgba(49, 29, 61, 0.14);
}


/* CABECERA */

.action-option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 1.75rem;
}

.action-option-number {
  color: rgba(91, 53, 122, 0.28);

  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
}

.action-option-icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background: #F4DFBD;
  color: #5b357a;

  font-size: 1.15rem;
}


/* TEXTO */

.action-option-card h3 {
  margin: 0 0 1rem;

  color: #372b3d;

  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
}

.action-option-card > p {
  margin: 0 0 1.5rem;

  color: #706675;

  font-size: 0.95rem;
  line-height: 1.75;
}


/* NOTA */

.action-option-note {
  display: flex;
  align-items: flex-start;

  gap: 0.75rem;

  margin-bottom: 1.5rem;
  padding: 1rem;

  background: #f8f5fa;

  border-radius: 12px;

  color: #5d5262;

  font-size: 0.85rem;
  line-height: 1.55;
}

.action-option-note i {
  margin-top: 3px;

  color: #5b357a;
}


/* PRECIO */

.action-option-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 1rem;

  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;

  border-bottom: 1px solid rgba(91, 53, 122, 0.1);
}

.action-option-price span {
  color: #766d7a;

  font-size: 0.85rem;
}

.action-option-price strong {
  color: #5b357a;

  font-size: 1.45rem;
  font-weight: 800;
}


/* OPCIÓN RECOMENDADA */

.action-option-featured {
  transform: translateY(-12px);

  border: 2px solid #5b357a;

  box-shadow:
    0 22px 55px rgba(49, 29, 61, 0.17);
}

.action-option-featured:hover {
  transform: translateY(-18px);
}

.action-option-badge {
  position: absolute;

  top: -14px;
  left: 50%;

  transform: translateX(-50%);

  padding: 0.45rem 1rem;

  white-space: nowrap;

  background: #5b357a;
  color: #fff;

  border-radius: 999px;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.04em;
}


/* BENEFICIO OPCIÓN 2 */

.action-option-special {
  display: flex;
  align-items: flex-start;

  gap: 0.9rem;

  margin-bottom: 1.5rem;
  padding: 1rem;

  background: rgba(244, 223, 189, 0.55);

  border: 1px solid rgba(217, 183, 130, 0.35);
  border-radius: 12px;
}

.action-option-special > i {
  margin-top: 3px;

  color: #5b357a;
}

.action-option-special strong {
  display: block;

  margin-bottom: 0.25rem;

  color: #5b357a;

  font-size: 0.85rem;
}

.action-option-special p {
  margin: 0;

  color: #64566a;

  font-size: 0.8rem;
  line-height: 1.5;
}


/* BOTONES */

.btn-option {
  width: 100%;

  margin-top: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0.95rem 1rem;

  border: 1px solid #5b357a;
  border-radius: 999px;

  background: transparent;
  color: #5b357a;

  text-align: center;

  font-size: 0.86rem;
  font-weight: 700;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn-option:hover {
  background: #5b357a;
  color: #fff;

  transform: translateY(-2px);
}

.btn-featured {
  background: #5b357a;
  color: #fff;
}

.btn-featured:hover {
  background: #43265d;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

  .action-options-grid {
    grid-template-columns: 1fr 1fr;
  }

  .action-option-featured {
    transform: none;
  }

  .action-option-featured:hover {
    transform: translateY(-8px);
  }

  .action-option-card:last-child {
    grid-column: 1 / -1;

    max-width: 520px;
    width: 100%;

    margin: 0 auto;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .action-options {
    padding: 4rem 0;
  }

  .action-options-heading {
    margin-bottom: 2.5rem;
  }

  .action-options-grid {
    grid-template-columns: 1fr;

    gap: 1.25rem;
  }

  .action-option-card {
    padding: 1.6rem;

    border-radius: 18px;
  }

  .action-option-featured {
    transform: none;

    margin-top: 0.75rem;
  }

  .action-option-card:last-child {
    grid-column: auto;

    max-width: none;
  }

  .action-option-price strong {
    font-size: 1.25rem;
  }

  .action-option-number {
    font-size: 2rem;
  }

  .action-option-icon {
    width: 46px;
    height: 46px;

    border-radius: 14px;
  }

}
/* =========================
   BOTÓN FLOTANTE WHATSAPP
   ========================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #25D366;
    border-radius: 50%;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);

    z-index: 9999;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

/* Efecto al pasar el mouse */
.whatsapp-float:hover {
    transform: scale(1.08);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.25),
        0 0 12px rgba(37, 211, 102, 0.55),
        0 0 25px rgba(37, 211, 102, 0.30);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

/* Ligero brillo también sobre el icono */
.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.05);

    filter: drop-shadow(
        0 0 4px rgba(255, 255, 255, 0.45)
    );
}