/* ==========================================================================
   Grand Mamex Hospitality & Trading — custom stylesheet
   Design tokens extracted from the original Elementor kit (kit id 109)
   ========================================================================== */

:root {
  --navy: #022461;   /* global "secondary" */
  --cyan: #00adef;   /* global "primary"   */
  --orange: #ff5e15; /* hover / active accent */
  --text: #6e6e6e;
  --white: #ffffff;
  --pale: #ddf0fe;   /* light blue tint */
  --line: #e0e0e0;
  --ink: #0b1b3a;
  --shade: #f4f7fb;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(2, 36, 97, .08);
  --header-h: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--orange); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.1;
  text-transform: capitalize;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.125rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; line-height: 1.2; }
h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
p  { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding: 100px 0; }
.section--tint { background: var(--shade); }
.center { text-align: center; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border: 0; border-radius: 30px;
  background: var(--navy); color: var(--white);
  font: inherit; font-weight: 500; cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--cyan); color: var(--white); transform: translateY(-2px); }
.btn--cyan { background: var(--cyan); }
.btn--cyan:hover { background: var(--navy); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan);
  font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 14px;
}
.eyebrow svg { width: 16px; height: 16px; }
.hl { color: var(--cyan); }
.lead { max-width: 640px; }
.section-head { margin-bottom: 56px; }
.section-head.center .lead { margin-inline: auto; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
}
.header-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand img { width: 100%; max-width: 230px; }

.nav-block {
  background: var(--cyan);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: center;
}
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a {
  display: block; padding: 12px 18px;
  color: var(--white);
  font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .03em;
}
.nav-list a { position: relative; }
.nav-list a:hover { color: var(--orange); }
/* Orange on cyan is hard to read, so the current page gets an underline instead. */
.nav-list a[aria-current="page"] { color: var(--white); }
.nav-list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 4px;
  height: 3px; border-radius: 2px; background: var(--orange);
}

.header-call {
  display: flex; align-items: center; gap: 14px;
  color: var(--white); white-space: nowrap;
}
.header-call:hover { color: var(--white); }
.header-call .dot {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--cyan);
  transition: background .25s ease;
}
.header-call:hover .dot { background: var(--orange); }
.header-call .dot svg { width: 22px; height: 22px; }
.header-call small { display: block; font-size: 13px; opacity: .75; }
.header-call strong { font-size: 16px; font-weight: 600; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 8px;
  background: var(--orange); color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin-inline: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--pale) url("../img/66bbe527ae8bcd9825f4e708_Background.png") center/cover no-repeat;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 17px; margin-bottom: 32px; }

.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 44px; }
.video-link { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 600; }
.video-link .play {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--cyan); color: #fff;
  box-shadow: 0 0 0 0 rgba(0,173,239,.55);
  animation: ripple 2.4s infinite;
}
.video-link:hover .play { background: var(--orange); }
.video-link .play svg { width: 18px; height: 18px; }
@keyframes ripple {
  70% { box-shadow: 0 0 0 18px rgba(0,173,239,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,173,239,0); }
}

.daily-clients h4 { color: var(--navy); margin-bottom: 14px; }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars .more {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid #fff; object-fit: cover;
  margin-left: -14px;
}
.avatars img:first-child { margin-left: 0; }
.avatars .more {
  display: grid; place-items: center;
  background: var(--cyan); color: #fff; font-weight: 700;
}

.hero-visual { position: relative; }
.hero-visual > img { margin-inline: auto; max-height: 560px; width: auto; }
.rating-card {
  position: absolute; left: 0; top: 8%;
  background: #fff; border-radius: 14px; padding: 16px 20px;
  box-shadow: var(--shadow); text-align: center; z-index: 2;
}
.rating-card img { width: 92px; margin: 0 auto 8px; }
.rating-card .num { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1; }
.rating-card .lbl { font-size: 13px; }

