/* ==========================================================================
   travel.net.ph landing page refresh
   Loaded after style.css; overrides the template where needed.
   ========================================================================== */

:root {
  --tn-red: #d7262b;
  --tn-red-dark: #b01c21;
  --tn-ink: #17171a;
  --tn-ink-2: #232327;
  --tn-text: #33343a;
  --tn-muted: #6b6d75;
  --tn-line: #e7e7ea;
  --tn-soft: #f6f6f7;
  --tn-radius: 14px;
  --tn-shadow: 0 10px 30px rgba(17, 17, 20, 0.08);
  --tn-font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tn-font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Typography: two families only ---------- */
body {
  font-family: var(--tn-font-body);
  color: var(--tn-text);
}
h1, h2, h3, h4, h5, h6,
.section-title h2,
#footer h3, #footer h4,
.navbar a, .navbar a:focus {
  font-family: var(--tn-font-head) !important;
}
/* The template sets condensed, uppercase, tightly-tracked headings */
h1, h2, h3, h4, h5, h6 {
  text-transform: none;
  letter-spacing: -0.005em;
  line-height: 1.25;
  font-weight: 600;
}
.section-title h2 { text-transform: uppercase; letter-spacing: 0.02em; }

/* ---------- Shared bits ---------- */
.tn-eyebrow {
  display: inline-block;
  font-family: var(--tn-font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tn-red);
  margin-bottom: 12px;
}
.tn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--tn-font-head);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  border: 2px solid transparent;
}
.tn-btn:hover { transform: translateY(-1px); }
.tn-btn:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.tn-btn-primary { background: var(--tn-red); color: #fff; }
.tn-btn-primary:hover { background: var(--tn-red-dark); color: #fff; }
.tn-btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.tn-btn-ghost:hover { background: #fff; color: var(--tn-ink); }
.tn-btn-outline { border-color: var(--tn-red); color: var(--tn-red); }
.tn-btn-outline:hover { background: var(--tn-red); color: #fff; }

.section-title h2 {
  font-size: 34px;
  letter-spacing: 0;
}
.section-title p.tn-lead {
  max-width: 640px;
  margin: 8px auto 0;
  color: var(--tn-muted);
  font-size: 17px;
}

/* ---------- Header ---------- */
#header .header-phone a { color: #fff; text-decoration: none; }
#header .logo img { max-height: 46px; }

/* ---------- Hero ---------- */
#hero.tn-hero {
  height: auto;
  min-height: 100vh;
  padding: 130px 0 80px;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(215, 38, 43, 0.35), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(215, 38, 43, 0.18), transparent 60%),
    var(--tn-ink);
  color: #fff;
  margin-top: 0;
  width: 100%;
}
#hero.tn-hero:before { display: none; }

.tn-hero .tn-eyebrow { color: #ff8a8d; }
.tn-hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 20px !important;
  text-transform: none;
}
.tn-hero h1 span { color: #ff5a5f; }
.tn-hero .tn-hero-sub {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 32px;
}
.tn-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.tn-hero-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}
.tn-hero-includes i { color: #ff5a5f; margin-right: 6px; }

.tn-hero-visual {
  position: relative;
  max-width: 500px;
  margin-left: auto;
}
.tn-hero-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4 / 5;
}
.tn-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
.tn-hero-badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--tn-ink);
  padding: 14px 18px;
  border-radius: var(--tn-radius);
  box-shadow: var(--tn-shadow);
  max-width: 260px;
}
.tn-hero-badge i {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tn-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.tn-hero-badge { max-width: none; }
.tn-hero-badge strong {
  display: block;
  font-family: var(--tn-font-head);
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}
.tn-hero-badge small {
  display: block;
  margin-top: 2px;
  color: var(--tn-muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

/* Featured promo card in the hero */
.tn-feature {
  display: block;
  background: var(--tn-ink-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.tn-feature:hover { transform: translateY(-3px); border-color: rgba(255, 90, 95, 0.6); color: #fff; }
.tn-feature:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.tn-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
.tn-feature-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}
.tn-feature-body strong {
  display: block;
  font-family: var(--tn-font-head);
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0 2px;
}
.tn-feature-body small { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.tn-feature-tag {
  font-family: var(--tn-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8a8d;
}
.tn-feature-cta {
  flex: none;
  font-family: var(--tn-font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tn-red);
  color: #fff;
}
.tn-feature:hover .tn-feature-cta { background: var(--tn-red-dark); }

.tn-feature-row { margin-top: 40px; }
@media (max-width: 575px) {
  .tn-feature-body { flex-direction: column; align-items: flex-start; }
  .tn-feature-body, .tn-feature-body * { text-align: left !important; }
}

@media (max-width: 991px) {
  #hero.tn-hero { padding: 110px 0 56px; min-height: 0; }
  .tn-hero-visual { margin: 48px auto 0; max-width: 420px; }
  .tn-hero-frame { aspect-ratio: 4 / 3; }
  .tn-hero-badge { left: 16px; bottom: 16px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .tn-hero h1 { font-size: 46px !important; line-height: 1.12 !important; margin: 0 0 18px !important; }
  .tn-hero .tn-hero-sub { max-width: 600px; }
}
/* tablet & large phones: photo spans the same width as the text, left-aligned with it */
@media (min-width: 576px) and (max-width: 991px) {
  .tn-hero-visual { max-width: none; margin: 40px 0 0; }
  .tn-hero-frame { aspect-ratio: 16 / 9; }
  .tn-hero-badge { left: 20px; bottom: 20px; }
}
@media (max-width: 767px) {
  #hero.tn-hero { padding: 104px 0 48px; }
  .tn-hero .tn-eyebrow { font-size: 11.5px; letter-spacing: 0.1em; margin-bottom: 10px; }
  .tn-hero h1 {
    font-size: clamp(30px, 8.6vw, 40px) !important;
    line-height: 1.15 !important;
    margin: 0 0 14px !important;
  }
  .tn-hero .tn-hero-sub { font-size: 15.5px; line-height: 1.6; margin-bottom: 24px; }
  /* includes: tidy 2x2 grid instead of an uneven wrap */
  .tn-hero-includes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin-top: 24px;
    font-size: 14px;
  }
  .tn-hero-visual { margin-top: 32px; }
}
@media (max-width: 575px) {
  /* buttons side by side, equal width */
  .tn-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tn-hero-actions .tn-btn { padding: 12px 10px; font-size: 15px; min-height: 48px; white-space: nowrap; }
  .tn-hero-badge { padding: 8px 12px; gap: 8px; left: 12px; bottom: 12px; }
  .tn-hero-badge i { width: 28px; height: 28px; font-size: 13px; }
  .tn-hero-badge strong { font-size: 13px; }
  .tn-hero-badge small { font-size: 11.5px; margin-top: 1px; }
}
/* the template centers text on small screens; keep these blocks left-aligned */
.tn-hero, .tn-hero p,
.tn-about .tn-about-copy, .tn-about .tn-about-copy p,
.tn-why-item, .tn-why-item p { text-align: left !important; }
.tn-hero .tn-hero-sub { margin-left: 0; }

/* ---------- Airline partners ---------- */
#clients.tn-clients { padding: 48px 0 24px; }
.tn-clients .tn-clients-label {
  text-align: center;
  font-family: var(--tn-font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tn-muted);
  margin-bottom: 20px;
}
.tn-clients .swiper-slide img {
  max-height: 44px;
  width: auto;
  margin: 0 auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}
.tn-clients .swiper-slide img:hover { filter: none; opacity: 1; }
/* uniform logo boxes so wide and tall logos look the same size */
.tn-clients .swiper-slide {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tn-clients .swiper-slide img { max-width: 100%; object-fit: contain; }
/* fade the strip's edges so logos slide in/out instead of being chopped */
.tn-clients .clients-slider {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

@media (max-width: 767px) {
  #clients.tn-clients { padding: 32px 0 20px; }
  .tn-clients .tn-clients-label { font-size: 12px; margin-bottom: 14px; }
  .tn-clients .swiper-slide { height: 44px; }
  .tn-clients .swiper-slide img { max-height: 34px; opacity: 1; filter: grayscale(100%) contrast(1.15); }
  /* swipeable + autoplay on phones; 27 dots add nothing */
  .tn-clients .swiper-pagination { display: none; }
  /* close the white gap above the About panel */
  #about.tn-about { padding-top: 48px; }
  #about.tn-about:before { top: 16px; }
}

/* ---------- About / Why us ---------- */
#about.tn-about { padding: 90px 0 110px; }
/* About and Services are both dark slanted panels; join them so no white wedge shows between */
#about.tn-about:before { bottom: -120px; }
#about.tn-about + #services:before { top: -120px; }
#about.tn-about + #services { margin-top: -2px; padding-top: 40px; }
#about.tn-about { padding-bottom: 50px; }
.tn-about h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.tn-about .tn-about-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
}
.tn-about .tn-eyebrow { color: #ff8a8d; }
.tn-about .social-links2 { display: flex; gap: 10px; }
.tn-about .social-links2 a {
  width: 42px; height: 42px; margin: 0;
  display: inline-grid; place-items: center;
  font-size: 20px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tn-about .social-links2 a:hover { background: var(--tn-red); border-color: var(--tn-red); }
.tn-about .social-links2 a i { line-height: 1; }
.tn-why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tn-why-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tn-radius);
  padding: 22px;
}
.tn-why-item i {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tn-red);
  color: #fff;
  font-size: 20px;
  margin-bottom: 14px;
}
.tn-why-item h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.tn-why-item p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 767px) {
  #about.tn-about { padding: 64px 0 40px; }
  /* tighter copy block: smaller type, less gap before the cards */
  #about.tn-about .row { --bs-gutter-y: 28px; }
  .tn-about h2 { font-size: clamp(24px, 7vw, 30px); line-height: 1.2; margin-bottom: 12px; }
  .tn-about .tn-about-copy p { font-size: 15.5px; line-height: 1.65; margin-bottom: 18px; }
  .tn-about .social-links2 { padding-top: 0 !important; }
  .tn-about .tn-section-cta { margin-top: 28px; }
  .tn-about .tn-section-cta .tn-btn { width: 100%; justify-content: center; }
  .tn-why { gap: 12px; }
  .tn-why-item { padding: 16px 14px; }
  .tn-why-item i { width: 36px; height: 36px; font-size: 17px; border-radius: 10px; margin-bottom: 10px; }
  .tn-why-item h3 { font-size: 15px; line-height: 1.3; margin-bottom: 4px; }
  .tn-why-item p { font-size: 13px; line-height: 1.45; }
}

/* ---------- Services ---------- */
.services .icon-box {
  height: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  align-items: start;
  align-content: start;
  padding: 22px;
  border-radius: var(--tn-radius);
}
.services .icon-box i {
  float: none;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tn-red);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.services .icon-box h4 { margin: 4px 0 8px; font-size: 18px; line-height: 1.3; color: #fff; }
.services .icon-box p { margin: 0; font-size: 15px; line-height: 1.6; }
.services .icon-box, .services .icon-box * { text-align: left !important; }

@media (max-width: 767px) {
  .section-title h2 { font-size: 26px !important; padding-bottom: 14px; margin-bottom: 14px; }
  #services.services { padding-bottom: 70px; }
  #services .row > [class*="col-"] { margin-top: 0 !important; }
  .services .icon-box {
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    padding: 16px;
    margin-bottom: 12px;
    height: auto;
  }
  .services .icon-box i { width: 40px; height: 40px; border-radius: 11px; font-size: 19px; }
  .services .icon-box h4 { margin: 2px 0 4px; font-size: 16px !important; }
  .services .icon-box p { font-size: 13px !important; line-height: 1.5; }
}

/* ---------- Packages ---------- */
.tn-cat {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: var(--tn-radius);
  padding: 26px 24px;
  box-shadow: var(--tn-shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  color: var(--tn-text);
  text-decoration: none;
}
.tn-cat:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 38, 43, 0.4);
  box-shadow: 0 16px 36px rgba(17, 17, 20, 0.12);
  color: var(--tn-text);
}
.tn-cat:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.tn-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(215, 38, 43, 0.1);
  color: var(--tn-red);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.tn-cat h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--tn-ink);
  margin-bottom: 8px;
}
.tn-cat p { font-size: 15px; color: var(--tn-muted); line-height: 1.55; margin-bottom: 16px; }
.tn-cat ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tn-cat li {
  font-size: 13px;
  background: var(--tn-soft);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--tn-text);
}
.tn-cat-link {
  margin-top: auto;
  font-family: var(--tn-font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--tn-red);
}
.tn-cat:hover .tn-cat-link i { transform: translateX(3px); }
.tn-cat-link i { transition: transform 0.2s; display: inline-block; }

.tn-latest-head {
  margin: 56px 0 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.tn-latest-head h3 { font-size: 24px; font-weight: 600; color: var(--tn-ink); margin: 0; }
.tn-latest-all {
  font-family: var(--tn-font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--tn-red);
  white-space: nowrap;
}
.tn-latest-all:hover { color: var(--tn-red-dark); }

/* Dynamic package cards (rendered from the API) */
.tn-pkg {
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: var(--tn-radius);
  overflow: hidden;
  box-shadow: var(--tn-shadow);
  display: block;
  color: var(--tn-text);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tn-pkg:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(17, 17, 20, 0.12); color: var(--tn-text); }
.tn-pkg img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.tn-pkg { height: 100%; display: flex; flex-direction: column; }
.tn-pkg img { background: var(--tn-soft); }
.tn-pkg-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px 16px;
  font-family: var(--tn-font-head);
  flex: 1;
}
.tn-pkg-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tn-ink);
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tn-pkg-cta { margin-top: auto; }
.tn-pkg-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tn-red);
  background: rgba(215, 38, 43, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
}
.tn-pkg-cta { font-size: 14px; font-weight: 600; color: var(--tn-ink); }
/* ---------- Packages: compact on phones ---------- */
@media (max-width: 767px) {
  /* trip-type cards: one compact row each, icon left (same pattern as Services) */
  #portfolio .row.g-4 { --bs-gutter-y: 12px; }
  .tn-cat {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px;
  }
  .tn-cat-icon {
    grid-row: 1 / span 3;
    width: 40px; height: 40px; font-size: 19px; border-radius: 11px; margin: 0;
  }
  .tn-cat h3 { font-size: 16px; line-height: 1.3; margin: 2px 0 4px; }
  .tn-cat p { font-size: 13px; line-height: 1.5; margin: 0 0 8px; }
  .tn-cat ul { display: none; }
  .tn-cat-link { font-size: 13px; white-space: nowrap; }

  /* package cards */
  .tn-pkg-body { padding: 10px 12px 12px; gap: 6px; }
  .tn-pkg-tag { font-size: 10px; padding: 3px 8px; }
  .tn-pkg-title { font-size: 13px; }
  .tn-pkg-cta { font-size: 12px; }

  .tn-latest-head { margin-top: 40px; }
  .tn-latest-head h3 { font-size: 20px; }
  .tn-latest-all { font-size: 13px; }

  /* section lead and titles stay centered; card text stays left */
  .tn-cat, .tn-cat *, .tn-pkg, .tn-pkg * { text-align: left !important; }
  .section-title p.tn-lead { font-size: 15px; }
}

.tn-section-cta { text-align: center; margin-top: 48px; }

/* ---------- Testimonials ---------- */
.testimonials .testimonial-item p { font-size: 16px; line-height: 1.65; }
/* template uses content-box + side margins, which makes cards wider than their slide */
.testimonials .testimonial-item {
  box-sizing: border-box;
  margin: 20px 10px;
  height: calc(100% - 40px);
  border-radius: var(--tn-radius);
}
/* equal-height slides so the section doesn't jump as the carousel autoplays */
.testimonials .swiper-slide { height: auto; }
.testimonials .testimonial-wrap { height: 100%; }

@media (max-width: 767px) {
  #testimonials.testimonials { padding: 56px 0 48px; }
  .testimonials .testimonial-item {
    margin: 12px 2px;
    height: calc(100% - 24px);
    padding: 18px;
    min-height: 0;
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 12px;
    align-items: center;
    align-content: start;
  }
  .testimonials .testimonial-item .testimonial-img {
    float: none;
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 0;
    border-radius: 50%;
    margin: 0;
  }
  .testimonials .testimonial-item h3 { margin: 0 0 2px; font-size: 16px; line-height: 1.3; align-self: end; }
  .testimonials .testimonial-item h4 { font-size: 12.5px; line-height: 1.4; color: var(--tn-muted); align-self: start; }
  .testimonials .testimonial-item p {
    grid-column: 1 / -1;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.6;
  }
  .testimonials .testimonial-item .quote-icon-left,
  .testimonials .testimonial-item .quote-icon-right { font-size: 20px; }
  .testimonials .testimonial-item,
  .testimonials .testimonial-item * { text-align: left !important; }
  .testimonials .swiper-pagination { margin-top: 8px; }
  .testimonials .swiper-pagination .swiper-pagination-bullet { width: 9px; height: 9px; }
}

/* ---------- Footer ---------- */
#footer { font-family: var(--tn-font-body); }
#footer .footer-top .footer-contact h3 { text-transform: none; font-size: 24px; margin-bottom: 18px; }
#footer .footer-newsletter .tn-btn { margin-top: 8px; }
#footer .footer-newsletter p { color: rgba(255, 255, 255, 0.75); line-height: 1.6; }

.tn-contact { list-style: none; padding: 0; margin: 0; }
.tn-contact li {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 10px;
  align-items: start;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.tn-contact i { color: #ff5a5f; font-size: 15px; line-height: 1.4; }
.tn-contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.tn-contact a { color: #fff; }
.tn-contact a:hover { color: #ff8a8d; }

#footer .footer-top .footer-links ul a { line-height: 1.4; }

/* tablet: contact + two link lists on one row, CTA as a full-width strip */
@media (max-width: 991px) {
  #footer .footer-top { padding: 48px 0 16px; }
  #footer .footer-top .footer-contact,
  #footer .footer-top .footer-links { margin-bottom: 28px; }
  #footer .footer-newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 24px;
    padding-top: 24px;
    margin-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  #footer .footer-newsletter h4 { width: 100%; margin-bottom: 0; }
  #footer .footer-newsletter p { flex: 1 1 280px; margin: 0; }
  #footer .footer-newsletter .tn-btn { margin-top: 0; }
}

/* phones */
@media (max-width: 767px) {
  #footer .footer-top { padding: 40px 0 8px; }
  #footer .footer-top .footer-links ul li { padding: 7px 0; }
  #footer .footer-top .footer-links ul a { font-size: 14px; }
  #footer .footer-newsletter .tn-btn { width: 100%; }
  #footer .footer-top,
  #footer .footer-top * { text-align: left !important; }
  #footer .footer-newsletter .tn-btn { text-align: center !important; }
  #footer > .container { text-align: center; }
  #footer .copyright { font-size: 13px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
