﻿:root {
  --blue: #073763;
  --blue-2: #0d4f8b;
  --red: #e2232f;
  --orange: #f07a14;
  --gold: #ffc928;
  --green: #12a852;
  --ink: #0b1f34;
  --muted: #5f6f82;
  --line: #dbe4ee;
  --soft: #f4f7fb;
  --paper: #f6f0e4;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(11, 31, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

body:has(.floating-whatsapp) {
  padding-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.nav-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 18px 12px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 72%, #515bd4 100%);
  box-shadow: 0 16px 32px rgba(221, 42, 123, 0.32);
  font-weight: 900;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(221, 42, 123, 0.42);
}

.instagram-glyph {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 10px;
  flex: 0 0 34px;
}

.instagram-glyph::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.instagram-glyph::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.instagram-label {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(7, 55, 99, 0.1);
  box-shadow: 0 8px 24px rgba(7, 55, 99, 0.08);
  backdrop-filter: blur(10px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark {
  display: block;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  font-size: clamp(38px, 5vw, 50px);
  line-height: 0.85;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: none;
}

.brand-mark span:first-child,
.brand-mark span:last-child {
  color: var(--blue);
}

.brand-mark span:nth-child(2) {
  color: var(--red);
}

.brand-text strong {
  display: block;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.05;
}

.brand-text small {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 26px 0 24px;
  border-radius: 0;
  color: #20364d;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--orange);
  background: transparent;
  transform: none;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-size: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--blue-2);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(7, 55, 99, 0.2);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.home-page .btn {
  border-radius: 999px;
}

.home-page .btn:not(.green):not(.gold):not(.red) {
  background: var(--blue);
}

.home-page .btn.gold {
  background: var(--orange);
  color: #fff;
}

.btn.green {
  background: var(--green);
}

.btn.gold {
  color: #17283a;
  background: var(--gold);
}

.btn.red {
  background: var(--red);
}

.check-list li::before {
  content: "";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
}

.poster-hero {
  position: relative;
  min-height: clamp(460px, 56vw, 760px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    url("../images/ktt-home-hero-poster.jpg") center / cover no-repeat;
  border-bottom: 8px solid #062c50;
}

.poster-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, rgba(4, 23, 42, 0.22), rgba(4, 23, 42, 0));
  pointer-events: none;
}

.poster-hero-actions {
  position: absolute;
  left: max(32px, calc((100vw - 1180px) / 2));
  bottom: clamp(18px, 3vw, 42px);
  z-index: 2;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-page {
  background:
    radial-gradient(circle at 4% 16%, rgba(111, 130, 93, 0.14), transparent 24%),
    radial-gradient(circle at 94% 44%, rgba(240, 122, 20, 0.1), transparent 22%),
    linear-gradient(180deg, #fffaf0 0%, #f8f1e5 48%, #ffffff 100%);
}

.home-page .section {
  position: relative;
}

.home-page .section:not(.soft) {
  background: transparent;
}

.home-page .section.soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.78)),
    var(--paper);
}

.home-page .section-title h2 {
  color: var(--blue);
  letter-spacing: 0;
}

.home-page .section-title h2::before,
.home-page .section-title h2::after {
  background: linear-gradient(90deg, transparent, var(--orange), var(--blue));
  height: 3px;
  border-radius: 99px;
}

.section {
  padding: clamp(42px, 5vw, 62px) 0;
}

.section.soft {
  background: var(--soft);
}

.section-title {
  text-align: center;
  margin: 0 0 28px;
}

.section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(25px, 3vw, 36px);
  text-transform: uppercase;
}

.section-title h2::before,
.section-title h2::after {
  content: "";
  width: clamp(34px, 8vw, 86px);
  height: 2px;
  background: #8b98a8;
}

.section-title p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fleet-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(11, 31, 52, 0.08);
}

.home-page .fleet-card,
.home-page .panel,
.home-page .form-panel,
.home-page .review-card {
  border-color: rgba(7, 55, 99, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(7, 55, 99, 0.11);
}

.home-page .fleet-card {
  border-radius: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-page .fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(7, 55, 99, 0.16);
}

.fleet-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fleet-card img.ai-bus {
  background: #dce7f2;
}

.fleet-card img.crop-left { object-position: left center; }
.fleet-card img.crop-mid { object-position: center center; }
.fleet-card img.crop-right { object-position: right center; }
.fleet-card img.crop-high { object-position: center 38%; }

.fleet-card-body {
  padding: 16px 14px 14px;
  text-align: center;
}

.home-page .fleet-card-body {
  background: linear-gradient(180deg, #fff, #fff8ec);
}

.fleet-card h3 {
  min-height: 46px;
  margin: 0 0 10px;
  color: #071e37;
  font-size: 17px;
  line-height: 1.25;
}

.home-page .fleet-card h3 {
  color: var(--blue);
}

.vehicle-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  color: #33465a;
  font-size: 12px;
}

.vehicle-meta span {
  display: grid;
  gap: 2px;
}

.vehicle-meta b {
  font-size: 17px;
  line-height: 1;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.destination-card {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  border-radius: 8px;
  background: #dce7f2;
  box-shadow: 0 8px 18px rgba(11, 31, 52, 0.1);
}

.home-page .destination-card {
  min-height: 132px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 28px rgba(7, 55, 99, 0.16);
}

.destination-card img {
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.destination-card:hover img {
  transform: scale(1.06);
}

.destination-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 10px 10px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0));
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.home-page .destination-card span {
  background: linear-gradient(0deg, rgba(5, 30, 54, 0.86), rgba(5, 30, 54, 0));
  letter-spacing: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.panel,
.form-panel,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(11, 31, 52, 0.08);
}

.panel {
  padding: 22px;
}

.panel h3,
.form-panel h3,
.review-card h3 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 21px;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  border-color: #9ee2b7;
  color: var(--green);
}

