/* ═══════════════════════════════════════════════════════════════
   Habla Mal Inglés — styles.css v6
   Rewrite completo: organizzato, conflict-free, mobile-first
   Fonts: Plus Jakarta Sans + Playfair Display (via <link> in HTML)
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CSS Variables ─────────────────────────────────────────── */
:root {
  --navy:   #02193b;
  --red:    #d7192a;
  --gold:   #c99736;
  --ink:    #101828;
  --muted:  #667085;
  --white:  #fff;
  --shadow:    0 18px 48px rgba(7,26,61,.13);
  --shadow-sm: 0 8px 22px rgba(7,26,61,.08);
  --radius:    22px;
  --radius-sm: 14px;
  --max-w:  1180px;
}

/* ── 2. Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }

/* ── 3. Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(36px, 5.2vw, 68px); font-weight: 800; margin: 16px 0 14px; }
h2 { font-size: clamp(28px, 3.8vw, 50px); font-weight: 700; }
h3 { font-size: clamp(19px, 2.2vw, 27px); font-weight: 700; margin: 0 0 10px; }
p  { line-height: 1.72; margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(17px, 1.85vw, 21px);
  color: #344054;
  line-height: 1.64;
  max-width: 780px;
  margin-bottom: 20px;
}
.red  { color: var(--red); }
.gold { color: var(--gold); }

/* ── 4. Topbar & Nav ──────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7,26,61,.08);
}
.nav {
  max-width: var(--max-w);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  position: relative;
}
.logo img { height: 56px; width: auto; }
.links {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.links a:not(.btn):not(.btn-login) { padding: 6px 4px; transition: color .18s; }
.links a:not(.btn):not(.btn-login):hover { color: var(--red); }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 1.5px solid rgba(7,26,61,.14);
  border-radius: 11px;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 99px;
  background: var(--navy);
  transition: transform .22s ease, opacity .22s ease;
}
body.mobile-menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.mobile-menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
body.mobile-menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── 5. Buttons ───────────────────────────────────────────────── */
.btn,
.btn.alt,
button.btn,
input[type="submit"],
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #02193b 0%, #0d2f70 100%);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  border: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(2,25,59,.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover, button.btn:hover, .cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(2,25,59,.34);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1.5px solid rgba(2,25,59,.2);
  border-radius: 999px;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-login:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── 6. Hero ──────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-w);
  margin: auto;
  padding: 64px 24px 52px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1.5px solid rgba(7,26,61,.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  letter-spacing: .04em;
  margin-bottom: 10px;
}

