/*
Theme Name: Truly English 2026
Description: Tema hijo de Enfold para la renovación visual de Truly English.
Version: 1.0.1
Template: ENFOLD/enfold
Text Domain: truly-english-2026
*/

:root {
  --te-ink: #122a4b;
  --te-ink-soft: #315275;
  --te-coral: #ea6e57;
  --te-sand: #f7f1e8;
  --te-mint: #e4f0e9;
  --te-paper: #fffdfa;
  --te-line: #d6dfdf;
  --te-shell: 1180px;
}

* { box-sizing: border-box; }

body.truly-english-2026 {
  background: var(--te-paper);
  color: var(--te-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.te-shell {
  width: min(var(--te-shell), calc(100% - 40px));
  margin: 0 auto;
}

.te-site-header {
  background: rgba(255, 253, 250, .96);
  border-bottom: 1px solid var(--te-line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.te-header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 82px;
}

.te-brand {
  color: var(--te-ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.te-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.te-site-nav a,
.te-header-contact,
.te-site-footer a {
  color: var(--te-ink);
  text-decoration: none;
}

.te-site-nav a { font-size: .88rem; font-weight: 700; }

.te-header-contact,
.te-button {
  align-items: center;
  background: var(--te-coral);
  border: 0;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  padding: 13px 18px;
  text-decoration: none;
}

.te-main { overflow: hidden; }

.te-hero {
  background: var(--te-sand);
  padding: 84px 0 64px;
}

.te-hero-grid {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
}

.te-eyebrow {
  color: var(--te-coral);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.te-hero h1,
.te-page-content h1,
.te-section-heading h2 {
  color: var(--te-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}

.te-hero h1 { font-size: clamp(2.6rem, 6vw, 5.3rem); margin: 0 0 22px; }
.te-hero h1 em { color: var(--te-coral); }

.te-intro {
  color: var(--te-ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 600px;
}

.te-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }

.te-text-link {
  align-items: center;
  color: var(--te-ink);
  display: inline-flex;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.te-hero-image {
  background: var(--te-mint);
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.te-hero-image img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }

.te-language-strip {
  background: var(--te-ink);
  color: #fff;
  display: flex;
  font-size: .85rem;
  font-weight: 800;
  gap: 30px;
  justify-content: center;
  letter-spacing: .08em;
  padding: 17px 20px;
  text-transform: uppercase;
}

.te-section { padding: 84px 0; }
.te-section-heading { display: grid; gap: 30px; grid-template-columns: 1.1fr .9fr; margin-bottom: 36px; }
.te-section-heading h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0; }
.te-section-heading > p { color: var(--te-ink-soft); line-height: 1.65; margin: 0; }

.te-course-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }

.te-course {
  border: 1px solid var(--te-line);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
}

.te-course:nth-child(2) { background: var(--te-mint); }
.te-course:nth-child(3) { background: var(--te-sand); }
.te-course-number { color: var(--te-coral); font-size: .85rem; font-weight: 800; }
.te-course h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; margin: 34px 0 12px; }
.te-course p { color: var(--te-ink-soft); line-height: 1.55; }
.te-course a { color: var(--te-ink); font-weight: 800; margin-top: auto; }

.te-method { background: var(--te-ink); color: #fff; padding: 84px 0; }
.te-method-grid { display: grid; gap: 50px; grid-template-columns: 1fr 1fr; }
.te-method h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.05; margin: 0 0 18px; }
.te-method p { color: #d7e3ed; line-height: 1.65; }
.te-audience-list { border-top: 1px solid rgba(255,255,255,.35); }
.te-audience-list article { border-bottom: 1px solid rgba(255,255,255,.35); display: grid; gap: 18px; grid-template-columns: 34px 1fr; padding: 22px 0; }
.te-audience-list span { color: var(--te-coral); font-weight: 800; }
.te-audience-list h3 { margin: 0 0 5px; }
.te-audience-list p { margin: 0; }

.te-page-hero { background: var(--te-sand); padding: 64px 0 42px; }
.te-page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); margin: 0; }
.te-page-content { padding: 54px 0 88px; }
.te-page-content .entry-content { color: var(--te-ink-soft); line-height: 1.7; max-width: 900px; }
.te-page-content .entry-content h2,
.te-page-content .entry-content h3 { color: var(--te-ink); font-family: Georgia, "Times New Roman", serif; }

.te-page-content input,
.te-page-content textarea,
.te-page-content select {
  border: 1px solid var(--te-line);
  max-width: 100%;
  padding: 12px;
  width: 100%;
}

.te-page-content input[type="submit"] {
  background: var(--te-coral);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  width: auto;
}

.te-site-footer { background: #0c203a; color: #e9f1f3; padding: 60px 0 25px; }
.te-footer-grid { display: grid; gap: 36px; grid-template-columns: 1.3fr 1fr .8fr; }
.te-site-footer a { color: #fff; }
.te-footer-links { display: grid; gap: 10px; }
.te-footer-copy { border-top: 1px solid rgba(255,255,255,.25); font-size: .86rem; margin-top: 45px; padding-top: 20px; }

@media (max-width: 900px) {
  .te-header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .te-site-nav { justify-content: flex-start; }
  .te-hero-grid, .te-method-grid, .te-section-heading, .te-footer-grid { grid-template-columns: 1fr; }
  .te-course-grid { grid-template-columns: 1fr; }
}