.hero-stats { display: grid; gap: 16px; position: absolute; right: 0; top: 6%; z-index: 2; }
.stat-card {
  background: #fff; border-radius: 14px; padding: 16px 26px;
  box-shadow: var(--shadow); text-align: center; min-width: 132px;
}
.stat-card .num { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-card .lbl { font-size: 13px; }

/* ==========================================================================
   Feature cards (01–04)
   ========================================================================== */
.features { margin-top: -60px; position: relative; z-index: 5; padding-bottom: 100px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, border-color .3s ease;
}
.feature:hover { transform: translateY(-8px); border-color: var(--cyan); }
.feature .step {
  position: absolute; top: 18px; right: 22px;
  font-size: 34px; font-weight: 700; color: var(--pale); line-height: 1;
}
.feature .ico {
  width: 64px; height: 64px; margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--cyan); color: #fff;
  transition: background .3s ease;
}
.feature:hover .ico { background: var(--orange); }
.feature .ico svg { width: 30px; height: 30px; }
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; font-size: 15px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
}
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cyan); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 30px;
}
.badge svg { width: 14px; height: 14px; }
.go {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center; border-radius: 12px;
  background: var(--navy); color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.go:hover { background: var(--orange); color: #fff; transform: rotate(-45deg); }
.go svg { width: 18px; height: 18px; }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 26px 24px 30px; flex: 1; }
.service-body h3 { margin-bottom: 14px; }
.role-list { display: flex; flex-wrap: wrap; gap: 8px; }
.role-list li {
  font-size: 13.5px; line-height: 1.3;
  background: var(--shade); border: 1px solid var(--line);
  color: var(--ink);
  padding: 6px 12px; border-radius: 30px;
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.check-list { margin-bottom: 34px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--cyan); margin-top: 2px; }

.vm { display: grid; gap: 22px; }
.vm-item { display: flex; gap: 18px; align-items: flex-start; }
.vm-item .ico {
  width: 62px; height: 62px; flex: none;
  display: grid; place-items: center;
  border: 2px solid var(--cyan); border-radius: 50%; color: var(--cyan);
  transition: background .3s ease, color .3s ease;
}
.vm-item:hover .ico { background: var(--cyan); color: #fff; }
.vm-item .ico svg { width: 28px; height: 28px; }
.vm-item h4 { margin-bottom: 6px; }
.vm-item p { margin: 0; font-size: 15px; }

.why-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-media img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.why-media .col { display: grid; gap: 16px; }
.why-media .col:first-child { padding-top: 40px; }
.exp-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 146px; height: 146px; border-radius: 50%;
  background: var(--cyan); color: #fff;
  display: grid; place-items: center; text-align: center;
  padding: 12px; border: 6px solid #fff; box-shadow: var(--shadow); z-index: 2;
}
.exp-badge .num { font-size: 34px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.exp-badge .lbl { display: block; font-size: 11px; line-height: 1.25;
  text-transform: uppercase; letter-spacing: .04em; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--navy); padding: 22px 0; overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  animation: slide 26s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 18px;
  color: #fff; font-size: clamp(18px, 2.2vw, 28px); font-weight: 700;
  text-transform: uppercase; white-space: nowrap;
}
.marquee-track svg { width: 22px; height: 22px; color: var(--cyan); }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-grid img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,36,97,.55), transparent 55%);
  opacity: 0; transition: opacity .35s ease;
}
.gallery-grid figure:hover::after { opacity: 1; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.quote:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.stars { display: flex; gap: 4px; color: var(--cyan); margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0 0 24px; font-size: 15.5px; color: var(--ink); }
.who { display: flex; align-items: center; gap: 14px; }
.who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.who strong { display: block; color: var(--navy); }
.who span { font-size: 13px; }

/* ---------- Brand strip ---------- */
/* The client logos are solid white artwork, so this strip runs on navy. */
.brands { background: var(--navy); padding: 54px 0; }
.brands ul { display: flex; align-items: center; justify-content: space-around; gap: 40px; flex-wrap: wrap; }
.brands img { max-height: 56px; width: auto; opacity: .6; transition: opacity .3s ease, transform .3s ease; }
.brands li:hover img { opacity: 1; transform: translateY(-3px); }

/* ==========================================================================
   Page banner
   ========================================================================== */
.banner {
  position: relative;
  background: var(--navy) url("../img/New-Project-2025-03-18T210048.820.jpg") center/cover no-repeat;
  padding: 110px 0;
  text-align: center;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(2,36,97,.78); }
.banner .wrap { position: relative; }
.banner h1 { color: #fff; margin-bottom: 14px; }
.crumbs { display: flex; justify-content: center; align-items: center; gap: 10px; color: #cfe3f7; font-size: 15px; }
.crumbs a { color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.crumbs a:hover { color: var(--cyan); }
.crumbs svg { width: 15px; height: 15px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.office:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.office .ico {
  width: 70px; height: 70px; margin: 0 auto 20px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--cyan); color: #fff;
}
.office .ico svg { width: 30px; height: 30px; }
.office address { font-style: normal; line-height: 1.9; }
.office address a { display: inline-flex; align-items: center; gap: 8px; }
.office address svg { width: 16px; height: 16px; color: var(--cyan); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px; box-shadow: var(--shadow);
  max-width: 820px; margin-inline: auto;
}
.form-card h2 { text-align: center; margin-bottom: 32px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,173,239,.14);
}
.form-note { margin: 18px 0 0; font-size: 14px; text-align: center; min-height: 21px; }
.form-note.ok { color: #0a7c3f; }
.form-note.err { color: #c0392b; }
.form-card .btn { margin-top: 24px; width: 100%; justify-content: center; }

.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--navy);
  color: #c8d6ea;
}
/* Line pattern kept, but dialled back so the text stays readable. */
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/footer-v1-pattern-1.png") center/cover no-repeat;
  opacity: .07; pointer-events: none;
}
.site-footer > * { position: relative; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px;
  padding: 84px 0 60px;
}
.site-footer h4 { color: #fff; margin-bottom: 22px; font-size: 20px; }
.footer-brand img { max-width: 240px; margin-bottom: 22px; }
.footer-brand p { font-size: 15px; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
  transition: background .25s ease;
}
.socials a:hover { background: var(--cyan); color: #fff; }
.socials svg { width: 18px; height: 18px; }

.f-list { display: grid; gap: 12px; }
.f-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.f-list svg { width: 16px; height: 16px; flex: none; color: var(--cyan); margin-top: 4px; }
.f-list a { color: #c8d6ea; }
.f-list a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 24px 0; text-align: center; font-size: 14.5px;
}
.footer-bottom p { margin: 0; }

/* ---------- Video modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(2,36,97,.9); padding: 20px;
}
.modal[open], .modal.is-open { display: grid; }
.modal-inner { width: min(900px, 100%); aspect-ratio: 16 / 9; position: relative; }
.modal iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.modal-close {
  position: absolute; top: -48px; right: 0;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: var(--navy); cursor: pointer;
  display: grid; place-items: center;
}
.modal-close svg { width: 20px; height: 20px; }

/* ---------- Reveal on scroll ---------- */
/* Hidden only when JS is available to reveal it again — otherwise content stays visible. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--cyan); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .header-grid { grid-template-columns: 1fr auto auto; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-block {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100dvh;
    background: var(--cyan); flex-direction: column; justify-content: flex-start;
    padding: 90px 24px 24px;
    transform: translateX(100%); transition: transform .35s ease;
    z-index: 120;
  }
  .nav-block.open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-list a { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.2); }
  .header-call small { display: none; }
  .header-call strong { display: none; }

  .hero { padding: 60px 0; }
  .hero-grid, .why-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual > img { max-height: 440px; }
  .rating-card, .hero-stats { position: static; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
  .rating-card { display: inline-block; margin-bottom: 18px; }
  .features { margin-top: 0; padding: 80px 0; }
  .section { padding: 70px 0; }
  .testimonials { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
}

@media (max-width: 640px) {
  .features-grid, .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; padding: 60px 0 40px; }
  .field-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .why-media .col:first-child { padding-top: 0; }
  .exp-badge { width: 116px; height: 116px; padding: 8px; }
  .exp-badge .num { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
