/* Thiệp Đẹp Online — Landing CSS matching exact design screenshot */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --tdo-rose: #db4458;
  --tdo-rose-hover: #c93347;
  --tdo-rose-soft: #fdebee;
  --tdo-rose-badge: #fce8eb;
  --tdo-blush-bg: #fffaf9;
  --tdo-pink-bg: #fdf6f7;
  --tdo-cream-bg: #fffbf8;
  --tdo-ink: #222222;
  --tdo-muted: #666666;
  --tdo-line: #eeeeee;
  --tdo-white: #ffffff;
  --tdo-footer-bg: #0f2824;
  --tdo-sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --tdo-serif: "Playfair Display", Georgia, serif;
  --tdo-script: "Dancing Script", "Caveat", cursive;
  --tdo-max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.aila-body {
  margin: 0;
  color: var(--tdo-ink);
  font-family: var(--tdo-sans);
  font-size: 15px;
  line-height: 1.6;
  background: var(--tdo-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.aila-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--tdo-ink);
  color: #fff;
  padding: 0.5rem 1rem;
}
.aila-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ==================== BUTTONS ==================== */
.aila-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.aila-btn--lg {
  min-height: 50px;
  padding: 0.8rem 1.8rem;
  font-size: 0.98rem;
}

.aila-btn--primary {
  background: var(--tdo-rose);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(219, 68, 88, 0.25);
}
.aila-btn--primary:hover {
  background: var(--tdo-rose-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(219, 68, 88, 0.35);
}

.aila-btn--outline,
.aila-btn--ghost {
  background: #ffffff;
  color: var(--tdo-ink);
  border-color: #dddddd;
}
.aila-btn--outline:hover,
.aila-btn--ghost:hover {
  border-color: var(--tdo-rose);
  color: var(--tdo-rose);
}

.aila-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.2s;
}
.aila-icon-btn:hover {
  background: #f5f5f5;
  color: var(--tdo-rose);
}

/* ==================== 1. HEADER ==================== */
.aila-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tdo-line);
}
.aila-header__inner {
  max-width: var(--tdo-max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.aila-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.aila-logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tdo-rose-soft);
  color: var(--tdo-rose);
  display: flex;
  align-items: center;
  justify-content: center;
}
.aila-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.aila-logo__text strong {
  font-family: var(--tdo-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tdo-ink);
}
.aila-logo__text small {
  font-size: 0.7rem;
  color: var(--tdo-rose);
  font-weight: 500;
}

.aila-nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
}
.aila-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #444444;
  position: relative;
  padding: 0.3rem 0;
}
.aila-nav a:hover,
.aila-nav a.is-active {
  color: var(--tdo-rose);
  font-weight: 600;
}
.aila-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tdo-rose);
  border-radius: 2px;
}

.aila-header__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.aila-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}
.aila-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--tdo-ink);
  border-radius: 2px;
}

.aila-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}

@media (min-width: 992px) {
  .aila-nav, .aila-header__actions { display: flex; }
  .aila-burger, .aila-drawer, .aila-btn--header-mobile { display: none !important; }
}

/* ==================== 2. HERO SECTION ==================== */
.tdo-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--tdo-blush-bg) 100%);
  padding: 3rem 1.25rem 4rem;
  overflow: hidden;
}
.tdo-hero__inner {
  max-width: var(--tdo-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .tdo-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.tdo-eyebrow {
  color: var(--tdo-rose);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.tdo-hero__title {
  font-family: var(--tdo-serif);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--tdo-ink);
  margin: 0 0 1.2rem;
}

.tdo-script-pink {
  font-family: var(--tdo-script);
  color: var(--tdo-rose);
  font-size: 1.18em;
  font-weight: 700;
  font-style: italic;
}

.tdo-hero__lead {
  font-size: 1rem;
  color: var(--tdo-muted);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  max-width: 32rem;
}

.tdo-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.tdo-heart-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.tdo-hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tdo-hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--tdo-rose-badge);
  color: #333333;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.tdo-check-icon {
  color: var(--tdo-rose);
  font-weight: 700;
}

