/* WORT Idiomas (/clases): same brand, lighter and friendlier than the corporate site.
   Loaded after styles.css; reuses its buttons, form fields, accordion and header. */
body.clases {
  --petrol: #12505b;
  --petrol-2: #12505b;
  --accent: #f26b5b;
  --accent-dark: #dc5445;
  --sun: #ffc857;
  --mint: #e3f4f1;
  --cream: #fff7ec;
  --bg-soft: #fff7ec;
  --line: #f0e4d2;
  --radius: 18px;
  background: #fffdf9;
}
.clases .wordmark small { font-weight: 600; font-size: .6em; letter-spacing: .04em; color: var(--accent); margin-left: 2px; }
.clases .nav a.nav-corp { color: var(--muted); font-size: .85rem; border-left: 1px solid var(--line); padding-left: 18px; }
.clases .btn { border-radius: 999px; }
.clases .lang button[aria-pressed="true"] { background: var(--accent); }

/* Hero */
.cl-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(520px 380px at 92% 18%, rgb(255 200 87 / .35), transparent 70%),
    radial-gradient(480px 360px at 0% 100%, rgb(102 165 173 / .25), transparent 70%),
    var(--cream);
}
.cl-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.cl-kicker {
  display: inline-block; font: 700 .8rem/1 var(--heading); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: #ffe7e3; padding: 8px 14px; border-radius: 999px; margin-bottom: 20px;
}
.cl-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; color: var(--petrol); }
.cl-lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--muted); line-height: 1.75; max-width: 54ch; }
.cl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.cl-cta .btn-wa { align-self: auto; }
.cl-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cl-chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  font: 600 .85rem/1 var(--heading); color: var(--petrol); box-shadow: 0 4px 12px rgb(18 80 91 / .06);
}
.cl-hero-art { position: relative; }
.cl-blob {
  border-radius: 58% 42% 46% 54% / 48% 55% 45% 52%; overflow: hidden; aspect-ratio: 1 / .92;
  box-shadow: 0 30px 60px rgb(18 80 91 / .18); border: 8px solid #fff;
}
.cl-blob img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.bubble {
  position: absolute; font: 800 1.05rem/1 var(--heading); padding: 12px 18px; border-radius: 18px; color: #fff;
  box-shadow: 0 10px 24px rgb(0 0 0 / .12); animation: floaty 5s ease-in-out infinite;
}
.bubble::after { content: ""; position: absolute; bottom: -8px; left: 22px; border: 8px solid transparent; border-bottom: 0; border-top-color: inherit; }
.b1 { background: var(--accent); border-color: var(--accent); top: 6%; left: -4%; }
.b1::after { border-top-color: var(--accent); }
.b2 { background: var(--petrol); top: 42%; right: -5%; animation-delay: -1.6s; }
.b2::after { border-top-color: var(--petrol); }
.b3 { background: var(--sun); color: var(--petrol); bottom: 4%; left: 10%; animation-delay: -3.2s; }
.b3::after { border-top-color: var(--sun); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Section titles */
.cl-title { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.cl-title h2 { color: var(--petrol); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.cl-title h2::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 5px; background: var(--sun); margin: 14px auto 0; }
.cl-title p { color: var(--muted); margin: 0; }

/* Modalities */
.cl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: 0 10px 28px rgb(18 80 91 / .06); transition: transform .3s, box-shadow .3s;
}
.cl-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgb(18 80 91 / .12); }
.cl-card h3 { color: var(--petrol); font-size: 1.25rem; }
.cl-card p { color: var(--muted); margin: 0; }
.cl-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--mint); color: var(--petrol); margin-bottom: 18px; }
.cl-card:nth-child(2) .cl-ico { background: #ffe7e3; color: var(--accent); }
.cl-card:nth-child(3) .cl-ico { background: #fff1d1; color: #b07400; }
.cl-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cl-ico.sm { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex: none; }
.cl-ico.sm svg { width: 22px; height: 22px; }
.cl-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.cl-formats > div { display: flex; gap: 16px; align-items: center; background: var(--mint); border-radius: var(--radius); padding: 20px 24px; }
.cl-formats h4 { color: var(--petrol); margin: 0 0 2px; }
.cl-formats p { margin: 0; color: var(--muted); }

/* Levels */
.cl-lvl { background: var(--cream); }
.cl-levels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cl-levels li { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 10px 28px rgb(18 80 91 / .06); }
.lvl-bar { display: block; height: 8px; border-radius: 8px; background: #f3ece1; margin-bottom: 22px; overflow: hidden; }
.lvl-bar i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, var(--sun), var(--accent)); }
.lvl-n { position: absolute; top: 44px; right: 24px; font: 800 2.4rem/1 var(--heading); color: #f3ece1; }
.cl-levels h3 { color: var(--petrol); font-size: 1.35rem; }
.cl-levels p { margin: 0; color: var(--muted); }

/* Method */
.cl-met-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.cl-met-img { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 24px 48px rgb(18 80 91 / .15); }
.cl-met-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-met h2 { color: var(--petrol); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.cl-met p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.cl-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cl-checks li { display: flex; align-items: center; gap: 12px; font: 600 .95rem/1.3 var(--heading); color: var(--petrol); }
.ck { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; }
.ck svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ */
.cl-faq { background: #fffdf9; }
.clases .accordion details { border-radius: 14px; }
.clases .accordion summary::after { background: var(--mint); }
.clases .accordion details[open] { border-color: var(--sun); }

/* Contact */
.cl-contact { background: linear-gradient(160deg, var(--petrol) 0%, #1b6b75 100%); color: #fff; }
.cl-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 64px); align-items: start; }
.cl-contact h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.cl-contact .cl-lead { color: rgb(255 255 255 / .82); }
.cl-reach { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; color: rgb(255 255 255 / .85); }
.cl-reach a { color: #fff; text-decoration: none; }
.cl-reach a:hover { text-decoration: underline; }
.cl-reach .btn-wa:hover { text-decoration: none; }
.clases .contact-form { border-radius: 22px; }
.clases .field input, .clases .field select, .clases .field textarea { border-radius: 12px; }

/* Footer */
.cl-footer { background: var(--cream); padding: 40px 0; border-top: 1px solid var(--line); }
.cl-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cl-footer .wordmark { color: var(--petrol); font-size: 1.4rem; }
.cl-footer .brand img { width: 36px; height: 36px; }
.cl-foot-corp { margin: 0; color: var(--muted); }
.cl-foot-corp a { color: var(--accent); font-weight: 700; text-decoration: none; }
.cl-copy { margin: 0; width: 100%; text-align: center; color: var(--muted); font-size: .85rem; padding-top: 16px; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .cl-hero-grid, .cl-met-grid, .cl-contact-grid { grid-template-columns: 1fr; }
  .cl-hero-art { max-width: 460px; margin: 10px auto 0; }
  .cl-cards, .cl-levels { grid-template-columns: 1fr; }
  .clases .nav a.nav-corp { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .cl-formats, .cl-checks { grid-template-columns: 1fr; }
  .clases .header-inner { gap: 10px; }
  .clases .wordmark { font-size: 1.2rem; }
  .clases .brand img { width: 34px; height: 34px; }
  .clases .lang button { padding: .34rem .45rem; }
  .cl-cta .btn { width: 100%; }
  .bubble { font-size: .9rem; padding: 10px 14px; }
  .b1 { left: 0; } .b2 { right: 0; }
}
