/*!
Theme Name: Moana
Theme URI: http://underscores.me/
Author: Source Code Web Team
Author URI: https://www.sourcecode.com.mm/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: moana
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------------------------------------------------------------
   1. Reset
--------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    padding: 0;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

ul,
ol {
    list-style: none;
}

:focus-visible {
    outline: 3px solid rgba(58, 121, 227, 0.35);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------
   2. Design Tokens
--------------------------------------------------------------- */
:root {
    /* Color */
    --primary: #3A79E3;
    --primary-light: #EBF2FC;
    --primary-dark: #2956A1;
    --primary-hover: #2563eb;
    --text: #525866;
    --text-dark: #0A0D14;
    --text-light: #868C98;
    --bg: #F6F8FA;
    --bg-light: #EBF2FC;
    --white: #ffffff;
    --green: #33B449;
    --silver: #C0C0C0;
    --yellow: #F2AE40;
    --purple: #6E3FF3;
    --border: #E5E9F0;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 120px;

    /* Layout */
    --max-w: 1440px;
    --container: 1224px;
    --content-max: 808px;

    /* Motion */
    --transition-speed: 0.2s;
    
    /*Shadow */
    --shadow: 0px 16px 32px -12px #585C5F1A;

}

/* ---------------------------------------------------------------
   3. Fonts
--------------------------------------------------------------- */
@font-face {
    font-family: 'Proxima Nova';
    src: url('/wp-content/themes/moana/assets/fonts/ProximaNova-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('/wp-content/themes/moana/assets/fonts/ProximaNova-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('/wp-content/themes/moana/assets/fonts/ProximaNova-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



/* ---------------------------------------------------------------
   4. Base / Typography
--------------------------------------------------------------- */
body {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
}

h1 {
    font-weight: 600;
}

h2 {
    font-size: clamp(36px, 4.2vw, 72px);
    font-weight: 600;
}

h3 {
    font-size: clamp(18px, 1.45vw, 24px);
    font-weight: 600;
    line-height: 1.35;
}

p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

/* ---------------------------------------------------------------
   5. Layout Utilities
--------------------------------------------------------------- */
.container,
.container--wide {
    max-width: var(--container);
    width: calc(100vw - 100px);
    margin-inline: auto;
}

/* Reveal-on-scroll utility, toggled via IntersectionObserver (see main.js) */
.reveal-item {
    --reveal-y: 20px;
    opacity: 0;
}

.reveal-item.is-revealed {
    --reveal-y: 0px;
    opacity: 1;
}

/* ---------------------------------------------------------------
   6. Header / Navigation
--------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 24px 24px;
    transition: padding 0.3s;
}

.site-header.is-compact {
    padding: 14px 24px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 38px;
    max-width: var(--container);
    width: calc(100vw - 100px);
    margin-inline: auto;
    height: 72px;
    min-height: 72px;
    padding: 8px 24px;
    background: var(--white);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.brand-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-link__image {
    width: 100px;
    height: auto;
    border: 0;
    outline: 0;
}

.site-nav__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 30px;
}

.site-nav__links a {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a.active,
.current-menu-item a,
.current_page_item a {
    color: var(--primary);
}

.site-nav__cta a{
    flex-shrink: 0;
    padding: 8px 32px;
    color: var(--white) !important;
    background: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
}


.menu-toggle {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle__bar {
    position: absolute;
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle__bar--top {
    transform: translateY(-7px);
}

.menu-toggle__bar--middle {
    transform: translateY(0);
}

.menu-toggle__bar--bottom {
    transform: translateY(7px);
}

/* Hamburger -> X transform */
.menu-toggle.is-open .menu-toggle__bar--top {
    transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bar--middle {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.is-open .menu-toggle__bar--bottom {
    transform: translateY(0) rotate(-45deg);
}

/* ---------------------------------------------------------------
   7. Mobile Navigation
--------------------------------------------------------------- */
.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(246, 248, 250, 0) 74%, #F6F8FA 96%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-nav-backdrop.is-visible {
    display: block;
}

.mobile-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 100px;
    left: 24px;
    right: 24px;
    bottom: 16px;
    z-index: 200;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;      
    touch-action: pan-y; 
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1), transform 0.3s cubic-bezier(.4, 0, .2, 1);
}



.mobile-nav.is-visible {
    display: flex;
}

.mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav__panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    flex-shrink: 0;   
}

.mobile-nav__panel a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
}

.mobile-nav__panel a:last-child {
    border-bottom: none;
}

