/*
Theme Name: ChronoTrips Child
Theme URI: https://chronotrips.com/
Description: Premium Astra child theme for ChronoTrips travel agency website.
Author: achoudhury
Template: astra
Version: 2.3.0
Text Domain: chronotrips-child
*/

:root {
  --ct-orange: #F97316;
  --ct-orange-dark: #C2410C;
  --ct-orange-hover: #EA580C;
  --ct-orange-soft: #FFF3E8;
  --ct-orange-accent: #FDBA74;
  --ct-navy: #0B2740;
  --ct-navy-2: #132F4C;
  --ct-ink: #172033;
  --ct-muted: #64748B;
  --ct-sand: #FFF7ED;
  --ct-cream: #FFFBF5;
  --ct-border: #E5E7EB;
  --ct-white: #FFFFFF;
  --ct-shadow: 0 24px 70px rgba(11, 39, 64, .14);
  --ct-radius: 28px;
  --ct-btn-radius: 16px;
  --ct-shell: min(100% - 40px, 1480px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ct-ink); background: var(--ct-cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ct-orange-dark); }
img { display: block; max-width: 100%; height: auto; }

.ct-shell { width: var(--ct-shell); margin-inline: auto; }
.ct-section { padding: clamp(64px, 8vw, 118px) 0; }
.ct-section--soft { background: linear-gradient(180deg, var(--ct-sand), var(--ct-cream)); }
.ct-section__head { max-width: 820px; margin-bottom: 34px; }
.ct-section__head--center { text-align: center; margin-inline: auto; }
.ct-eyebrow, .ct-kicker { margin: 0 0 10px; color: var(--ct-orange-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ct-lead { color: var(--ct-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 760px; }
.ct-note { color: var(--ct-muted); font-size: .92rem; }
.ct-hidden { display: none !important; }

h1, h2, h3 { margin: 0 0 14px; color: var(--ct-navy); line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 5.8rem); max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin-top: 0; }

.ct-btn, button.ct-btn, .ct-form button[type="submit"] { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 13px 22px; border: 0; border-radius: var(--ct-btn-radius); font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.ct-btn:hover, .ct-form button[type="submit"]:hover { transform: translateY(-1px); }
.ct-btn--primary, .ct-form button[type="submit"] { background: var(--ct-orange); color: var(--ct-white); box-shadow: 0 14px 34px rgba(249, 115, 22, .28); }
.ct-btn--primary:hover, .ct-form button[type="submit"]:hover { background: var(--ct-orange-hover); color: var(--ct-white); }
.ct-btn--secondary { background: rgba(255, 243, 232, .92); color: var(--ct-navy); border: 1px solid rgba(253, 186, 116, .82); box-shadow: 0 12px 28px rgba(11, 39, 64, .16); backdrop-filter: blur(8px); }
.ct-btn--secondary:hover, .ct-btn--secondary:focus-visible { background: var(--ct-orange); color: var(--ct-white); border-color: var(--ct-orange); box-shadow: 0 16px 38px rgba(249, 115, 22, .32); transform: translateY(-1px); }
.ct-btn--light { background: var(--ct-white); color: var(--ct-navy); border: 1px solid var(--ct-border); }
.ct-link { color: var(--ct-orange-dark); font-weight: 800; }

.ct-site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 251, 245, .92); border-bottom: 1px solid rgba(229, 231, 235, .9); backdrop-filter: blur(16px); }
.ct-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.ct-logo { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; font-weight: 900; font-size: 1.25rem; color: var(--ct-navy); }
.ct-logo--custom { max-width: min(240px, 42vw); }
.ct-logo__image { display: block; width: auto; max-width: 240px; max-height: 58px; object-fit: contain; }
.ct-logo__mark { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; color: var(--ct-white); background: linear-gradient(135deg, var(--ct-orange), var(--ct-navy)); box-shadow: 0 12px 28px rgba(11,39,64,.15); }
.ct-menu, .ct-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.ct-menu a, .ct-nav a { color: var(--ct-navy); font-weight: 750; font-size: .96rem; }
.ct-menu a:hover, .ct-nav a:hover { color: var(--ct-orange-dark); }
.ct-menu-toggle { display: none; width: 46px; height: 44px; border: 1px solid var(--ct-border); border-radius: 14px; background: var(--ct-white); }
.ct-menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ct-navy); margin: 4px auto; }
.ct-header-actions { display: flex; align-items: center; gap: 12px; }

