@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #005dbf;
  --primary4: #fed701;
  --primary5: #161b2d;
  --secondary: #5d6878;
  --black: #161b2d;
  --green: #fed701;
  --lime-green: #fed701;
  --bg: #f4f8fd;
  --white: #ffffff;
  --font_monts: "Urbanist", sans-serif;
  --font_jakarta: "Urbanist", sans-serif;
  --easytcf-shadow: 0 24px 70px rgba(11, 38, 78, 0.12);
  --easytcf-border: rgba(0, 93, 191, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(254, 215, 1, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(0, 93, 191, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8fd 100%);
  color: var(--secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.03em;
}

a,
button {
  transition: all 0.3s ease;
}

.theme-bg-black {
  background: var(--black) !important;
}

.header-main {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(22, 27, 45, 0.05);
}

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

.header-top__dec,
.header-top__support a,
.header-top__meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.header-top__left,
.header-top__right {
  gap: 24px;
}

.header__logo img,
.offset-logo img {
  width: auto;
  height: 56px;
  object-fit: contain;
  max-width: 100%;
}

.main-menu ul li > a {
  color: var(--black);
  font-weight: 600;
}

.main-menu ul li.active > a,
.main-menu ul li > a:hover {
  color: var(--primary);
}

.header-btn {
  align-items: center;
  gap: 14px;
}

.rr-btn,
.easytcf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  box-shadow: 0 18px 40px rgba(0, 93, 191, 0.18);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.rr-btn .btn-wrap,
.easytcf-btn .btn-wrap {
  display: inline-flex;
  overflow: hidden;
}

.rr-btn .text-one,
.rr-btn .text-two,
.easytcf-btn .text-one,
.easytcf-btn .text-two {
  color: inherit;
}

.rr-btn:hover,
.easytcf-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.easytcf-btn--ghost {
  background: var(--white);
  border-color: rgba(22, 27, 45, 0.1);
  box-shadow: 0 16px 35px rgba(22, 27, 45, 0.08);
  color: var(--black);
}

.easytcf-btn--ghost:hover {
  background: var(--black);
  border-color: var(--black);
}

.easytcf-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 93, 191, 0.09);
  box-shadow: 0 18px 40px rgba(22, 27, 45, 0.08);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.easytcf-badge::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.easytcf-page-hero,
.easytcf-inner-hero {
  position: relative;
  overflow: hidden;
}

.easytcf-page-hero {
  padding: 176px 0 110px;
}

.easytcf-page-hero::before,
.easytcf-inner-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(254, 215, 1, 0.28), transparent 24%),
    radial-gradient(circle at 14% 20%, rgba(0, 93, 191, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(244, 248, 253, 0.95) 100%);
  content: "";
}

.easytcf-inner-hero {
  padding: 170px 0 82px;
}

.easytcf-page-hero .container,
.easytcf-inner-hero .container,
.easytcf-section .container {
  position: relative;
  z-index: 2;
}

.easytcf-hero-grid,
.easytcf-split-grid,
.easytcf-contact-grid,
.easytcf-auth-shell {
  display: grid;
  gap: 34px;
  align-items: center;
}

.easytcf-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.easytcf-split-grid,
.easytcf-contact-grid,
.easytcf-auth-shell {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.easytcf-hero-title,
.easytcf-inner-hero__title {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
}

.easytcf-inner-hero__title {
  margin-top: 16px;
}

.easytcf-hero-subtitle,
.easytcf-inner-hero__lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.7;
}

.easytcf-chip-row,
.easytcf-action-row,
.easytcf-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.easytcf-chip-row {
  margin-top: 30px;
}

.easytcf-action-row {
  margin-top: 34px;
}

.easytcf-chip {
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 27, 45, 0.08);
  box-shadow: 0 16px 35px rgba(11, 38, 78, 0.08);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
}

.easytcf-hero-media {
  position: relative;
  min-height: 560px;
}

.easytcf-hero-orbit {
  position: absolute;
  inset: 6% 6% 10%;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(0, 93, 191, 0.08), rgba(0, 93, 191, 0.02)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.92));
  box-shadow: var(--easytcf-shadow);
}