.mobile-nav__panel a:hover {
    background: #f5f7ff;
    color: var(--primary);
}

/* Shown only at <=1200px via .site-nav__cta being hidden */
.mobile-nav__cta-row {
    display: none;
    padding: 14px 16px;
}

.mobile-nav__cta-row a {
    color: var(--white);
}

.mobile-nav__cta {
    display: block;
    padding: 14px 20px;
    color: var(--white);
    background: var(--primary);
    border-radius: var(--radius-pill);
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s;
}

.mobile-nav__cta:hover {
    color: var(--white);
    background: var(--primary-dark);
}

/* ---------------------------------------------------------------
   8. Hero
--------------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: clamp(620px, 70.5vw, 1016px);
    margin: 0 auto;
    overflow: hidden;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(246, 248, 250, 0) 74%, #F6F8FA 96%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    max-width: var(--container);
    width: calc(100vw - 100px);
    margin-inline: auto;
}

.hero__title {
    color: var(--white);
    font-size: clamp(44px, 6vw, 96px);
    line-height: 1.22;
}

/* ---------------------------------------------------------------
   9. Sections (generic)
--------------------------------------------------------------- */
.section {
    padding: 48px 0;
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 56px;
}

.section__title {
    color: var(--text);
    line-height: 1.05;
}

.section__action {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.section__action:hover {
    color: var(--white);
    background: var(--primary);
}

.section__action svg {
    width: 14px;
    height: 14px;
}

/* ---------------------------------------------------------------
   10. Promotions
--------------------------------------------------------------- */

.section--promotions .section__header {
    align-items: end;
    margin-bottom: 62px;
}

.section--promotions .section__action {
    min-width: 244px;
    justify-content: center;
    gap: 14px;
    padding: 10px 24px;
    color: var(--primary);
    border-color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.section--promotions .section__action svg {
    width: 16px;
    height: 16px;
}

.section--promotions .section__action:hover {
    color: var(--white);
    background: var(--primary);
}

.promotion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.promotion-card {
    --reveal-y: 0px;
    position: relative;
    aspect-ratio: 800 / 491;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    background: var(--white);
    border-radius: 22px;
    cursor: pointer;
    transform: translateY(var(--reveal-y));
    transition: opacity 0.5s ease, transform 0.25s, box-shadow 0.25s;
}

.promotion-card:hover {
    box-shadow: 0 18px 40px rgba(58, 121, 227, 0.16);
    transform: translateY(calc(var(--reveal-y) - 4px));
}

.promotion-card__media {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.promotion-card__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s;
}

.promotion-card:hover .promotion-card__media img {
    transform: scale(1.04);
}

.promotion-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 132px;
    padding: 16px;
    background: var(--white);
}

.promotion-card__title {
    align-self: flex-start;
    max-width: 480px;
    margin: 0;
    color: var(--primary);
    font-size: 22px;
    line-height: 1.4;
}

/* Base pill; overridden below with the final visual spec (size/weight) */
.promotion-card__btn {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    justify-content: center;
    padding: 9px 18px;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.promotion-card__btn:hover {
    color: var(--white);
    background: var(--primary);
}

.promotion-card__btn svg {
    width: 15px;
    height: 15px;
}

/* ---------------------------------------------------------------
   11. Airlines
--------------------------------------------------------------- */

.airline-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.airline-card {
    --reveal-y: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;          /* was 180px */
    height: auto;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    transform: translateY(var(--reveal-y));
    transition: box-shadow 0.2s, opacity 0.5s ease, transform 0.5s ease;
}

.airline-card:hover {
    border-color: var(--primary);
    transform: translateY(var(--reveal-y)) scale(1.05);
}

.airline-card img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: contain;
}


/* ---------------------------------------------------------------
   12. Certificates
--------------------------------------------------------------- */

.section--certificates {
    padding-bottom: 96px;
}

.certificate-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 56px;
}

.certificate-badge {
    --reveal-y: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 156px;
    height: 156px;
    overflow: hidden;
    background: var(--white);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(var(--reveal-y));
    transition: border-color 0.2s, opacity 0.5s ease, transform 0.5s ease;
}

.certificate-badge:hover {
    border-color: var(--primary);
    transform: translateY(var(--reveal-y)) scale(1.05);
}

.certificate-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------------------------------------------------------
   13. Contact Form
--------------------------------------------------------------- */

.contact-section {
  padding: 48px 0;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.contact-images {
  position: relative;
  overflow: hidden;
  height: auto;
}

.contact-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  border-radius: 36px;
  object-fit: cover;
  display: block;
}