.ct-hero { position: relative; min-height: calc(100vh - 78px); display: flex; align-items: center; color: var(--ct-white); background-image: linear-gradient(90deg, rgba(6, 24, 42, .88), rgba(11, 39, 64, .58), rgba(11, 39, 64, .74)), var(--ct-hero-image); background-size: cover; background-position: center; }
.ct-hero__inner { width: var(--ct-shell); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, 500px); align-items: center; gap: clamp(36px, 5vw, 84px); padding: clamp(64px, 8vw, 120px) 0; }
.ct-hero h1, .ct-hero p, .ct-hero .ct-eyebrow { color: var(--ct-white); }
.ct-hero h1 { line-height: .98; text-shadow: 0 12px 38px rgba(0,0,0,.28); }
.ct-hero__copy > p:not(.ct-eyebrow) { max-width: 660px; color: rgba(255,255,255,.88); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.ct-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.ct-trust-strip { display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
.ct-trust-strip span { padding: 10px 13px; border-radius: 16px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.92); font-weight: 700; font-size: .92rem; }
.ct-hero__form { width: 100%; }

.ct-page-hero { background-image: linear-gradient(90deg, rgba(6,24,42,.84), rgba(11,39,64,.56)), var(--ct-hero-image); background-position: center; background-size: cover; color: var(--ct-white); }
.ct-page-hero__inner { min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 110px) 0; }
.ct-page-hero h1, .ct-page-hero p, .ct-page-hero .ct-eyebrow { color: var(--ct-white); }
.ct-page-hero p { max-width: 760px; font-size: 1.2rem; color: rgba(255,255,255,.88); }

.ct-form { background: rgba(255,255,255,.96); color: var(--ct-ink); border: 1px solid rgba(255,255,255,.42); border-radius: 30px; box-shadow: var(--ct-shadow); padding: clamp(22px, 3vw, 34px); }
.ct-form__intro h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); }
.ct-form__intro p { color: var(--ct-muted); margin-bottom: 20px; }
.ct-form label { position: relative; display: grid; gap: 7px; margin-bottom: 14px; font-weight: 750; color: var(--ct-navy); font-size: .92rem; }
.ct-form input, .ct-form textarea, .ct-form select { width: 100%; border: 1px solid var(--ct-border); border-radius: 16px; background: var(--ct-white); min-height: 48px; padding: 12px 14px; color: var(--ct-ink); font: inherit; font-weight: 500; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.ct-form input[type="date"] { cursor: pointer; color-scheme: light; appearance: auto; }
.ct-form input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .75; }
.ct-date-grid { align-items: end; }
.ct-form textarea { resize: vertical; min-height: 110px; }
.ct-form input:focus, .ct-form textarea:focus, .ct-form select:focus { border-color: var(--ct-orange-accent); box-shadow: 0 0 0 4px rgba(249, 115, 22, .12); }
.ct-phone-group { display: grid; grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.ct-phone-group label { margin-bottom: 0; }
.ct-phone-country select { cursor: pointer; }
.ct-phone-number input { letter-spacing: .01em; }
.ct-field-grid { display: grid; gap: 14px; }
.ct-field-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ct-form-status { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; font-weight: 750; }
.ct-form-status:not(:empty), .ct-form-status--success, .ct-form-status--error { display: block; }
.ct-form-status--success { background: #ECFDF5; color: #047857; }
.ct-form-status--error { background: #FEF2F2; color: #B91C1C; }

.ct-autocomplete-list { position: absolute; z-index: 100; top: calc(100% + 4px); left: 0; right: 0; max-height: 260px; overflow-y: auto; background: var(--ct-white); border: 1px solid var(--ct-border); border-radius: 16px; box-shadow: 0 16px 40px rgba(11,39,64,.16); padding: 6px; list-style: none; margin: 0; }
.ct-autocomplete-list[hidden] { display: none; }
.ct-autocomplete-list li { padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--ct-ink); font-weight: 650; }
.ct-autocomplete-list li[aria-selected="true"], .ct-autocomplete-list li:hover { background: var(--ct-orange-soft); color: var(--ct-orange-dark); }

.ct-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ct-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ct-card { overflow: hidden; background: var(--ct-white); border: 1px solid var(--ct-border); border-radius: var(--ct-radius); box-shadow: 0 18px 50px rgba(11, 39, 64, .08); }
.ct-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ct-sand); }
.ct-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ct-card:hover img { transform: scale(1.045); }
.ct-card__media span { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; background: rgba(11,39,64,.82); color: var(--ct-white); border-radius: 14px; font-weight: 800; font-size: .86rem; }
.ct-card__body { padding: 22px; }
.ct-price { color: var(--ct-navy); font-size: 1.18rem; font-weight: 900; }
.ct-price small { display: inline-block; color: var(--ct-muted); font-size: .78rem; font-weight: 700; }
.ct-card__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }

.ct-service-card { padding: 26px; min-height: 100%; }
.ct-service-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 18px; background: var(--ct-orange-soft); color: var(--ct-orange-dark); font-weight: 900; margin-bottom: 18px; }
.ct-image-card img, .ct-rounded-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--ct-radius); }

.ct-filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.ct-filter-bar input { flex: 1 1 260px; min-height: 50px; border-radius: 16px; border: 1px solid var(--ct-border); padding: 12px 14px; font: inherit; }
.ct-chip { border: 1px solid var(--ct-border); background: var(--ct-white); color: var(--ct-navy); border-radius: 16px; padding: 10px 14px; font-weight: 800; cursor: pointer; }
.ct-chip[aria-pressed="true"] { background: var(--ct-navy); color: var(--ct-white); border-color: var(--ct-navy); }

.ct-wa-cta { background: linear-gradient(135deg, var(--ct-navy), var(--ct-navy-2)); color: var(--ct-white); border-radius: 34px; padding: clamp(30px, 5vw, 58px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.ct-wa-cta h2, .ct-wa-cta p { color: var(--ct-white); }
.ct-wa-cta p { color: rgba(255,255,255,.82); max-width: 720px; }

.ct-steps { counter-reset: step; }
.ct-step { position: relative; padding: 26px 26px 26px 80px; }
.ct-step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 26px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 16px; background: var(--ct-orange); color: var(--ct-white); font-weight: 900; }

.ct-gallery { columns: 3 280px; column-gap: 22px; }
.ct-gallery__item { break-inside: avoid; margin: 0 0 22px; background: var(--ct-white); border: 1px solid var(--ct-border); border-radius: var(--ct-radius); overflow: hidden; box-shadow: 0 18px 50px rgba(11,39,64,.08); }
.ct-gallery__item img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.ct-gallery__item figcaption { padding: 16px 18px; }
.ct-tag { display: inline-flex; margin-top: 8px; padding: 6px 10px; border-radius: 12px; background: var(--ct-orange-soft); color: var(--ct-orange-dark); font-size: .82rem; font-weight: 850; }

.ct-testimonial .ct-stars { color: var(--ct-orange); font-size: 1.2rem; letter-spacing: .06em; margin-bottom: 8px; }
.ct-starter-label { display: inline-flex; margin-bottom: 12px; padding: 5px 9px; border-radius: 10px; background: #EFF6FF; color: #1D4ED8; font-size: .78rem; font-weight: 850; }

.ct-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 470px); gap: clamp(30px, 5vw, 70px); align-items: start; }
.ct-sticky-card { position: sticky; top: 110px; display: grid; gap: 20px; }
.ct-meta-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.ct-meta-strip span { background: var(--ct-white); border: 1px solid var(--ct-border); padding: 10px 14px; border-radius: 16px; font-weight: 800; }
.ct-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ct-columns ul { margin-top: 0; }

.ct-footer { background: var(--ct-navy); color: var(--ct-white); padding: 58px 0 28px; }
.ct-footer h2, .ct-footer h3, .ct-footer p { color: var(--ct-white); }
.ct-footer p, .ct-footer a { color: rgba(255,255,255,.78); }
.ct-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, .7fr)); gap: 28px; }
.ct-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ct-footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: .92rem; }

@media (max-width: 1199px) {
  .ct-hero__inner { grid-template-columns: 1fr; padding-top: 82px; }
  .ct-hero__form { max-width: 560px; }
  .ct-card-grid, .ct-card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-detail-grid { grid-template-columns: 1fr; }
  .ct-sticky-card { position: static; }
  .ct-header-actions .ct-btn { display: none; }
}

@media (max-width: 900px) {
  .ct-menu-toggle { display: inline-block; }
  .ct-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); display: none; padding: 16px; background: var(--ct-white); border: 1px solid var(--ct-border); border-radius: 22px; box-shadow: var(--ct-shadow); }
  .ct-nav.is-open { display: block; }
  .ct-menu, .ct-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .ct-menu a, .ct-nav a { display: block; padding: 10px 12px; border-radius: 12px; }
  .ct-menu a:hover, .ct-nav a:hover { background: var(--ct-orange-soft); }
  .ct-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --ct-shell: min(100% - 28px, 1480px); }
  .ct-section { padding: 56px 0; }
  .ct-hero { min-height: auto; }
  .ct-hero__inner { padding: 58px 0; gap: 28px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .ct-field-grid--two, .ct-card-grid, .ct-card-grid--four, .ct-columns, .ct-wa-cta, .ct-phone-group { grid-template-columns: 1fr; }
  .ct-wa-cta { text-align: left; }
  .ct-gallery { columns: 1; }
  .ct-footer__grid { grid-template-columns: 1fr; }
  .ct-form { border-radius: 24px; }
}

@media (max-width: 480px) {
  .ct-header__inner { min-height: 68px; }
  .ct-logo span:last-child { font-size: 1.05rem; }
  .ct-logo__image { max-width: 178px; max-height: 48px; }
  .ct-trust-strip span, .ct-hero__actions .ct-btn { width: 100%; }
  .ct-btn, .ct-form button[type="submit"] { width: 100%; }
  .ct-card__actions { display: grid; }
}

/* ChronoTrips v2.0: form WhatsApp follow-up link */
.ct-form-status__wa {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-weight: 800;
  color: var(--ct-orange-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ct-form-status__wa:hover,
.ct-form-status__wa:focus-visible {
  color: var(--ct-navy);
}


/* ChronoTrips v2.2 final responsive/browser hardening */
html, body { width: 100%; max-width: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.ct-main { min-height: 58vh; }
.ct-shell, .ct-hero__inner, .ct-detail-grid, .ct-card-grid, .ct-footer__grid, .ct-field-grid, .ct-phone-group { min-width: 0; }
.ct-card, .ct-form, .ct-hero__copy, .ct-hero__form, .ct-detail-grid > *, .ct-footer__grid > * { min-width: 0; }
.ct-site-header { top: 0; }
.admin-bar .ct-site-header { top: 32px; }
.ct-nav { min-width: 0; }
.ct-menu a, .ct-nav a { white-space: nowrap; }
.ct-hero { min-height: 720px; min-height: min(760px, calc(100svh - 78px)); background-position: center center; }
.ct-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); }
.ct-page-hero { background-position: center center; }
.ct-card-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ct-card-grid--four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ct-card__media img, .ct-image-card img, .ct-rounded-image, .ct-gallery__item img { background: var(--ct-sand); }
.ct-form input, .ct-form textarea, .ct-form select, .ct-filter-bar input { max-width: 100%; -webkit-tap-highlight-color: transparent; }
.ct-form select { appearance: auto; -webkit-appearance: menulist; }
.ct-form input[type="date"] { -webkit-appearance: auto; min-width: 0; }
.ct-form button[disabled] { opacity: .72; cursor: wait; transform: none; }
.ct-card__actions .ct-link { display: inline-flex; align-items: center; min-height: 36px; }

@media (max-width: 1280px) {
  .ct-header__inner { gap: 14px; }
  .ct-menu, .ct-nav ul { gap: 14px; }
  .ct-logo__image { max-width: 210px; }
}

@media (max-width: 1100px) {
  .ct-menu-toggle { display: inline-block; }
  .ct-header-actions .ct-btn { display: none; }
  .ct-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); display: none; padding: 16px; background: var(--ct-white); border: 1px solid var(--ct-border); border-radius: 22px; box-shadow: var(--ct-shadow); max-height: calc(100vh - 130px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .ct-nav.is-open { display: block; }
  .ct-menu, .ct-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .ct-menu a, .ct-nav a { display: block; padding: 11px 12px; border-radius: 12px; white-space: normal; }
  .ct-menu a:hover, .ct-nav a:hover { background: var(--ct-orange-soft); }
  .ct-hero { min-height: auto; }
  .ct-hero__inner { grid-template-columns: 1fr; padding-top: clamp(54px, 8vw, 82px); }
  .ct-hero__form { max-width: 620px; }
}

@media (max-width: 782px) { .admin-bar .ct-site-header { top: 46px; } }

@media (min-width: 768px) and (max-width: 1100px) {
  .ct-hero__copy { max-width: 780px; }
  .ct-hero h1 { font-size: clamp(3.4rem, 8vw, 5rem); }
  .ct-form { padding: 28px; }
  .ct-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .ct-hero { background-position: center top; }
  .ct-page-hero__inner { min-height: 360px; }
  .ct-phone-group { gap: 10px; }
  .ct-card__actions { flex-direction: column; align-items: flex-start; }
  .ct-gallery { column-count: 1; }
}

@media (max-width: 480px) {
  .ct-logo--custom { max-width: 190px; }
  .ct-logo__image { max-width: 178px; }
  .ct-form { padding: 20px; }
  .ct-form input, .ct-form textarea, .ct-form select { font-size: 16px; }
}

@supports (-webkit-touch-callout: none) {
  .ct-site-header { -webkit-backdrop-filter: blur(16px); }
  .ct-btn, .ct-form, .ct-card, .ct-page-hero, .ct-hero { transform: translateZ(0); }
}
