/* ═══════════════════════════════════════════
   ALIOTH DIGITAL — MAIN CSS
 
═══════════════════════════════════════════ */

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {

  --sand:    #F5F7FA;       /* was warm sand, now clean light grey */
  --sand2:   #EEF1F6;       /* was sand2, now cool light grey */
  --sand3:   #DDE2EC;       /* borders, was sand3 */
  --sand4:   #C8D0DF;       /* dividers */
  --parch:   #A8B4C8;       /* was parch */
  --stone:   #5A6780;       /* body text muted, was warm stone */
  --slate:   #2C3A52;       /* body text, was slate */
  --ink:     #0D1B2E;       /* headings, was ink */
  --ink2:    #132340;       /* dark bg alt, was ink2 */


  --bur:     #FF6600;       /* was burgundy, now orange primary */
  --bur2:    #FF8533;       /* hover orange */
  --bur3:    #FFF3EB;       /* orange tint bg */


  --grn:     #003580;       /* was green, now deep blue */
  --grn2:    #002260;       /* hover deep blue */
  --grn3:    #E6EAF5;       /* blue tint bg */


  --gld:     #0099CC;       /* was gold, now sky blue */
  --gld2:    #33B5E5;       /* lighter sky blue */
  --gld3:    #E5F5FB;       /* sky blue tint */

  --radius:  12px;
  --radius-lg: 20px;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Poppins', 'Segoe UI', system-ui, sans-serif;  /* was serif display */
  --body:    'DM Sans', system-ui, sans-serif;
}

body {
  font-family: var(--body);
  background: var(--sand);
  color: var(--slate);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--body); }
ul { list-style: none; }

/* ─── LAYOUT ─── */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.sec { padding: 5rem 0; }
@media (min-width: 768px) {
  .wrap { padding: 0 2.5rem; }
  .sec { padding: 7rem 0; }
}
.sec-sm { padding: 3rem 0; }

/* ─── TYPE HELPERS ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--body); font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--bur);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--bur); border-radius: 2px;
}
.eyebrow-light { color: var(--gld2); }
.eyebrow-light::before { background: var(--gld2); }

.hdg {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink);
}
.hdg em { font-style: italic; color: var(--bur); }
.hdg .g { color: var(--grn); font-style: normal; }
.hdg .gd { color: var(--gld); font-style: normal; }
.hdg-white, .hdg-light { color: #fff; }

.hdg-sm {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.2;
  color: var(--ink);
}

.body-p {
  font-size: clamp(.88rem, 1.4vw, 1rem);
  font-weight: 400; color: var(--stone); line-height: 1.9;
}
.body-p-light { color: rgba(255,255,255,.65); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .85rem 2rem; border-radius: 100px;
  border: none; transition: all .25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--grn); color: #fff;
  box-shadow: 0 4px 20px rgba(0,53,128,.25);
}
.btn-primary:hover {
  background: var(--grn2);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,53,128,.35);
}
.btn-outline {
  background: transparent; color: var(--ink);
  border: 2px solid var(--sand3);
}
.btn-outline:hover {
  border-color: var(--grn);
  color: var(--grn);
  background: var(--grn3);
}
.btn-bur {
  background: var(--bur); color: #fff;
  box-shadow: 0 4px 20px rgba(255,102,0,.25);
}
.btn-bur:hover {
  background: var(--bur2);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,102,0,.35);
}
.btn-block { width: 100%; justify-content: center; }

/* ─── SCROLL REVEAL ─── */
.rv {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.rv.in { opacity: 1; transform: translateY(0); }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }
.rv.d4 { transition-delay: .4s; }
.rv.d5 { transition-delay: .5s; }

/* ─── PROGRESS BAR ─── */
#pgbar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; background: var(--bur);
  width: 0%; transition: width .1s linear;
  box-shadow: 0 0 10px rgba(255,102,0,.5);
}

/* ═══════════════════════════════════════════
   NAVIGATION — HelloTravel deep blue header
═══════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  transition: background .4s, box-shadow .4s;
  padding: 0;
  background: var(--grn);       /* deep blue #003580 */
  border-bottom: 3px solid var(--bur); /* orange accent stripe */
}
#nav.scrolled {
  background: var(--grn2);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  border-bottom-color: var(--bur);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}

/* HEADER LOGO */
.nav-logo img {
  height: 70px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity .3s, transform .2s;
}
.nav-logo:hover img {
  opacity: 0.85;
  transform: scale(1.02);
}