.easytcf-hero-main {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: min(92%, 500px);
}

.easytcf-hero-thumb {
  position: absolute;
  left: 3%;
  bottom: 11%;
  width: 180px;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 55px rgba(22, 27, 45, 0.16);
}

.easytcf-hero-thumb img {
  width: 100%;
  border-radius: 18px;
}

.easytcf-floating-card {
  position: absolute;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 55px rgba(22, 27, 45, 0.12);
}

.easytcf-floating-card--top {
  top: 8%;
  right: 2%;
}

.easytcf-floating-card--left {
  top: 26%;
  left: 0;
}

.easytcf-floating-card--bottom {
  right: 8%;
  bottom: 9%;
}

.easytcf-floating-card strong,
.easytcf-stat strong,
.easytcf-metric strong {
  display: block;
  color: var(--black);
  font-size: 26px;
  font-weight: 800;
}

.easytcf-floating-card span,
.easytcf-stat span,
.easytcf-metric span {
  display: block;
  margin-top: 6px;
  color: var(--secondary);
  line-height: 1.5;
}

.easytcf-section {
  padding: 110px 0;
}

.easytcf-section--tight {
  padding-top: 90px;
  padding-bottom: 90px;
}

.easytcf-section--light {
  background: rgba(255, 255, 255, 0.72);
}

.easytcf-section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.easytcf-section-heading h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
}

.easytcf-section-heading p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.8;
}

.easytcf-card,
.easytcf-stat,
.easytcf-pricing-card,
.easytcf-testimonial,
.easytcf-form-card,
.easytcf-auth-card,
.easytcf-contact-card,
.easytcf-faq-card,
.easytcf-media-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--easytcf-border);
  box-shadow: var(--easytcf-shadow);
}

.easytcf-card,
.easytcf-pricing-card,
.easytcf-testimonial,
.easytcf-contact-card,
.easytcf-faq-card {
  padding: 32px;
}

.easytcf-media-card,
.easytcf-form-card,
.easytcf-auth-card {
  padding: 36px;
}

.easytcf-grid-3,
.easytcf-grid-4,
.easytcf-grid-2 {
  display: grid;
  gap: 24px;
}

.easytcf-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.easytcf-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.easytcf-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.easytcf-stat {
  padding: 28px;
  text-align: left;
}

.easytcf-stat__label {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
}

span.easytcf-icon,
.easytcf-stat .easytcf-icon,
.easytcf-card .easytcf-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(0, 93, 191, 0.08);
  color: var(--primary);
  font-size: 22px;
  margin-top: 0;
}

.easytcf-card h3,
.easytcf-pricing-card h3,
.easytcf-contact-card h3,
.easytcf-testimonial h3 {
  margin-top: 18px;
  font-size: 26px;
  line-height: 1.1;
}

.easytcf-card p,
.easytcf-contact-card p,
.easytcf-testimonial p {
  margin-top: 14px;
  line-height: 1.8;
}

.easytcf-checklist {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.easytcf-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--black);
  line-height: 1.7;
}

.easytcf-checklist li::before {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-family: var(--font_awesome);
  font-weight: 700;
  content: "\f00c";
}

.easytcf-pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.easytcf-pricing-card__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(0, 93, 191, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.easytcf-pricing-card__price {
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  color: var(--black);
}

.easytcf-pricing-card__price strong {
  font-size: 56px;
  line-height: 0.9;
}

.easytcf-pricing-card__price span {
  font-size: 16px;
  line-height: 1.6;
}

.easytcf-pricing-card__body {
  margin-top: 18px;
  flex: 1;
}

.easytcf-pricing-card--featured {
  background:
    linear-gradient(180deg, rgba(0, 93, 191, 0.98) 0%, rgba(11, 69, 136, 0.98) 100%);
  color: rgba(255, 255, 255, 0.84);
  transform: translateY(-8px);
}

.easytcf-pricing-card--featured h3,
.easytcf-pricing-card--featured strong,
.easytcf-pricing-card--featured li,
.easytcf-pricing-card--featured .easytcf-pricing-card__price span {
  color: var(--white);
}

.easytcf-pricing-card--featured .easytcf-pricing-card__eyebrow {
  background: rgba(254, 215, 1, 0.14);
  color: var(--green);
}

.easytcf-pricing-card--featured .easytcf-btn--ghost {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}

.easytcf-pricing-card--featured .easytcf-btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
}

