/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE CSS — ported from static contact.html
══════════════════════════════════════════════════════════════ */
  :root {
    --mdt-red: #C0272D;
    --mdt-orange: #F79320;
    --mdt-navy: #1F2E59;
    --mdt-orange-light: #F5E6D3;
    --sand: #F5EDD8;
    --mid-brown: #6B5D4F;
    --ctext: #3A3226;
    --text-light: #9a9488;
  }

  .contact-page {
    font-family: 'Jost', sans-serif;
    color: var(--ctext);
    background: #FDFBF7;
    -webkit-font-smoothing: antialiased;
  }

  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    box-sizing: border-box;
  }

  .contact-page h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--mdt-navy);
    font-size: 1.6rem;
    margin: 2rem 0 0.8rem;
  }

  .contact-page h2 em {
    font-style: italic;
    color: var(--mdt-red);
  }

  .contact-page p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    color: var(--ctext);
  }

  /* ── HERO ── */
  .contact-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    background: var(--mdt-navy);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://www.marrakech-desert-trips.com/wp-content/uploads/2023/07/Morocco-desert-tours-from-Marrakech.jpeg') center/cover;
    opacity: 0.18;
  }

  .contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 100px clamp(16px, 5vw, 60px) 0;
  }

  .contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    justify-content: center;
    margin-bottom: 10px;
  }

  .contact-breadcrumb a {
    color: rgba(245, 230, 211, 0.6);
    text-decoration: none;
  }

  .contact-breadcrumb a:hover {
    color: var(--mdt-orange);
  }

  .contact-breadcrumb span {
    color: rgba(245, 230, 211, 0.4);
  }

  .contact-breadcrumb strong {
    color: rgba(245, 230, 211, 0.8);
  }

  .contact-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 300;
    color: #F5EDD8;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .contact-hero h1 em {
    font-style: italic;
    color: var(--mdt-orange);
  }

  .contact-hero-desc {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(245, 230, 211, 0.72);
    max-width: 580px;
    margin: 0 auto;
  }

  .contact-hero-stats {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin: 20px auto 0;
    background: rgba(18, 8, 30, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 230, 211, 0.1);
    border-radius: 6px;
    width: fit-content;
  }

  .chstat {
    padding: 14px 18px;
    text-align: center;
    border-right: 1px solid rgba(245, 230, 211, 0.1);
  }

  .chstat:last-child {
    border-right: none;
  }

  .chstat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
  }

  .chstat-label {
    font-size: 0.6rem;
    color: rgba(245, 230, 211, 0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
  }

  /* ── LAYOUT ── */
  .contact-body {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 60px);
  }

  /* ── CONTACT CARDS ── */
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 2rem 0;
  }

  .cc {
    background: #fff;
    border: 1px solid rgba(31, 46, 89, 0.08);
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .cc:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(31, 46, 89, 0.08);
  }

  .cc-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .cc-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid-brown);
    margin-bottom: 4px;
  }

  .cc-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mdt-navy);
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .cc-value a {
    color: var(--mdt-navy);
    transition: color 0.2s;
    text-decoration: none;
  }

  .cc-value a:hover {
    color: var(--mdt-red);
  }

  .cc-note {
    font-size: 0.74rem;
    color: var(--mid-brown);
    line-height: 1.5;
  }

  .cc-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
  }

  .cc-badge.fastest {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.2);
  }

  .cc-badge.office {
    background: rgba(31, 46, 89, 0.06);
    color: var(--mdt-navy);
    border: 1px solid rgba(31, 46, 89, 0.1);
  }

  .cc.wa {
    border-color: rgba(37, 211, 102, 0.2);
  }

  .cc.wa:hover {
    border-color: rgba(37, 211, 102, 0.4);
  }

  @media(max-width:600px) {
    .contact-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ── TIP BOX ── */
  .tip-box {
    background: rgba(247, 147, 32, 0.05);
    border-left: 3px solid var(--mdt-orange);
    padding: 14px 16px;
    border-radius: 0 6px 6px 0;
    margin: 1.2rem 0;
    font-size: 0.8rem;
    line-height: 1.65;
    color: var(--mid-brown);
  }

  .tip-box strong {
    color: var(--mdt-navy);
  }

  /* ── HOURS TABLE ── */
  .hours-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(31, 46, 89, 0.1);
    font-size: 0.82rem;
    margin: 1rem 0 2rem;
  }

  .hours-table thead {
    background: var(--mdt-navy);
  }

  .hours-table th {
    padding: 12px 14px;
    text-align: left;
    color: rgba(245, 230, 211, 0.9);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .hours-table td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(31, 46, 89, 0.05);
  }

  .hours-table tr:last-child td {
    border-bottom: none;
  }

  .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
  }

  .status-dot.open {
    background: #25D366;
  }

  .status-dot.closed {
    background: var(--mdt-red);
  }

  /* ── MAP ── */
  .map-wrap {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(31, 46, 89, 0.08);
    margin: 1.5rem 0 2rem;
    height: 320px;
  }

  .map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* ── CONTACT FORM ── */
  .form-section {
    background: #fff;
    border: 1px solid rgba(31, 46, 89, 0.08);
    border-radius: 8px;
    padding: 32px;
    margin: 2rem 0;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .form-full {
    grid-column: 1/-1;
  }

  .form-field label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-brown);
    margin-bottom: 5px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(31, 46, 89, 0.12);
    border-radius: 5px;
    font-family: 'Jost', sans-serif;
    font-size: 0.84rem;
    color: var(--ctext);
    background: #FDFBF7;
    transition: border-color 0.2s;
  }

  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    outline: none;
    border-color: var(--mdt-orange);
    box-shadow: 0 0 0 3px rgba(247, 147, 32, 0.1);
  }

  /* Make entire date input clickable */
  .form-field input[type="date"] {
    position: relative;
    cursor: pointer;
  }
  .form-field input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Keeps the native icon invisible but clickable everywhere */
    cursor: pointer;
  }

  .form-field textarea {
    resize: vertical;
    min-height: 120px;
  }

  @media(max-width:600px) {
    .form-grid {
      grid-template-columns: 1fr;
    }
  }

  #mdt-contact-feedback {
    display: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  /* ── BUTTONS ── */
  .contact-page .btn-primary,
  .contact-page .btn-text,
  .contact-page .btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    min-height: 44px;
    font-family: 'Jost', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 4px;
    text-decoration: none;
  }

  .contact-page .btn-primary {
    background: var(--mdt-red);
    color: #fff !important;
    transition: background 0.2s;
  }

  .contact-page .btn-primary:hover {
    background: #a32228;
  }

  .contact-page .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .contact-page .btn-text {
    background: var(--mdt-navy);
    color: #fff !important;
  }

  .contact-page .btn-text:hover {
    background: #2a3d6b;
  }

  .contact-page .btn-green {
    background: #25D366;
    color: #fff !important;
  }

  .contact-page .btn-green:hover {
    background: #1da851;
  }

  /* ── FAQ ── */
  .contact-faq-list {
    margin: 1rem 0 2rem;
  }

  .contact-faq-item {
    border: 1px solid rgba(31, 46, 89, 0.07);
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
    background: #fff;
  }

  .contact-faq-q {
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Jost', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--mdt-navy);
    text-align: left;
  }

  .contact-faq-icon {
    font-size: 1.1rem;
    color: var(--mdt-orange);
    flex-shrink: 0;
    margin-left: 12px;
  }

  .contact-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .contact-faq-a.open {
    max-height: 500px;
  }

  .contact-faq-inner {
    padding: 0 16px 14px;
    font-size: 0.8rem;
    line-height: 1.65;
    color: var(--mid-brown);
  }

  .contact-faq-inner a {
    color: var(--mdt-red);
    font-weight: 600;
    text-decoration: none;
  }

  .contact-faq-inner a.wa-link {
    color: #25D366;
  }

  /* ── CTA BANNER ── */
  .contact-cta-banner {
    border-radius: 8px;
    overflow: hidden;
    margin: 2.5rem 0;
    border: 1px solid rgba(31, 46, 89, 0.08);
  }

  .contact-cta-top {
    background: var(--mdt-navy);
    padding: 32px 32px 24px;
    text-align: center;
  }

  .contact-cta-top h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 6px;
  }

  .contact-cta-top h3 em {
    font-style: italic;
    color: var(--mdt-orange);
  }

  .contact-cta-top p {
    font-size: 0.8rem;
    color: rgba(245, 230, 211, 0.65);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-cta-bottom {
    background: #FDFBF7;
    padding: 24px 32px;
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-top: 2px solid var(--mdt-orange);
  }