/* HERO VISUAL & MOCKUPS */
.tdo-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tdo-handwriting-hero {
  font-family: var(--tdo-script);
  font-size: 1.25rem;
  color: var(--tdo-rose);
  text-align: right;
  align-self: flex-end;
  margin-bottom: 0.75rem;
  padding-right: 1rem;
  white-space: nowrap;
}

.tdo-mockup-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 480px;
  display: flex;
  justify-content: center;
}

/* Printed Card Mockup */
.tdo-card-mockup {
  position: absolute;
  left: 20px;
  top: 10px;
  width: 290px;
  height: 410px;
  background: #fffcf9;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0e6e0;
  padding: 24px;
  box-sizing: border-box;
}

.tdo-card-mockup__inner {
  width: 100%;
  height: 100%;
  border: 1.5px solid #d4af37;
  border-radius: 10px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #fff 60%, #fff9f5 100%);
  position: relative;
  overflow: hidden;
}

.tdo-card-mockup__floral-tl {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(235, 150, 165, 0.4) 0%, transparent 70%);
}

.tdo-card-mockup__floral-br {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(235, 150, 165, 0.4) 0%, transparent 70%);
}

.tdo-card-script {
  font-family: var(--tdo-script);
  font-size: 2.2rem;
  color: var(--tdo-rose);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.tdo-card-sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.tdo-card-names {
  font-family: var(--tdo-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.8rem;
}

.tdo-card-date {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: #666;
  font-weight: 600;
}

/* Smartphone Mockup */
.tdo-phone-mockup {
  position: absolute;
  right: 15px;
  bottom: 20px;
  width: 175px;
  height: 350px;
  background: #111111;
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  z-index: 2;
}

.tdo-phone-mockup__notch {
  width: 50px;
  height: 12px;
  background: #111;
  margin: 0 auto 6px;
  border-radius: 0 0 8px 8px;
}

.tdo-phone-mockup__screen {
  width: 100%;
  height: calc(100% - 18px);
  background: #fff8f9;
  border-radius: 20px;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #f2e3e5;
}

.tdo-phone-card {
  text-align: center;
}

.tdo-phone-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #888;
  margin-top: 0.4rem;
}

.tdo-phone-names {
  font-family: var(--tdo-serif);
  font-size: 0.95rem;
  margin: 0.4rem 0;
  color: #222;
}

.tdo-phone-date {
  font-size: 0.72rem;
  color: #666;
  letter-spacing: 0.1em;
}

/* ==================== SECTIONS COMMON ==================== */
.tdo-section {
  max-width: var(--tdo-max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.tdo-section--pink-bg {
  max-width: 100%;
  background: var(--tdo-pink-bg);
}
.tdo-section--pink-bg > * {
  max-width: var(--tdo-max-width);
  margin-left: auto;
  margin-right: auto;
}

.tdo-section--cream-bg {
  max-width: 100%;
  background: var(--tdo-cream-bg);
}
.tdo-section--cream-bg > * {
  max-width: var(--tdo-max-width);
  margin-left: auto;
  margin-right: auto;
}

.tdo-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tdo-section__head--relative {
  position: relative;
}

.tdo-section__head--center {
  text-align: center;
  justify-content: center;
}

.tdo-section__title {
  font-family: var(--tdo-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--tdo-ink);
  margin: 0 0 0.5rem;
}

.tdo-section__subtitle {
  font-size: 0.95rem;
  color: var(--tdo-muted);
  margin: 0;
  max-width: 36rem;
}

.tdo-more-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tdo-rose);
  white-space: nowrap;
}
.tdo-more-link:hover {
  color: var(--tdo-rose-hover);
}

.tdo-handwriting-section {
  font-family: var(--tdo-script);
  font-size: 1.3rem;
  color: var(--tdo-rose);
  white-space: nowrap;
}

/* ==================== 3. TEMPLATES GRID ==================== */
.tdo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tdo-filter-btn {
  min-height: 36px;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--tdo-line);
  background: #ffffff;
  color: #555555;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}

.tdo-filter-btn.is-active,
.tdo-filter-btn:hover {
  background: var(--tdo-rose);
  border-color: var(--tdo-rose);
  color: #ffffff;
  font-weight: 600;
}

.tdo-templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .tdo-templates-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .tdo-templates-grid { grid-template-columns: repeat(5, 1fr); }
}