.easytcf-partner-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.easytcf-partner {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(22, 27, 45, 0.06);
  box-shadow: 0 20px 50px rgba(22, 27, 45, 0.08);
  padding: 20px;
}

.easytcf-partner img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.easytcf-testimonial {
  position: relative;
}

.easytcf-testimonial__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.easytcf-testimonial__meta img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.easytcf-testimonial__meta strong {
  display: block;
  color: var(--black);
  font-size: 18px;
}

.easytcf-testimonial__meta span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--secondary);
}

.easytcf-media-card img {
  width: 100%;
  border-radius: 24px;
}

.easytcf-highlight {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.easytcf-metric {
  min-width: 180px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(0, 93, 191, 0.06);
}

.easytcf-form-card h2,
.easytcf-auth-card h2 {
  font-size: 36px;
}

.easytcf-form-card p,
.easytcf-auth-card p {
  margin-top: 14px;
  line-height: 1.8;
}

.easytcf-field {
  margin-top: 18px;
}

.easytcf-field label {
  display: block;
  margin-bottom: 10px;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
}

.easytcf-input,
.easytcf-textarea {
  width: 100%;
  border: 1px solid rgba(0, 93, 191, 0.14);
  border-radius: 18px;
  background: #ffffff;
  color: var(--black);
  font-size: 16px;
  line-height: 1.5;
}

.easytcf-input {
  min-height: 58px;
  padding: 0 18px;
}

.easytcf-textarea {
  min-height: 150px;
  padding: 16px 18px;
  resize: vertical;
}

.easytcf-input:focus,
.easytcf-textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 93, 191, 0.08);
}

.easytcf-auth-panel {
  padding: 42px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(254, 215, 1, 0.3), transparent 26%),
    linear-gradient(180deg, #0f2744 0%, #161b2d 100%);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 32px 80px rgba(10, 24, 44, 0.24);
}

.easytcf-auth-panel h2,
.easytcf-auth-panel h3,
.easytcf-auth-panel li,
.easytcf-auth-panel strong {
  color: var(--white);
}

.easytcf-auth-panel .easytcf-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.easytcf-auth-panel .easytcf-badge::before {
  background: var(--green);
}

.easytcf-auth-logo {
  width: auto;
  height: 60px;
}

.easytcf-auth-points {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.easytcf-auth-points li {
  position: relative;
  padding-left: 30px;
  line-height: 1.7;
}

.easytcf-auth-points li::before {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--green);
  font-family: var(--font_awesome);
  content: "\f058";
}

.easytcf-inline-link {
  color: var(--primary);
  font-weight: 700;
}

.easytcf-inline-link:hover {
  color: var(--black);
}

.accordion-item {
  border: 0;
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 16px 35px rgba(11, 38, 78, 0.08);
}

.accordion-item + .accordion-item {
  margin-top: 16px;
}

.accordion-button {
  padding: 22px 24px;
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
}

.accordion-button:not(.collapsed) {
  background: rgba(0, 93, 191, 0.08);
  color: var(--black);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: 0 24px 24px;
  color: var(--secondary);
  line-height: 1.8;
}

.easytcf-cta-band {
  padding: 38px 40px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(254, 215, 1, 0.3), transparent 28%),
    linear-gradient(135deg, #0f2744 0%, #005dbf 100%);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 70px rgba(0, 93, 191, 0.24);
}

.easytcf-cta-band h2,
.easytcf-cta-band p {
  color: var(--white);
}