.nav-links { display: none; gap: 2rem; align-items: center; }
@media (min-width: 1000px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
  position: relative; padding-bottom: 2px;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 2px; background: var(--bur);  /* orange underline */
  transition: right .3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: #fff; font-weight: 700; }
.nav-links a.active::after { right: 0; background: var(--bur); width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

/* FREE QUOTE — Orange CTA Button */
.nav-cta {
  display: none;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #fff;
  background: var(--bur);     /* orange */
  padding: .7rem 1.6rem;
  border-radius: 100px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(255,102,0,.35);
}
.nav-cta:hover {
  background: var(--bur2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,102,0,.45);
}
@media (min-width: 1000px) { .nav-cta { display: inline-flex; align-items: center; gap: .4rem; } }

.ham {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 38px; height: 38px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: 4px;
}
@media (min-width: 1000px) { .ham { display: none; } }
.ham span {
  display: block; height: 2px; background: #fff;
  border-radius: 2px; transition: all .35s var(--ease);
}
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(4.8px, 4.8px); }
.ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(4.8px, -4.8px); }

.mob-drawer {
  position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
  background: var(--grn2);   /* deep blue mobile menu */
  z-index: 700;
  padding: 2rem 1.5rem 3rem;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,.1);
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  overflow-y: auto;
}
.mob-drawer.open { transform: translateX(0); }
.mob-drawer a {
  font-family: var(--display); font-size: 1.4rem; font-weight: 600;
  color: rgba(255,255,255,.85); padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mob-drawer a:last-of-type { border-bottom: none; }

/* Mobile CTA — orange */
.mob-cta {
  margin-top: 2rem;
  background: var(--bur) !important;
  color: #fff !important;
  text-align: center; border-radius: 100px;
  font-family: var(--body) !important; font-size: .82rem !important;
  font-weight: 700 !important; padding: 1rem 2rem !important;
}
.mob-contact { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.mob-contact p { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: .4rem; }
.mob-contact a { font-family: var(--body) !important; font-size: .9rem !important; color: var(--gld2) !important; border: none !important; }

/* ═══════════════════════════════════════════
   FOOTER — Deep blue matching header
═══════════════════════════════════════════ */
footer {
  background: linear-gradient(160deg, #002260 0%, #001440 100%);
  padding: 4rem 0 0;
  border-top: 4px solid var(--bur); /* orange top stripe */
}
.foot-top {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 600px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; } }

/* FOOTER LOGO */
.foot-logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity .2s, transform .2s;
}
.foot-logo:hover img {
  opacity: 1;
  transform: scale(1.02);
}
.foot-brand-p {
  font-size: .85rem; font-weight: 400;
  color: rgba(255,255,255,.45); line-height: 1.8;
  max-width: 260px; margin: 1rem 0 1.2rem;
}
.foot-accent {
  height: 3px; width: 40px;
  background: var(--bur); border-radius: 2px; /* orange accent */
  margin-bottom: 1.2rem;
}
.fcol h5 {
  font-size: .7rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--bur); /* orange headings */
  margin-bottom: 1.3rem;
}
.fcol li { margin-bottom: .8rem; }
.fcol a {
  font-size: .85rem; font-weight: 400;
  color: rgba(255,255,255,.5);
  transition: color .2s, transform .2s;
  display: inline-block;
}
.fcol a:hover {
  color: var(--bur2);   /* hover to orange */
  transform: translateX(5px);
}
.fcol address {
  font-style: normal; font-size: .85rem; font-weight: 400;
  color: rgba(255,255,255,.45); line-height: 1.9;
}
.fcol address a { color: var(--gld2); }
.fcol address a:hover { text-decoration: underline; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  padding: 1.8rem 0;
}
.foot-copy { font-size: .75rem; color: rgba(255,255,255,.3); }
.foot-soc { display: flex; gap: 2rem; }
.foot-soc a {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  transition: color .2s;
}
.foot-soc a:hover { color: var(--bur2); }

/* ═══════════════════════════════════════════
   FLOATING ELEMENTS
═══════════════════════════════════════════ */

.fab-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 700;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,.35);
  transition: transform .25s var(--ease), box-shadow .25s;
  text-decoration: none;
  /* Expanded styles for typing animation */
  width: auto;
  height: auto;
  border-radius: 60px;
  padding: 8px 18px 8px 14px;
  gap: 10px;
  opacity: 0.88;
}

.fab-wa:hover {
  transform: scale(1.05);
  opacity: 1;
  box-shadow: 0 12px 35px rgba(37,211,102,.45);
}