.contact-img:nth-child(2) {
  display: none;
}

.contact-form-wrap {
  padding: 16px 16px 16px 0;
}

.contact-form-wrap h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.contact-form-wrap label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.wpcf7-form-control-wrap {
    width: 100% !important;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=date],
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input::placeholder {
  color: var(--text-light);
  font-weight: 400;
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 121, 227, 0.13);
}

textarea {
  resize: vertical;
  min-height: 100px;
  height: 160px;
}

/* Select arrow */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%236B7385' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}

select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%233A79E3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ── Custom select (replaces native mobile picker) ── */
.custom-select {
  position: relative;
}

.custom-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none; /* real select stays in the DOM for CF7, but isn't clickable */
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%236B7385' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 14px center/18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.custom-select__trigger.has-value {
  color: var(--text);
}

.custom-select.open .custom-select__trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 121, 227, 0.13);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 9l6 6 6-6' stroke='%233A79E3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 55;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(31, 53, 107, 0.18);
  padding: 6px;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.custom-select.open .custom-select__dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select__option {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .15s ease;
}

.custom-select__option:hover,
.custom-select__option.active {
  background: var(--primary);
  color: var(--white);
}

.custom-select__option[disabled] {
  color: var(--text-light);
  cursor: default;
}

/* ── Date picker ── */
.date-field {
  position: relative;
}

.date-field--disabled .date-input {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.date-input {
  cursor: pointer;
  caret-color: transparent;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><rect x='3.5' y='5' width='17' height='15.5' rx='3' stroke='%233A79E3' stroke-width='1.6'/><path d='M3.5 9.5h17' stroke='%233A79E3' stroke-width='1.6'/><path d='M8 3v3.2M16 3v3.2' stroke='%233A79E3' stroke-width='1.6' stroke-linecap='round'/></svg>") no-repeat right 14px center/20px;
  padding-right: 44px;
}

.calendar-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  width: 300px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(31, 53, 107, 0.18);
  padding: 18px;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.calendar-pop.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media(max-width:480px) {
  .calendar-pop {
    width: 270px;
    left: 50%;
    transform: translate(-50%, -8px) scale(.97);
  }

  .calendar-pop.open {
    transform: translate(-50%, 0) scale(1);
  }
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cal-nav {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: #EEF3FD;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}

.cal-nav:hover {
  background: var(--primary);
  color: #fff;
}

.cal-nav svg {
  width: 14px;
  height: 14px;
}

.cal-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  padding-bottom: 8px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.cal-day:hover:not(:disabled):not(.cal-day--selected) {
  background: #EEF3FD;
  color: var(--primary);
}

.cal-day--muted {
  color: #C7CCDA;
}

.cal-day--today {
  box-shadow: inset 0 0 0 1.5px var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.cal-day--selected {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.cal-day:disabled {
  color: #DADEE8;
  cursor: not-allowed;
}

.cal-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.cal-footer button {
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  padding: 4px 6px;
}

.cal-footer button:hover {
  text-decoration: underline;
}


/* phone row */
.phone-row {
  display: flex;
  gap: 10px;
}

.phone-code-wrap {
  position: relative;
  flex: none;
}

.phone-code-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s ease;
}

.phone-code-trigger:hover {
  border-color: var(--primary);
}

.phone-flag-img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex: none;
}

.phone-chev {
  width: 10px;
  height: 10px;
  transition: transform .2s ease;
  flex: none;
}

.phone-code-wrap.open .phone-chev {
  transform: rotate(180deg);
}

.code-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: 260px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(31, 53, 107, 0.18);
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  overflow: hidden;
}

.code-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.code-search-wrap {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.code-search {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
}

.code-search:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 121, 227, 0.13);
}

.code-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 6px;
}

.code-list::-webkit-scrollbar {
  width: 5px;
}

.code-list::-webkit-scrollbar-thumb {
  background: #D9E2F5;
  border-radius: 6px;
}

.code-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .15s ease;
}

.code-option:hover,
.code-option.active {
  background: var(--primary-light);
  color: var(--primary);
}

.code-option .flag-img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex: none;
}

.code-option .opt-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-option .opt-dial {
  font-weight: 700;
  color: var(--text);
  flex: none;
}

.code-option:hover .opt-dial,
.code-option.active .opt-dial {
  color: var(--primary);
}

.code-empty {
  padding: 16px 10px;
  text-align: center;
  color: var(--text);
  font-size: 14px;
}

.btn-contact {
  width: 100%;
  padding: 8px 32px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s ease, transform .15s ease;
}

.btn-contact:hover:not(:disabled) {
  background: #2f63bd;
  transform: translateY(-2px);
}

.btn-contact:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}

.btn-contact.loading .btn-spinner {
  display: inline-block;
}

.btn-contact.loading .btn-label {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-msg {
  margin-bottom: 24px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  display: none;
}

.form-msg.success {
  display: block;
  background: #E7F8EF;
  color: #1F9D58;
  border: 1px solid #BFEBD3;
}

.form-msg.error {
  display: block;
  background: #FDECEC;
  color: #D5403F;
  border: 1px solid #F6C6C5;
}

.field-err {
  color: #D5403F;
  font-size: 12px;
  margin-top: 5px;
  display: none;
  font-weight: 500;
}

.form-group.invalid input,
.form-group.invalid textarea,
.file-drop.invalid {
  border-color: #D5403F;
}

.form-group.invalid .field-err {
  display: block;
}


.form-group.invalid .custom-select__trigger {
  border-color: rgb(213, 64, 63);
}


/* ---------------------------------------------------------------
   14. Footer
--------------------------------------------------------------- */
.site-footer {
    padding: 48px 0;
    background: var(--bg-light);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.25fr 1.75fr 1fr 1.15fr;
    gap: 44px;
    padding-bottom: 24px;
}

.footer-brand__logo {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

.footer-brand__logo img {
    width: 220px;
    height: auto;
}

.footer-brand__name {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.footer-brand__tagline {
    color: var(--text-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.social-list {
    display: flex;
    gap: 26px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.25s ease;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
}

.social-link svg {
    width: 27px;
    height: 27px;
    fill: #1B3C68;
    transition: fill 0.2s;
}

.social-link:hover svg {
    fill: var(--primary);
}

.footer-column__title {
    margin-bottom: 28px;
    color: var(--primary-dark);
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
}

.footer-list__item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--primary-dark);
}

.footer-list--links .footer-list__item {
    align-items: center;
}

.contact-link {
    font-weight: 400;
}

.footer-list--links .footer-list__item svg {
    color: var(--primary-dark);
}

.footer-list--links a,
.footer-link {
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-list--links a:hover {
    color: var(--primary);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 70px);
    gap: 10px;
}

.payment-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    overflow: hidden;
    background: var(--white);
    border-radius: 6px;
}

.payment-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--primary-dark);
    text-align: center;
}

.site-footer__bottom p,
.site-footer__bottom a {
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
}

/* ---------------------------------------------------------------
   15. Responsive Overrides
--------------------------------------------------------------- */
@media (max-width: 1200px) {

    .site-nav__links {
        display: none;
    }
    
    .site-nav__cta {
        max-width: 90%;
        margin: 0 auto 20px;
        color: var(--white) !important;
        background: var(--primary);
        border-radius: var(--radius-pill);
    }
    

    .menu-toggle {
        display: flex;
    }

    .mobile-nav__cta-row {
        display: block;
    }

    .site-nav {
        justify-content: space-between;
        width: calc(100vw - 50px);
    }

    .hero__content {
        width: calc(100vw - 50px);
    }

    .container {
        width: calc(100vw - 50px);
    }

    .section--promotions .section__header {
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 36px;
    }

    .section--promotions .section__action {
        min-width: auto;
        font-size: 16px;
    }

    .promotion-grid {
        grid-template-columns: 1fr;
    }

    .promotion-card {
        min-height: 460px;
    }

    .airline-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 1024px) {
    
  .contact-form-wrap {
      padding: 16px;
  }
  
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-images {
    min-height: 280px;
    order: -1;
  }
}

@media (max-width: 900px) {
    .hero {
        height: 420px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .airline-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    
    
  .contact-form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 600px) {
    .hero {
        height: 80vh;
    }

    .section--promotions .section__header {
        flex-direction: column;
        margin-bottom: 28px;
    }

    .section--promotions .section__action {
        width: 100%;
    }

    .certificate-grid {
        gap: 24px;
    }

    .promotion-grid {
        gap: 24px;
    }

    .promotion-card {
        min-height: 390px;
        border-radius: 22px;
    }

    .promotion-card__body {
        left: 14px;
        right: 14px;
        bottom: 14px;
        grid-template-columns: 1fr;
        gap: 16px;
        min-height: 0;
        padding: 18px;
        border-radius: 18px;
    }

    .promotion-card__btn {
        font-size: 16px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: 24px;
    }

    .airline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .airline-card {
        width: 100%;
        height: auto;
    }
    
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------
   16. Accessibility
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}