.easytcf-footer {
  background:
    radial-gradient(circle at top left, rgba(254, 215, 1, 0.18), transparent 18%),
    linear-gradient(180deg, #101a2a 0%, #161b2d 100%);
}

.easytcf-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.8fr;
  gap: 28px;
}

.easytcf-footer__brand img {
  width: auto;
  height: 58px;
}

.easytcf-footer__brand p {
  margin-top: 24px;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.easytcf-footer .title h4,
.easytcf-footer a,
.easytcf-footer strong {
  color: var(--white);
}

.easytcf-footer a:hover {
  color: var(--green);
}

.easytcf-footer__list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.easytcf-footer__list li,
.easytcf-footer__list a,
.easytcf-footer__meta {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.easytcf-footer__bottom {
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.loader-wrap .load-text span:nth-child(odd) {
  color: var(--primary);
}

.loader-wrap .load-text span:nth-child(even) {
  color: var(--green);
}

@media (max-width: 1399px) {
  .easytcf-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .easytcf-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .easytcf-hero-grid,
  .easytcf-split-grid,
  .easytcf-contact-grid,
  .easytcf-auth-shell,
  .easytcf-grid-3,
  .easytcf-grid-2,
  .easytcf-partner-row {
    grid-template-columns: 1fr;
  }

  .easytcf-page-hero {
    padding-top: 150px;
  }

  .easytcf-hero-media {
    min-height: 500px;
  }
}

@media (max-width: 991px) {
  .header-top {
    display: none;
  }

  .easytcf-inner-hero {
    padding-top: 140px;
  }

  .easytcf-card,
  .easytcf-pricing-card,
  .easytcf-testimonial,
  .easytcf-form-card,
  .easytcf-auth-card,
  .easytcf-contact-card,
  .easytcf-faq-card,
  .easytcf-media-card,
  .easytcf-auth-panel,
  .easytcf-cta-band {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  .easytcf-page-hero,
  .easytcf-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .easytcf-inner-hero {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .easytcf-hero-subtitle,
  .easytcf-inner-hero__lead,
  .easytcf-section-heading p {
    font-size: 17px;
  }

  .easytcf-hero-media {
    min-height: 420px;
  }

  .easytcf-hero-thumb {
    width: 130px;
  }

  .easytcf-floating-card {
    padding: 14px 16px;
  }

  .easytcf-grid-4,
  .easytcf-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .easytcf-page-hero {
    padding-top: 132px;
  }

  .easytcf-hero-title,
  .easytcf-inner-hero__title {
    font-size: 38px;
  }

  .easytcf-card,
  .easytcf-pricing-card,
  .easytcf-testimonial,
  .easytcf-form-card,
  .easytcf-auth-card,
  .easytcf-contact-card,
  .easytcf-faq-card,
  .easytcf-media-card,
  .easytcf-auth-panel,
  .easytcf-cta-band {
    padding: 24px;
    border-radius: 24px;
  }

  .easytcf-hero-media {
    min-height: 360px;
  }

  .easytcf-hero-thumb,
  .easytcf-floating-card--left {
    display: none;
  }
}


/* =====================================================
   EASYTCF – COMPREHENSIVE MOBILE RESPONSIVE PATCH
   Covers: inner-pages, account shell, quiz, expression écrite,
   pricing, buttons, tables, modals, footer, forms
======================================================= */

/* ── Prevent horizontal scroll on all devices ─────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* ── Images and media always fluid ──────────────────── */
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ── Buttons always stay within viewport ─────────────── */
.easytcf-btn, .rr-btn {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

/* ── Ensure metric cards don't force wide layouts ───── */
.easytcf-metric {
  min-width: 0 !important;
  flex: 1 1 140px;
}

/* ── Fix account shell nav on tablet ────────────────── */
@media (max-width: 1199px) {
  .easytcf-account-shell .header__nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .easytcf-account-shell .header__nav::-webkit-scrollbar {
    height: 3px;
  }
  .easytcf-account-shell .main-menu ul li > a {
    font-size: 14px !important;
    white-space: nowrap;
  }
}

/* ── Tablet breakpoint (≤ 991px) ─────────────────────── */
@media (max-width: 991px) {

  /* Section spacing */
  .easytcf-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .easytcf-section--tight {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  /* Inner hero */
  .easytcf-inner-hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .easytcf-account-page {
    padding-top: 128px;
    padding-bottom: 52px;
  }

  /* Section heading */
  .easytcf-section-heading h2 {
    font-size: 30px;
  }

  /* Account overview: 2-col on tablet */
  .easytcf-account-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Quiz tests: 2-col on tablet */
  .easytcf-account-tests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Pricing: stack */
  .easytcf-grid-3.easytcf-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin-inline: auto;
  }

  /* Action row: allow wrapping without shrinking */
  .easytcf-action-row {
    flex-wrap: wrap;
  }

  /* CTA band */
  .easytcf-cta-band {
    padding: 28px 24px;
  }

  /* Accordion font */
  .accordion-button {
    font-size: 16px;
    padding: 18px 20px;
  }

  /* Subscription table inside modal: make it scrollable */
  #account_table_list_abons {
    min-width: 480px;
  }
  .easytcf-account-modal .modal-body {
    overflow-x: auto;
  }
}

/* ── Mobile breakpoint (≤ 767px) ─────────────────────── */
@media (max-width: 767px) {

  /* Inner hero font sizes */
  .easytcf-inner-hero__title {
    font-size: clamp(28px, 8vw, 46px) !important;
  }
  .easytcf-inner-hero__lead {
    font-size: 16px;
    margin-top: 16px;
  }

  /* Inner hero layout: center content */
  .easytcf-inner-hero .container,
  .easytcf-inner-page .easytcf-inner-hero .container {
    text-align: center;
  }
  .easytcf-inner-hero .easytcf-badge,
  .easytcf-inner-hero__title,
  .easytcf-inner-hero__lead {
    margin-inline: auto;
  }

  /* Section spacing */
  .easytcf-section,
  .easytcf-page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .easytcf-inner-hero {
    padding-top: 110px;
    padding-bottom: 44px;
  }
  .easytcf-account-page {
    padding-top: 110px;
    padding-bottom: 42px;
  }

  /* Section heading */
  .easytcf-section-heading h2 {
    font-size: 26px;
  }
  .easytcf-section-heading p {
    font-size: 16px;
  }

  /* Account overview: 1-col */
  .easytcf-account-overview {
    grid-template-columns: 1fr;
  }
  .easytcf-account-stat strong {
    font-size: 28px;
  }

  /* Quiz tests: 1-col */
  .easytcf-account-tests {
    grid-template-columns: 1fr;
  }

  /* Expression écrite grid: already 1-col via template style */

  /* Auth panels: stack vertically */
  .easytcf-auth-shell {
    grid-template-columns: 1fr;
  }
  .easytcf-auth-panel {
    padding: 28px 22px;
    border-radius: 26px;
  }
  .easytcf-auth-card {
    border-radius: 22px;
  }

  /* Contact grid: 1-col on mobile */
  .easytcf-contact-grid {
    grid-template-columns: 1fr;
  }

  /* Split grid: 1-col on mobile */
  .easytcf-split-grid {
    grid-template-columns: 1fr;
  }

  /* Form cards */
  .easytcf-form-card,
  .easytcf-auth-card {
    padding: 24px 20px;
  }
  .easytcf-form-card h2,
  .easytcf-auth-card h2 {
    font-size: 26px;
  }

  /* Action row: stack buttons on mobile */
  .easytcf-action-row {
    flex-direction: column;
    align-items: stretch;
  }
  .easytcf-action-row .easytcf-btn,
  .easytcf-action-row .rr-btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* Badge font */
  .easytcf-badge {
    font-size: 12px;
    padding: 10px 14px;
  }

  /* Card padding */
  .easytcf-card,
  .easytcf-pricing-card,
  .easytcf-testimonial,
  .easytcf-contact-card,
  .easytcf-faq-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  /* Icon */
  .easytcf-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  /* Highlight metrics: stack */
  .easytcf-highlight {
    flex-direction: column;
  }
  .easytcf-metric {
    min-width: 0;
    width: 100%;
  }

  /* Pricing featured: reset lift */
  .easytcf-pricing-card--featured {
    transform: none;
  }

  /* Grids: force single column */
  .easytcf-grid-2,
  .easytcf-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Accordion */
  .accordion-button {
    font-size: 15px;
    padding: 16px 18px;
  }
  .accordion-body {
    padding: 0 18px 20px;
  }

  /* Account profile form */
  .easytcf-account-profile-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__big-text h2 {
    font-size: 36px;
  }
  .copyright__wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .copyright__menu ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Subscription table: enable horizontal scroll */
  #account_table_list_abons {
    min-width: 440px;
    font-size: 13px;
  }
  .modal-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Small phone breakpoint (≤ 575px) ────────────────── */
@media (max-width: 575px) {

  /* Hero / inner hero */
  .easytcf-inner-hero__title {
    font-size: 28px !important;
    line-height: 1.1;
  }
  .easytcf-hero-subtitle,
  .easytcf-inner-hero__lead {
    font-size: 15px;
    margin-top: 12px;
  }

  /* Section spacing */
  .easytcf-section,
  .easytcf-page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .easytcf-inner-hero {
    padding-top: 100px;
    padding-bottom: 36px;
  }
  .easytcf-account-page {
    padding-top: 100px;
  }

  /* Section heading */
  .easytcf-section-heading h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  /* Account stat */
  .easytcf-account-stat {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .easytcf-account-stat strong {
    font-size: 24px;
  }

  /* Cards */
  .easytcf-card,
  .easytcf-pricing-card,
  .easytcf-testimonial,
  .easytcf-contact-card,
  .easytcf-faq-card {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .easytcf-media-card,
  .easytcf-form-card,
  .easytcf-auth-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .easytcf-auth-panel {
    padding: 22px 18px;
    border-radius: 22px;
  }

  /* Buttons */
  .easytcf-btn, .rr-btn {
    min-height: 50px;
    font-size: 15px;
    padding: 0 20px;
  }

  /* Badge */
  .easytcf-badge {
    font-size: 11px;
    padding: 8px 12px;
  }

  /* CTA band */
  .easytcf-cta-band {
    padding: 22px 16px;
    border-radius: 22px;
  }

  /* Input */
  .easytcf-input {
    min-height: 52px;
    font-size: 15px;
  }

  /* Account test */
  .easytcf-account-test {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .easytcf-account-test h3 {
    font-size: 20px;
  }

  /* Pricing price font */
  .easytcf-pricing-card__price strong {
    font-size: 44px;
  }

  /* Accordion */
  .accordion-button {
    font-size: 14px;
    padding: 14px 16px;
  }

  /* Font scaling */
  .easytcf-form-card h2,
  .easytcf-auth-card h2 {
    font-size: 22px;
  }

  /* Account note */
  .easytcf-account-note {
    font-size: 14px;
    border-radius: 14px;
    padding: 14px 16px;
  }

  /* Checklist */
  .easytcf-checklist li {
    font-size: 14px;
  }

  /* Auth points */
  .easytcf-auth-points li {
    font-size: 14px;
  }

  /* Chip */
  .easytcf-chip {
    font-size: 13px;
    padding: 10px 14px;
  }

  /* Card h3 */
  .easytcf-card h3 {
    font-size: 20px;
  }

  /* Icon */
  .easytcf-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
    border-radius: 14px;
  }

  /* Testimonial meta */
  .easytcf-testimonial__meta img {
    width: 50px;
    height: 50px;
  }
  .easytcf-testimonial__meta strong {
    font-size: 16px;
  }

  /* Subscription table: tiny phones */
  #account_table_list_abons {
    font-size: 12px;
  }
  .easytcf-account-modal .modal-content {
    margin: 0 8px;
  }

  /* Footer */
  .footer__big-text h2 {
    font-size: 28px;
  }
  .copyright {
    margin-top: 28px;
  }
}