.fab-wa svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.typewriter-text {
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #fff;
  display: inline-block;
  font-family: 'DM Sans', monospace;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.3px;
  animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
  0%, 100% { border-color: #fff; }
  50% { border-color: transparent; }
}

/* Mobile responsive */
@media (max-width: 680px) {
  .fab-wa {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 6px 14px 6px 10px;
  }
  .typewriter-text {
    font-size: 0.7rem;
  }
  .fab-wa svg {
    width: 22px;
    height: 22px;
  }
}

/* Adjust BTT position to not overlap */
#btt {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grn);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,53,128,.2);
  transition: opacity .3s, transform .2s;
}

#btt.show {
  opacity: 1;
  pointer-events: all;
}

#btt:hover {
  transform: translateY(-2px);
  background: var(--grn2);
}

#cookie {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 800;
  max-width: 380px; background: var(--ink2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.4rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
#cookie.hidden { display: none; }
.cookie-p { font-size: .78rem; font-weight: 400; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 1rem; }
.cookie-btns { display: flex; gap: .8rem; }
.cookie-accept {
  flex:1; font-size:.72rem; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
  background: var(--bur); color:#fff; border:none;  /* orange accept btn */
  padding:.6rem 1rem; border-radius:100px; cursor:pointer;
  transition: background .2s;
}
.cookie-accept:hover { background: var(--bur2); }
.cookie-decline {
  font-size:.72rem; font-weight:500;
  color: rgba(255,255,255,.3); background:none; border:none;
  cursor:pointer; transition: color .2s;
}
/* ═══════════════════════════════════════════
   QUOTE MODAL POPUP STYLES
═══════════════════════════════════════════ */

/* Modal Overlay - Full screen background */
.quote-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.quote-modal.show {
  display: flex;
}

.quote-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

/* Modal Container */
.quote-modal-container {
  position: relative;
  z-index: 10000;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal Header */
.quote-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.8rem;
  background: var(--ink2, #1a1a1a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-modal-header h3 {
  font-family: var(--display, 'Cormorant Garamond', serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.quote-modal-header h3 em {
  color: var(--gld, #c4933f);
  font-style: italic;
}

.quote-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  line-height: 1;
  padding: 0;
}

.quote-modal-close:hover {
  color: #fff;
}

/* Modal Body */
.quote-modal-body {
  padding: 1.8rem;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
}

.modal-subtitle {
  color: var(--stone, #6b6b6b);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sand3, #e0e0e0);
}

/* Form Rows */
.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 550px) {
  .modal-form-row {
    grid-template-columns: 1fr;
  }
}

.modal-form-group {
  margin-bottom: 1rem;
}

.modal-form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone, #6b6b6b);
  margin-bottom: 0.5rem;
}

.modal-form-group label .required {
  color: var(--bur, #8b3a3a);
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--sand3, #e0e0e0);
  border-radius: 12px;
  font-family: var(--body, 'DM Sans', sans-serif);
  font-size: 0.9rem;
  background: var(--sand, #faf9f7);
  transition: all 0.2s;
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
  outline: none;
  border-color: var(--bur, #8b3a3a);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 58, 58, 0.1);
}

.modal-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Submit Button */
.modal-submit-btn {
  width: 100%;
  background: var(--grn, #2d5a3b);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.modal-submit-btn:hover {
  background: var(--grn2, #1e3d2a);
  transform: translateY(-2px);
  gap: 1.2rem;
}

.modal-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form Note */
.modal-form-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--stone, #6b6b6b);
  margin-top: 1rem;
}

/* Success Message */
.modal-success {
  text-align: center;
  padding: 2rem 1rem;
}

.modal-success svg {
  color: var(--grn, #2d5a3b);
  margin-bottom: 1rem;
}

.modal-success h4 {
  font-family: var(--display, 'Cormorant Garamond', serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
  margin-bottom: 0.5rem;
}

.modal-success p {
  color: var(--stone, #6b6b6b);
  margin-bottom: 1.5rem;
}

.modal-success-close {
  background: var(--grn, #2d5a3b);
  color: #fff;
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-success-close:hover {
  background: var(--grn2, #1e3d2a);
}

/* Scrollbar styling for modal body */
.quote-modal-body::-webkit-scrollbar {
  width: 6px;
}

.quote-modal-body::-webkit-scrollbar-track {
  background: var(--sand2, #f0eee9);
  border-radius: 3px;
}

.quote-modal-body::-webkit-scrollbar-thumb {
  background: var(--bur, #8b3a3a);
  border-radius: 3px;
}

.quote-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--bur2, #6b2a2a);
}
.cookie-decline:hover { color:#fff; }

/* ─── UTILITIES ─── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.grid-2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }