:root {
    --bg: #ffffff;
    --ink: #1c1d27;
    --muted: #62627a;
    --line: #ececf6;

    --morado: #6B4BFF;
    --lila: #9C88FF;
    --morado-soft: #f5f1ff;
    --negro: #111319;

    --radius: 18px;
    --shadow-sm: 0 8px 20px rgba(0, 0, 0, .08);
    --shadow-md: 0 16px 36px rgba(0, 0, 0, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.container {
    width: min(1200px, 92vw);
    margin-inline: auto;
}

.w100 {
    width: 100%;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 84px;
}

.bg-deco {
    position: fixed;
    inset: -10vmax -10vmax;
    z-index: -2;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: .10;
    filter: blur(40px);
}

.b1 {
    width: 40vmax;
    height: 40vmax;
    background: var(--lila);
    top: -8vmax;
    left: -6vmax;
    animation: drift 26s ease-in-out infinite;
}

.b2 {
    width: 34vmax;
    height: 34vmax;
    background: var(--morado);
    bottom: -10vmax;
    right: -6vmax;
    animation: drift 32s ease-in-out infinite reverse;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(2vmax, -2vmax);
    }
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 70px;
    width: min(1200px, 92vw);
    margin: auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
}

.logo-img {
    height: clamp(42px, 6vw, 52px);
    width: auto;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    color: var(--ink);
    padding: .55rem .85rem;
    border-radius: 999px;
    transition: .2s;
}

.menu a:hover {
    background: #f5f3ff;
    color: var(--morado);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.15rem;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid #ddd;
    font-weight: 600;
    transition: .2s;
    cursor: pointer;
}

.btn-primary {
    background: var(--morado);
    color: #fff;
    border-color: var(--morado);
    box-shadow: 0 12px 24px #6b4bff2a;
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
}

.btn-outline {
    background: #fff;
    color: var(--morado);
    border-color: var(--morado);
}

.btn-outline:hover {
    background: #f5f3ff;
}

.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--morado);
    margin: 4px 0;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding-top: 24px;
}

.hero-inner {
    width: min(1200px, 92vw);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    align-items: center;
    gap: 42px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-copy h1 {
    margin: .2rem 0 .6rem;
    color: var(--morado);
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    line-height: 1.08;
    max-width: 10ch;
}

.lead {
    color: var(--muted);
    max-width: 62ch;
    margin: 0 0 1.2rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.hero-bullets {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #2e2e52;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fbfaff;
    border: 1px dashed #e7e2ff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .95rem;
}

.hero-figure {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-figure::before {
    content: "";
    position: absolute;
    inset: 8% -3% -6% 12%;
    background: linear-gradient(135deg, rgba(156, 136, 255, .22), rgba(107, 75, 255, .10));
    border-radius: 34px;
    z-index: 0;
    filter: blur(2px);
}

.hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    height: auto;
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    border: 6px solid rgba(255, 255, 255, .9);
}

.wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
}

.wave path {
    fill: #f7f6ff;
}

/* Agenda rápida j*/
.quick-agenda {
    width: 100%;
    max-width: 560px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
    border: 1px solid #ece6ff;
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.quick-agenda-title {
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--morado);
    font-size: 1rem;
}

.quick-agenda-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick-agenda-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: #fff;
    color: var(--ink);
    border: 1px solid #e7e2ff;
    border-radius: 16px;
    padding: 16px 16px;
    box-shadow: 0 8px 20px rgba(107, 75, 255, .08);
    transition: .25s ease;
    min-height: 72px;
}

.quick-agenda-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: #fbfaff;
}

.quick-agenda-card i {
    font-size: 1.3rem;
    color: var(--morado);
    min-width: 22px;
}

.quick-agenda-card span {
    font-weight: 600;
    line-height: 1.3;
}

/* Secciones */
.section {
    padding: 72px 0;
}

.section.alt {
    background: #fbfaff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    text-align: center;
    margin-bottom: 22px;
}

.section-head .sub {
    color: var(--muted);
}

.text-block {
    max-width: 80ch;
    margin-inline: auto;
    color: var(--ink);
}

/* Servicios */
.section-services {
    background: #fff;
}

.section-services.alt {
    background: #f9f8ff;
}

.header-section {
    text-align: center;
    margin-bottom: 26px;
}

.header-section .title {
    font-weight: 700;
    color: var(--morado);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.header-section .title:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2px;
    width: 54px;
    height: 3px;
    background: var(--morado);
    border-radius: 3px;
}

.header-section .description {
    color: #454560;
    max-width: 80ch;
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
    gap: 18px;
    margin-top: 18px;
}

.single-service {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 26px 22px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, .07);
    border: 1px solid #eee;
    transition: .45s;
}

.single-service .content {
    position: relative;
    z-index: 2;
}

.single-service .icon {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    background: var(--morado);
    color: #fff;
    border-radius: 8px;
    font-size: 30px;
    margin-bottom: 16px;
    transition: .3s;
}

.single-service .title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.single-service .description {
    font-size: 14px;
    color: #444;
    margin: 0;
}