/* Hero visual (image card) */
.hero-visual {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(7,26,61,.16);
  overflow: hidden;
  padding: 0;
}
.hero-visual img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
/* hero-card class (used on some pages alongside hero-visual) */
.hero-card {
  background: #fff;
  border: 1px solid rgba(7,26,61,.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Badges */
.badges {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 18px;
}
.badge {
  background: #f8faff;
  border: 1px solid rgba(7,26,61,.1);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  text-align: center;
}
.icon-badge { display: flex; align-items: center; justify-content: center; gap: 7px; }
.icon-badge span { font-size: 18px; line-height: 1; }

/* ── 7. Sections ──────────────────────────────────────────────── */
section {
  max-width: var(--max-w);
  margin: auto;
  padding: 60px 24px;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 48px);
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0 0 18px;
}

/* Dark section — navy gradient */
.dark {
  background: linear-gradient(135deg, #071a3d 0%, #112f6e 100%);
  max-width: 100%;
  padding: 64px 24px;
}
.dark > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.dark .section-title,
.dark h2,
.dark h3 { color: #fff; }
.dark p,
.dark li { color: #c8d8f8; }
.dark .card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dark .card h3 { color: #fff; }
.dark .card p  { color: #c8d8f8; }

/* UK strip */
.uk-strip {
  background: linear-gradient(90deg, var(--navy) 0%, var(--red) 50%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  padding: 16px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  letter-spacing: .03em;
}

/* Form section */
.form-wrap {
  background: #f5f8ff;
  border-top: 1px solid rgba(7,26,61,.08);
  border-bottom: 1px solid rgba(7,26,61,.08);
  max-width: 100%;
  padding: 60px 24px;
}
.form-wrap > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ── 8. Grid ──────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr;         gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr);   gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr);   gap: 18px; }
.icon-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 26px; }
.icon-section { padding-top: 28px; }

/* ── 9. Cards ─────────────────────────────────────────────────── */
.card,
.form-card,
.article-card {
  background: #fff;
  border: 1px solid rgba(7,26,61,.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.article-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(7,26,61,.16);
}
.card h3,
.article-card h3 {
  font-size: clamp(17px, 2vw, 24px);
  margin: 0 0 10px;
}

/* Icon cards */
.icon-card {
  background: #fff;
  border: 1px solid rgba(7,26,61,.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(7,26,61,.16);
}
.big-icon { font-size: 46px; line-height: 1; margin-bottom: 14px; }
.icon-card h3 { font-size: 21px; margin: 0 0 8px; }
.icon-card p  { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Real feature cards (home page) */
.real-feature-card {
  background: #fff;
  border: 1px solid rgba(7,26,61,.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.real-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(7,26,61,.17);
}
.real-feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.real-feature-card .real-feature-body { padding: 20px 22px; }
.real-feature-card h3 { font-size: 21px; margin: 0 0 7px; }
.real-feature-card p  { margin: 0; color: var(--muted); font-size: 14.5px; font-weight: 600; }

/* Step cards */
.step {
  position: relative;
  padding: 26px 26px 26px 76px;
}
.step::before {
  content: attr(data-step);
  position: absolute;
  left: 22px;
  top: 26px;
  background: var(--red);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}

/* Blog article cards */
.article-icon  { font-size: 36px; margin-bottom: 10px; line-height: 1; }
.tip-meta {
  color: var(--red);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  display: block;
  margin-top: 12px;
}
.category {
  display: inline-block;
  background: #eef2ff;
  border: 1px solid rgba(7,26,61,.08);
  border-radius: 999px;
  padding: 5px 13px;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .03em;
  margin-bottom: 12px;
}
.article-card .card-img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  display: block;
}

/* ── 10. Images ───────────────────────────────────────────────── */
.section-image,
.tip-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(7,26,61,.12);
  margin: 28px 0;
}
.section-image img,
.tip-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.image-caption {
  padding: 14px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border-top: 1px solid rgba(7,26,61,.07);
}

/* London page photo (full-width hero photo) */
.london-page-photo {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 48px;
}
.london-page-photo .section-image {
  position: relative;
  margin: 0;
}
.london-page-photo .image-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(7,26,61,.12);
  padding: 12px 16px;
}

/* ── 11. Carousel ─────────────────────────────────────────────── */
.london-carousel {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 56px;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 20px;
  animation: londonSlide 22s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes londonSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.carousel-card {
  min-width: 340px;
  max-width: 400px;
  background: #fff;
  border: 1px solid rgba(7,26,61,.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.carousel-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.carousel-card div { padding: 18px; }
.carousel-card h3 { font-size: 21px; margin: 0 0 6px; }
.carousel-card p  { margin: 0; color: var(--muted); font-weight: 600; font-size: 14px; }

/* ── 12. Forms ────────────────────────────────────────────────── */
.form-card {
  max-width: 660px;
  margin: auto;
}
form { display: grid; gap: 14px; }
label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
input,
select,
textarea {
  width: 100%;
  border: 1.5px solid rgba(7,26,61,.16);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  background: #fff;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(2,25,59,.1);
}
textarea { min-height: 110px; resize: vertical; }
.mini { font-size: 13px; color: var(--muted); font-family: 'Plus Jakarta Sans', sans-serif; }

/* ── 13. Article / Blog ───────────────────────────────────────── */
.breadcrumbs {
  max-width: var(--max-w);
  margin: 24px auto 0;
  padding: 0 24px;
  color: #8a96a8;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Article content section */
section.article {
  max-width: 880px;
}
.article h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-top: 42px;
  padding-top: 16px;
  border-top: 2px solid rgba(7,26,61,.07);
  line-height: 1.18;
}
.article h3 {
  font-size: clamp(18px, 2.1vw, 24px);
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 10px;
}
.article p,
.article li {
  font-size: clamp(15.5px, 1.7vw, 18px);
  line-height: 1.78;
  color: #1d2a3a;
}
.article ul,
.article ol { padding-left: 1.6em; margin: 14px 0; }
.article li  { margin: 9px 0; }
.article strong { color: var(--navy); font-weight: 700; }

/* TOC */
.toc {
  background: linear-gradient(135deg, #f5f8ff, #eef2ff);
  border: 1.5px solid rgba(2,25,59,.12);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 28px;
}
.toc b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.toc ul { margin: 10px 0 0; padding-left: 18px; }
.toc li { font-size: 14.5px; color: #344054; margin: 7px 0; }

/* FAQ */
.faq details {
  background: #fff;
  border: 1.5px solid rgba(7,26,61,.1);
  border-radius: 16px;
  margin: 12px 0;
  padding: 18px 22px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq details[open] {
  border-color: rgba(2,25,59,.22);
  box-shadow: 0 8px 24px rgba(7,26,61,.09);
}
.faq summary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1.42;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  font-size: 15px;
  color: #344054;
  line-height: 1.7;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Related tips */
.related-tips {
  background: linear-gradient(135deg, #edf1ff, #f5f8ff);
  border: 1px solid rgba(7,26,61,.1);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  margin: 40px 0;
}
.related-tips h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  padding: 0;
  border: none;
}
.related-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.related-tip-card {
  background: #fff;
  border: 1px solid rgba(7,26,61,.09);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}
.related-tip-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(7,26,61,.13); }
.related-tip-card .rtc-cat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  display: block;
}
.related-tip-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.38;
}
.related-tip-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── 14. Tip page extra components ────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, #fff8e1, #fffbf0);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 22px 0;
}
.technique-card {
  background: #fff;
  border: 1.5px solid rgba(7,26,61,.1);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 18px 0;
  box-shadow: var(--shadow-sm);
}
.technique-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 13px;
  margin-bottom: 12px;
}
.routine-list { list-style: none; padding: 0; margin: 18px 0; }
.routine-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(7,26,61,.09);
  margin: 10px 0;
}
.routine-min {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
  min-width: 52px;
  flex-shrink: 0;
  padding-top: 2px;
}
.exercise-box {
  background: linear-gradient(135deg, #02193b, #0a2d6e);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 36px 0;
  color: #fff;
}
.exercise-box h3,
.exercise-box p,
.exercise-box li,
.exercise-box strong { color: #fff; }

/* ── 15. Legal pages ──────────────────────────────────────────── */
.legal-page { max-width: 880px; margin: auto; padding: 60px 24px; }
.legal-page h1 { font-size: clamp(32px, 5vw, 52px); }
.legal-page h2 { font-size: 28px; margin-top: 36px; }
.legal-page p,
.legal-page li { font-size: 17px; line-height: 1.74; }
.legal-note {
  background: #f8faff;
  border: 1px solid rgba(7,26,61,.12);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

/* ── 16. Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: #fff;
  margin-top: 52px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-inner {
  max-width: var(--max-w);
  margin: auto;
  padding: 44px 24px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}
.footer a { color: #fff; opacity: .78; transition: opacity .18s; }
.footer a:hover { opacity: 1; }
.footer-logo-text { font-size: 1.05rem; font-weight: 800; display: block; margin-bottom: 6px; }
.footer-tagline { margin: 0 0 14px; opacity: .68; font-size: .88rem; line-height: 1.48; }
.footer-legal { font-size: 12px; opacity: .72; line-height: 1.64; margin-top: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.footer-col-contact { display: flex; flex-direction: column; }
.footer-col-contact strong { display: block; margin-bottom: 10px; }
.footer-email { opacity: .78; display: block; margin-bottom: 14px; font-size: .88rem; transition: opacity .18s; }
.footer-email:hover { opacity: 1; }
.footer-social-icons { display: flex; gap: 16px; align-items: center; margin-top: 4px; }
.footer-social-icons a {
  color: #fff;
  opacity: .62;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .18s, transform .18s;
}
.footer-social-icons a:hover { opacity: 1; transform: translateY(-2px); }
.footer-social-icons svg { width: 22px; height: 22px; }
.footer small { font-size: 12px; opacity: .7; }

/* ── 17. Misc ─────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(7,26,61,.12);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin: 5px 4px;
  font-size: 14px;
}
.video {
  aspect-ratio: 16/9;
  background: #0b1d42;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  overflow: hidden;
}
.video video, .video iframe { width: 100%; height: 100%; border: 0; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.list { padding-left: 20px; }
.list li { margin: 10px 0; }

/* ── 18. Tablet (761px – 1100px) ──────────────────────────────── */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 48px 28px 40px;
  }
  h1 { font-size: clamp(32px, 5vw, 52px); }
  .hero-visual img { height: 360px; }
  .section-image img { height: 300px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .icon-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  section { padding: 46px 28px; }
  .dark { padding: 52px 28px; }
  .form-wrap { padding: 52px 28px; }
  .related-tips-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 19. Mobile (≤ 760px) ─────────────────────────────────────── */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }

  /* Nav */
  .nav { padding: 10px 16px; }
  .logo img { height: 42px; }
  .mobile-menu-toggle { display: flex; }
  .links {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1.5px solid rgba(7,26,61,.1);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(7,26,61,.16);
    padding: 12px;
    z-index: 999;
  }
  body.mobile-menu-open .links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
  }
  body.mobile-menu-open .links a:not(.btn):not(.btn-login) {
    display: block;
    padding: 12px 14px;
    border-radius: 11px;
    background: #f5f8ff;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
  }
  body.mobile-menu-open .links a:not(.btn):not(.btn-login):hover {
    background: #eef2ff;
    color: var(--red);
  }
  body.mobile-menu-open .links .btn-login {
    margin-bottom: 2px;
    text-align: center;
    border-radius: 11px;
    padding: 11px 14px;
  }
  body.mobile-menu-open .links .btn {
    width: 100%;
    text-align: center;
    margin-top: 4px;
    border-radius: 13px;
    white-space: normal;
    min-height: 48px;
  }

  /* Hero */
  .hero {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 16px 32px;
  }
  .hero > div:first-child { order: 1; width: 100%; }
  .hero .hero-card,
  .hero .hero-visual { order: 2; width: 100%; }
  h1 { font-size: 30px; line-height: 1.12; margin: 10px 0 12px; }
  .lead { font-size: 16.5px; line-height: 1.6; max-width: 100%; margin-bottom: 16px; }
  .eyebrow { font-size: 12.5px; padding: 7px 13px; margin-bottom: 8px; }

  /* Buttons */
  .btn, button.btn, input[type="submit"], .cta-button {
    width: 100%;
    min-height: 50px;
    padding: 13px 18px;
    border-radius: 14px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }
  p .btn { margin-top: 4px; }

  /* Hero image */
  .hero-visual { border-radius: 18px; }
  .hero-visual img { height: 220px; border-radius: 18px; }
  .badges { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
  .badge { padding: 11px 12px; font-size: 13px; }

  /* Sections */
  section { padding: 34px 16px; }
  .dark  { padding: 42px 16px; }
  .form-wrap { padding: 38px 16px; }
  .section-title { font-size: 25px; line-height: 1.14; margin-bottom: 12px; }

  /* Grids */
  .grid-2, .grid-3, .grid-4, .icon-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Cards */
  .card, .form-card, .article-card, .icon-card {
    border-radius: 18px;
    padding: 18px;
  }
  .real-feature-card { border-radius: 18px; }
  .real-feature-card img { height: 185px; }
  .real-feature-card .real-feature-body { padding: 16px 18px; }
  .card h3, .article-card h3 { font-size: 18px; line-height: 1.22; }
  .icon-card { padding: 18px; }
  .big-icon { font-size: 38px; }
  .icon-card h3 { font-size: 18px; }

  /* Steps */
  .step {
    padding: 18px;
  }
  .step::before {
    position: static;
    display: inline-flex;
    margin-bottom: 12px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* Images */
  .section-image img, .tip-image img { height: 210px; }
  .section-image, .tip-image { border-radius: 16px; margin: 20px 0; }
  .london-page-photo { padding: 16px 16px 28px; }
  .london-page-photo .image-caption {
    position: static;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    padding: 12px 14px;
  }
  .image-caption { font-size: 13px; padding: 11px 14px; }

  /* Article */
  section.article { max-width: 100%; }
  .article h2 { font-size: 22px; margin-top: 28px; padding-top: 12px; }
  .article h3 { font-size: 18px; margin-top: 22px; }
  .article p, .article li { font-size: 15.5px; line-height: 1.74; }
  .breadcrumbs { padding: 0 16px; margin-top: 18px; font-size: 12.5px; }
  .toc { padding: 16px 16px; border-radius: 14px; margin-bottom: 20px; }
  .toc li { font-size: 14px; }

  /* FAQ */
  .faq details { padding: 15px 16px; }
  .faq summary { font-size: 15px; }

  /* Related tips */
  .related-tips { padding: 22px 16px 18px; margin: 28px 0; }
  .related-tips-grid { grid-template-columns: 1fr; }

  /* Carousel — disable animation on mobile, show as grid */
  .london-carousel { padding: 12px 16px 28px; }
  .carousel-track {
    animation: none;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 14px;
  }
  .carousel-card { min-width: 0; max-width: 100%; border-radius: 18px; }
  .carousel-card img { height: 180px; }

  /* Form */
  form { gap: 12px; }
  input, select, textarea { font-size: 16px; padding: 13px 14px; border-radius: 12px; }
  .form-card { padding: 20px 18px; border-radius: 20px; }

  /* Exercise box */
  .exercise-box { padding: 20px 18px; margin: 28px 0; }

  /* Technique card */
  .technique-card { padding: 18px; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 28px 16px 24px;
    gap: 22px;
  }
  .footer-col-brand, .footer-col-nav {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  /* Legal */
  .legal-page { padding: 36px 16px; }
  .legal-page h2 { font-size: 23px; }
  .legal-page p, .legal-page li { font-size: 16px; }
}

/* ── 20. Very small screens (≤ 380px) ─────────────────────────── */
@media (max-width: 380px) {
  h1 { font-size: 27px; }
  .section-title { font-size: 23px; }
  .hero { padding: 22px 14px 26px; }
  .hero-visual img { height: 195px; }
  section { padding: 28px 14px; }
}