.student-img {
  margin-top: 16px;
  height: 120px;
  border-radius: 6px;
  object-fit: cover;
}

.student-photo-bg {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 23, 42, 0.92), rgba(4, 23, 42, 0.72)),
    url("../images/ktt-student-tours-bg.png") center / cover;
}

.student-photo-bg .content h2,
.student-photo-bg .check-list,
.student-photo-bg .content p {
  color: #fff;
}

.student-photo-bg .check-list li::before {
  background: rgba(255, 255, 255, 0.08);
}

.quote-form {
  display: grid;
  gap: 10px;
}

.form-panel {
  padding: 22px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.review-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 12px;
  font-size: 36px;
  font-weight: 900;
}

.stars {
  color: #f5b400;
  letter-spacing: 1px;
}

.review-card {
  padding: 22px;
}

.review-card .google {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
}

.review-card .google span:nth-child(1) { color: #4285f4; }
.review-card .google span:nth-child(2) { color: #db4437; }
.review-card .google span:nth-child(3) { color: #f4b400; }
.review-card .google span:nth-child(4) { color: #4285f4; }
.review-card .google span:nth-child(5) { color: #0f9d58; }
.review-card .google span:nth-child(6) { color: #db4437; }

.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.page-hero {
  min-height: clamp(270px, 34vw, 360px);
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 17, 31, 0.84), rgba(3, 17, 31, 0.36)),
    var(--page-img) center / cover;
}

.page-hero .section-inner {
  padding: clamp(42px, 6vw, 66px) 0;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
}

.student-hero {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgba(3, 17, 31, 0.68), rgba(3, 17, 31, 0.22)),
    url("../images/ktt-student-tours-bg.png") center / cover;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.content h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 38px);
}

.content p {
  color: #33465a;
  font-size: 17px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.feature {
  border-left: 4px solid var(--red);
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 5px;
  font-weight: 800;
}

.route-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.route-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(11, 31, 52, 0.08);
}

.route-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.route-card-body {
  padding: 22px;
}

.route-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f1f8;
  color: #21364d;
  font-size: 13px;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 220px;
  background: var(--soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 5px;
  color: #fff;
  background: rgba(7, 55, 99, 0.9);
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.contact-line {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line b {
  display: block;
  color: var(--blue);
}

.contact-icon {
  min-width: 52px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-box {
  min-height: 300px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(rgba(7, 55, 99, 0.82), rgba(7, 55, 99, 0.82)),
    url("https://images.unsplash.com/photo-1524492412937-b28074a5d7da?auto=format&fit=crop&w=1200&q=80") center / cover;
  text-align: center;
  padding: 24px;
}

.site-footer {
  color: #dfeaf5;
  background: #062c50;
  padding-bottom: 0;
}

.home-page .site-footer {
  background:
    linear-gradient(180deg, #073763 0%, #041c34 100%);
  border-top: 6px solid var(--orange);
}

.home-page .desktop-quote {
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(240, 122, 20, 0.24);
}

.home-page .desktop-quote:hover {
  background: #d86408;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0 28px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer p,
.site-footer li {
  color: #d5e2ef;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  text-align: center;
  color: #c7d7e8;
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  min-height: 48px;
}

@media (max-width: 1120px) {
  .nav-inner {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 10px 16px 18px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11, 31, 52, 0.13);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
    white-space: normal;
    border-bottom: 1px solid rgba(7, 55, 99, 0.08);
  }

  .nav-links a.active::after,
  .nav-links a:hover::after {
    display: none;
  }

  .desktop-quote {
    display: none;
  }
}

@media (max-width: 980px) {

  .fleet-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-mark {
    font-size: 34px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .poster-hero {
    min-height: clamp(430px, 128vw, 560px);
    padding-bottom: 156px;
    background-color: #f8f1e5;
    background-size: contain;
    background-position: center top;
  }

  .poster-hero-actions {
    left: 16px;
    right: 16px;
    bottom: 14px;
    gap: 8px;
  }

  .poster-hero-actions .btn {
    width: 100%;
    min-height: 42px;
  }

  .feature-list,
  .route-groups {
    grid-template-columns: 1fr;
  }

  .fleet-grid,
  .info-grid,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-page .destination-card,
  .destination-card {
    min-height: 112px;
    border-radius: 7px;
  }

  .destination-card img {
    min-height: 112px;
  }

  .route-card img,
  .gallery-item,
  .gallery-item img {
    min-height: 190px;
    height: 190px;
  }

  .page-hero {
    min-height: 250px;
  }

  .student-hero {
    min-height: 330px;
    background-position: center;
  }

  .panel,
  .form-panel,
  .review-card,
  .route-card-body {
    padding: 18px;
  }

  .section-title h2::before,
  .section-title h2::after {
    display: none;
  }

  .floating-whatsapp {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .site-footer {
    padding-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 36px 0;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .brand-text strong {
    font-size: 11px;
  }

  .brand-text small {
    display: none;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }

  .poster-hero {
    min-height: 410px;
    padding-bottom: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