.single-service .circle-before {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(40%, -40%);
    width: 150px;
    height: 150px;
    background: var(--morado);
    border: 6px solid var(--lila);
    border-radius: 50%;
    opacity: .55;
    z-index: 1;
    transition: .6s;
}

.single-service:hover {
    transform: translateY(-6px);
}

.single-service:hover .circle-before {
    width: 100%;
    height: 100%;
    transform: none;
    border: 0;
    border-radius: 0;
    opacity: 1;
}

.single-service:hover .icon {
    background: #fff;
    color: var(--morado);
}

.single-service:hover .title,
.single-service:hover .description {
    color: #fff;
}

/* Sobre */
.about-carousel {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: clamp(12px, 3vw, 20px);
    width: max-content;
    animation: scrollInfinite 25s linear infinite;
}

.carousel-track img {
    height: clamp(160px, 34vw, 260px);
    border-radius: clamp(18px, 3vw, 25px);
    flex-shrink: 0;
}

@keyframes scrollInfinite {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* PLANES */
.plans-section {
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.plans-groups {
    display: grid;
    gap: 28px;
    margin-top: 30px;
}

.plan-group {
    background: #fff;
    border: 1px solid #ece6ff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.plan-group-head {
    margin-bottom: 18px;
}

.plan-group-head h3 {
    margin: 10px 0 0;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--ink);
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--morado-soft);
    color: var(--morado);
    border: 1px solid #e6ddff;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: .95rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 18px;
}

.plans-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

.plan-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
    border: 1px solid #ebe5ff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(107, 75, 255, .08);
    transition: .3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(107, 75, 255, .14);
}

.plan-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.plan-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f5f1ff;
    color: var(--morado);
    font-size: .85rem;
    font-weight: 700;
    border: 1px solid #e3d9ff;
}

.plan-sessions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--morado);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(107, 75, 255, .18);
}

.plan-card h4 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1.08rem;
}

.plan-card p {
    margin: 0;
    color: #555571;
    line-height: 1.65;
    font-size: .96rem;
}

/* CONVENIOS */
.agreements-section {
    background: #fff;
}

.agreements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 22px;
    margin-top: 30px;
}