.tdo-card {
  display: flex;
  flex-direction: column;
}

.tdo-card__preview {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  margin-bottom: 0.6rem;
}

.tdo-card:hover .tdo-card__preview {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.tdo-card__fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: color 0.2s, background 0.2s;
}
.tdo-card__fav-btn:hover {
  color: var(--tdo-rose);
  background: #fff;
}

.tdo-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.tdo-tpl-title {
  font-family: var(--tdo-serif);
  font-size: 1rem;
  font-weight: 700;
}
.tdo-tpl-sub {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.tdo-tpl-names {
  font-family: var(--tdo-serif);
  font-size: 0.88rem;
  margin: 0.2rem 0;
  font-weight: 600;
}
.tdo-tpl-date {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

/* Template Skins */
.tdo-tpl-card-pink { background: linear-gradient(160deg, #fff2f4, #f9d8de); color: #5c202a; }
.tdo-tpl-card-red { background: linear-gradient(160deg, #991b1b, #7f1d1d); color: #fef08a; }
.tdo-tpl-card-red .tdo-tpl-title { font-size: 1.8rem; font-family: var(--tdo-serif); margin-bottom: 0.2rem; }
.tdo-tpl-card-leaf { background: linear-gradient(160deg, #fafaf9, #e7e5e4); color: #292524; }
.tdo-tpl-card-emerald { background: linear-gradient(160deg, #064e3b, #022c22); color: #fef08a; border: 1px solid #ca8a04; }
.tdo-tpl-card-blue { background: linear-gradient(160deg, #f0f9ff, #bae6fd); color: #0369a1; }
.tdo-tpl-card-purple { background: linear-gradient(160deg, #faf5ff, #e9d5ff); color: #6b21a8; }
.tdo-tpl-card-beach { background: linear-gradient(160deg, #e0f2fe, #7dd3fc); color: #075985; }
.tdo-tpl-card-mono { background: #f5f5f4; color: #1c1917; border: 1px solid #d6d3d1; }
.tdo-tpl-card-mono .tdo-tpl-title { font-size: 1.6rem; letter-spacing: 0.1em; font-family: var(--tdo-sans); }
.tdo-tpl-card-rose { background: linear-gradient(160deg, #fff1f2, #fecdd3); color: #9f1239; }
.tdo-tpl-card-navy { background: linear-gradient(160deg, #0f172a, #1e1b4b); color: #fbbf24; }

.tdo-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tdo-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tdo-ink);
}

.tdo-card__swatches {
  display: flex;
  gap: 3px;
}
.tdo-card__swatches span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ==================== 4. ALL IN ONE INVITATION ==================== */
.tdo-allinone__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .tdo-allinone__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tdo-allinone__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tdo-feat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
}

.tdo-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tdo-rose-soft);
  color: var(--tdo-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.tdo-feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tdo-ink);
  margin: 0 0 0.4rem;
}

.tdo-feat-card p {
  font-size: 0.85rem;
  color: var(--tdo-muted);
  margin: 0;
  line-height: 1.45;
}

/* Visual Laptop & Phone */
.tdo-allinone__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.tdo-laptop-device {
  width: 100%;
  max-width: 440px;
}

.tdo-laptop-screen {
  background: #1e293b;
  border-radius: 10px 10px 0 0;
  padding: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.tdo-laptop-ui {
  background: #f8fafc;
  border-radius: 6px;
  height: 230px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
  overflow: hidden;
}

.tdo-laptop-sidebar {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
}

.tdo-laptop-main {
  padding: 10px;
  display: flex;
  gap: 10px;
}

.tdo-laptop-card-preview {
  width: 110px;
  height: 100%;
  background: #fff0f3;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  text-align: center;
  padding: 5px;
}
.tdo-laptop-card-preview span { font-family: var(--tdo-script); font-size: 1.1rem; color: var(--tdo-rose); }
.tdo-laptop-card-preview em { font-style: normal; font-weight: 600; font-size: 0.7rem; margin-top: 4px; }

.tdo-laptop-table {
  flex: 1;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.tdo-laptop-base {
  height: 10px;
  background: #cbd5e1;
  border-radius: 0 0 8px 8px;
  margin: 0 6%;
}

.tdo-phone-standing {
  position: absolute;
  right: 5%;
  bottom: -10px;
  width: 110px;
  height: 200px;
  background: #0f172a;
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.tdo-phone-standing__inner {
  width: 100%;
  height: 100%;
  background: #fff5f6;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  text-align: center;
  padding: 5px;
}
.tdo-phone-standing__inner span { font-size: 1.2rem; }
.tdo-phone-standing__inner em { font-style: normal; font-weight: 700; margin: 4px 0; }

/* ==================== 5. 3 SIMPLE STEPS ==================== */
.tdo-steps-section {
  max-width: var(--tdo-max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.tdo-steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .tdo-steps-container {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.tdo-steps-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  max-height: 420px;
}
.tdo-steps-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tdo-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.8rem 0;
}

.tdo-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.tdo-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tdo-rose);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.tdo-step-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--tdo-ink);
  margin: 0 0 0.2rem;
}

.tdo-step-info p {
  font-size: 0.85rem;
  color: var(--tdo-muted);
  margin: 0;
}

.tdo-steps-action {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tdo-handwriting-steps {
  font-family: var(--tdo-script);
  font-size: 1.25rem;
  color: var(--tdo-rose);
}

/* ==================== 6. TESTIMONIALS ==================== */
.tdo-testimonials-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tdo-testimonials-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
}

@media (min-width: 640px) {
  .tdo-testimonials-track { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .tdo-testimonials-track { grid-template-columns: repeat(4, 1fr); }
}

.tdo-quote-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.tdo-quote-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.tdo-quote-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.tdo-quote-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tdo-ink);
  margin: 0;
}

.tdo-quote-date {
  font-size: 0.75rem;
  color: #999999;
}

.tdo-quote-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.tdo-quote-body {
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

.tdo-quote-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dddddd;
  color: #555555;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.tdo-quote-nav:hover {
  background: var(--tdo-rose);
  border-color: var(--tdo-rose);
  color: #ffffff;
}

/* ==================== 7. FOOTER ==================== */
.tdo-footer {
  background: var(--tdo-footer-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.25rem 1.8rem;
}

.tdo-footer__inner {
  max-width: var(--tdo-max-width);
  margin: 0 auto;
}

.tdo-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.aila-logo--light .aila-logo__text strong {
  color: #ffffff;
}
.aila-logo--light .aila-logo__text small {
  color: rgba(255, 255, 255, 0.6);
}

.tdo-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.tdo-footer__links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.tdo-footer__links a:hover {
  color: var(--tdo-rose);
}

.tdo-footer__links span {
  color: rgba(255, 255, 255, 0.3);
}

.tdo-footer__social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.social-icon:hover {
  background: var(--tdo-rose);
  color: #ffffff;
}

.tdo-footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.tdo-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.tdo-footer__bottom p {
  margin: 0;
}

.tdo-footer__handwriting {
  font-family: var(--tdo-script);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
}