.agreement-card {
    background: #fff;
    border: 1px solid #ebe5ff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.agreement-logo-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: clamp(260px, 28vw, 340px);
    background: linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
    border: 1px solid #ece6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.agreement-logo {
    width: min(220px, 68%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform .35s ease, opacity .35s ease;
}

.agreement-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(12, 13, 19, 0.12) 0%,
            rgba(12, 13, 19, 0.68) 46%,
            rgba(12, 13, 19, 0.94) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: clamp(16px, 2vw, 24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
    overflow-y: auto;
}

.agreement-overlay h3 {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.agreement-overlay p {
    margin: 0;
    max-width: 30ch;
    font-size: clamp(.87rem, 1vw, .98rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.agreement-logo-wrap.is-open .agreement-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.agreement-logo-wrap.is-open .agreement-logo {
    transform: scale(1.03);
    opacity: .14;
}

/* Hover solo donde realmente existe */
@media (hover: hover) and (pointer: fine) {
    .agreement-logo-wrap:hover .agreement-overlay {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .agreement-logo-wrap:hover .agreement-logo {
        transform: scale(1.03);
        opacity: .14;
    }
}

@media (max-width: 760px) {
    .agreement-card {
        padding: 16px;
    }

    .agreement-logo-wrap {
        min-height: 320px;
    }

    .agreement-logo {
        width: min(190px, 62%);
    }

    .agreement-overlay {
        padding: 18px 16px;
        gap: 6px;
    }

    .agreement-overlay h3 {
        font-size: 1rem;
    }

    .agreement-overlay p {
        max-width: 100%;
        font-size: .92rem;
        line-height: 1.48;
    }
}

@media (max-width: 520px) {
    .agreement-logo-wrap {
        min-height: 340px;
    }

    .agreement-logo {
        width: min(180px, 58%);
    }

    .agreement-overlay {
        padding: 16px 14px;
    }

    .agreement-overlay h3 {
        font-size: .98rem;
    }

    .agreement-overlay p {
        font-size: .88rem;
        line-height: 1.45;
    }
}

@media (max-width: 420px) {
    .agreement-card {
        padding: 14px;
    }

    .agreement-logo-wrap {
        min-height: 350px;
    }

    .agreement-overlay {
        padding: 15px 13px;
    }

    .agreement-overlay h3 {
        font-size: .95rem;
    }

    .agreement-overlay p {
        font-size: .84rem;
        line-height: 1.42;
    }
}

/* Equipo */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: clamp(16px, 4vw, 28px);
    margin-top: 30px;
    text-align: center;
}

.team-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

.avatar {
    width: clamp(130px, 42vw, 190px);
    height: clamp(130px, 42vw, 190px);
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #f3f1ff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.team-info h3 {
    margin: 10px 0 4px;
    color: var(--morado);
}

.team-info h4 {
    margin: 0 0 12px;
    color: #5e5e85;
    font-weight: 600;
}

.team-info p {
    font-size: .95rem;
    color: #444;
}

/* Contacto */
.contact .contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(14px, 3vw, 18px);
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.field {
    margin-bottom: 12px;
}

.field.duo {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
    display: block;
    font-size: .92rem;
    color: #2e2e52;
    margin-bottom: .35rem;
}

input,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #e7e7f3;
    background: #fbfbff;
    padding: .9rem 1rem;
    color: #2a2a44;
    outline: none;
    transition: .2s;
}

input:focus,
textarea:focus {
    border-color: #cfc3ff;
    box-shadow: 0 0 0 3px #6b4bff22;
}

.info-card {
    display: grid;
    gap: 14px;
    width: 100%;
}

.contact-side-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.hours {
    display: grid;
    gap: 8px;
    background: #fafaff;
    border: 1px solid #eeeeff;
    border-radius: 16px;
    padding: 14px;
}

.hours h3 {
    margin: 0 0 6px;
    color: var(--morado);
}

.hours>div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.hours .off {
    color: #9b99b8;
}

.contact-mini-lines {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.contact-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-mini-item i {
    font-size: 1.05rem;
    color: var(--morado);
}

.contact-mini-item a {
    text-decoration: none;
    color: var(--morado);
    font-weight: 600;
    word-break: break-word;
}

.contact-socials {
    gap: 14px;
}

.social-icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: var(--morado-soft);
    color: var(--morado);
    text-decoration: none;
    border: 1px solid #e6ddff;
    transition: .25s ease;
}

.social-icon i {
    font-size: 1.4rem;
    color: var(--morado);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    background: #efe9ff;
}

.map {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f5f5ff;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(180deg, #fdfcff 0%, #f7f4ff 100%);
    border-top: 1px solid var(--line);
    margin-top: 40px;
    padding-top: 36px;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(180px, .8fr) minmax(180px, .8fr);
    gap: 32px;
    align-items: start;
    padding-bottom: 28px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-link {
    display: inline-flex;
    text-decoration: none;
}

.btn-visual {
    cursor: default;
    pointer-events: none;
}

.footer-logo {
    width: 72px;
    max-width: 72px;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

.footer-brand-name {
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--morado);
    font-size: 1.05rem;
    line-height: 1.35;
}

.footer-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    max-width: 42ch;
    font-size: .95rem;
}

.footer-links h4,
.footer-contact h4 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 1rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    display: inline-block;
    text-decoration: none;
    color: #4f4f6d;
    transition: .2s ease;
    width: fit-content;
    line-height: 1.5;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--morado);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid #e9e4f7;
    background: rgba(255, 255, 255, .55);
}

.foot-bottom-wrap {
    min-height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
}

.foot-bottom-wrap small {
    color: #666680;
    line-height: 1.55;
    display: block;
}

.to-top {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--morado);
    color: var(--morado);
    background: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: .2s ease;
}

.to-top:hover {
    transform: translateY(-3px);
    background: #f5f1ff;
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .to-top {
        right: 18px;
        bottom: 18px;
    }
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: .7s ease;
}

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

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

/* Bubble idioma */
.lang-bubble {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    display: inline-flex;
    gap: 6px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.lang-btn {
    border: 1px solid #e6e0ff;
    background: #fbfaff;
    color: var(--morado);
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: .2s;
    line-height: 1;
    min-width: 46px;
}

.lang-btn:hover {
    background: #f5f3ff;
}

.lang-btn[aria-pressed="true"] {
    background: var(--morado);
    border-color: var(--morado);
    color: #fff;
}

/* Responsive */
@media (max-width: 980px) {
    .hero {
        min-height: auto;
        padding: 72px 0 24px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .hero-copy {
        align-items: center;
    }

    .hero-copy h1 {
        max-width: 14ch;
    }

    .hero-actions {
        justify-content: center;
    }

    .quick-agenda {
        margin-inline: auto;
    }

    .hero-bullets {
        justify-content: center;
    }

    .hero-figure {
        display: block;
        max-width: 620px;
        margin: 0 auto;
    }

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

@media (max-width: 760px) {
    .menu {
        display: none;
    }

    .burger {
        display: block;
    }

    .field.duo {
        grid-template-columns: 1fr;
    }

    .quick-agenda-actions {
        grid-template-columns: 1fr;
    }

    .wave {
        height: 90px;
    }

    .plan-group {
        padding: 18px;
    }

    .plan-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .form-card {
        padding: 16px;
    }

    #btnEnviar {
        width: 100%;
    }

    .lang-bubble {
        bottom: 90px;
    }
}

@media (max-width: 420px) {
    .btn {
        width: 100%;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-bullets li {
        width: 100%;
        justify-content: center;
    }

    .lang-bubble {
        right: 12px;
        bottom: 12px;
        padding: 6px;
    }

    .lang-btn {
        padding: 9px 10px;
        min-width: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        animation: none !important;
    }

    .reveal {
        transition: none !important;
    }
}

@supports (padding: max(0px)) {
    .lang-bubble {
        bottom: max(18px, env(safe-area-inset-bottom));
        right: max(18px, env(safe-area-inset-right));
    }

    @media (max-width: 520px) {
        .lang-bubble {
            bottom: max(90px, env(safe-area-inset-bottom));
        }
    }
}