/*
Theme Name: MyGoDubai Next Dev
Text Domain: mygodubai-next-dev
Description: Development draft for the complete MyGoDubai rebuild.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root{
  --mgd-ink:#17201d;
  --mgd-deep:#14342d;
  --mgd-green:#214139;
  --mgd-gold:#c9a45c;
  --mgd-sand:#f5f1e8;
  --mgd-cream:#fbfaf7;
  --mgd-line:#e6dfd2;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.mgd-next-body{margin:0;background:var(--mgd-cream);color:var(--mgd-ink);font-family:"DM Sans",sans-serif;-webkit-font-smoothing:antialiased}
body.mgd-next-body a{color:inherit}
.mgd-shell{width:min(1420px,calc(100% - 48px));margin-inline:auto}
.mgd-kicker,.mgd-eyebrow{display:block;color:var(--mgd-gold);font-size:.72rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.mgd-primary-cta,.mgd-secondary-cta{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border:1px solid transparent;border-radius:3px;text-decoration:none;font-weight:800;transition:.25s ease}
.mgd-primary-cta{background:var(--mgd-gold);color:var(--mgd-deep)!important}
.mgd-primary-cta:hover{background:#e0c47d;transform:translateY(-1px)}
.mgd-secondary-cta{border-color:rgba(255,255,255,.48);color:#fff!important;background:rgba(20,52,45,.35);backdrop-filter:blur(10px)}
.mgd-secondary-cta:hover{background:var(--mgd-green);border-color:var(--mgd-green)}
.mgd-header{position:absolute!important;top:0;left:0;right:0;z-index:9990;color:#fff;border-bottom:1px solid rgba(255,255,255,.18);background:linear-gradient(180deg,rgba(9,24,20,.82),rgba(9,24,20,.12))}
.admin-bar .mgd-header{top:32px}
.mgd-header__inner{min-height:88px;display:flex;align-items:center;gap:28px}
.mgd-brand{flex:0 0 auto;display:inline-flex;flex-wrap:wrap;align-items:baseline;text-decoration:none;line-height:1;min-width:180px}
.mgd-brand__my,.mgd-brand__dubai{font-family:"Cormorant Garamond",serif;font-size:2rem;font-weight:700}
.mgd-brand__dubai{color:#d9b668}
.mgd-brand small{flex-basis:100%;margin-top:5px;font-size:.52rem;letter-spacing:.14em;color:rgba(255,255,255,.72)}
.mgd-desktop-nav{flex:1;display:flex;justify-content:center}
.mgd-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:24px}
.mgd-menu li{position:relative}
.mgd-menu a{color:#fff!important;font-size:.86rem;font-weight:700;text-decoration:none}
.mgd-menu a:hover{color:#e8cb8c!important}
.mgd-menu .sub-menu{position:absolute;top:100%;left:0;min-width:220px;padding:14px;list-style:none;background:#fff;color:var(--mgd-ink);box-shadow:0 18px 50px rgba(0,0,0,.18);display:none}
.mgd-menu li:hover>.sub-menu{display:block}
.mgd-menu .sub-menu a{color:var(--mgd-ink)!important;display:block;padding:7px 8px}
.mgd-header__tools{display:flex;align-items:center;gap:12px}
.mgd-lang{display:flex;gap:5px}
.mgd-lang a,.mgd-lang span{font-size:.72rem;color:#fff!important;text-decoration:none;opacity:.85}
.mgd-lang .is-current{color:#e8cb8c!important;opacity:1;font-weight:800}
.mgd-header__trip{display:flex;gap:7px;align-items:center;text-decoration:none;color:#fff!important;font-size:.78rem;font-weight:700}
.mgd-header__trip b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#d2ad60;color:var(--mgd-deep)}
.mgd-header__plan{color:var(--mgd-deep)!important;background:#fff;padding:11px 14px;text-decoration:none;font-size:.78rem;font-weight:800;border-radius:3px}
.mgd-mobile-toggle,.mgd-mobile-panel{display:none}

.mgd-hero{position:relative!important;min-height:780px;color:#fff;overflow:visible;background:var(--mgd-deep);padding-top:88px;margin:0!important}
.mgd-hero__media{position:absolute!important;inset:0!important;z-index:0!important;overflow:hidden}
.mgd-hero__media video,.mgd-hero__video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.mgd-hero__scrim{position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(90deg,rgba(8,24,20,.88) 0%,rgba(8,24,20,.58) 42%,rgba(8,24,20,.18) 78%),linear-gradient(0deg,rgba(9,27,22,.66),transparent 55%)}
.mgd-hero__content{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;min-height:540px;padding-top:70px}
.mgd-hero__copy{max-width:820px;padding:56px 0 100px}
.mgd-hero h1{margin:.18em 0 .18em!important;max-width:760px;font-family:"Cormorant Garamond",serif!important;font-weight:600!important;font-size:clamp(4.2rem,7vw,7.5rem)!important;line-height:.84!important;letter-spacing:-.035em!important;color:#fff!important}
.mgd-hero__copy>p{max-width:700px;margin:0;font-size:1.15rem;line-height:1.7;color:rgba(255,255,255,.9)}
.mgd-hero__actions{display:flex;gap:12px;margin-top:28px}
.mgd-hero__human{display:flex;gap:13px;align-items:flex-start;margin-top:30px;max-width:650px;padding-top:22px;border-top:1px solid rgba(255,255,255,.25)}
.mgd-hero__human-dot{flex:0 0 10px;width:10px;height:10px;margin-top:6px;border-radius:50%;background:#d8b564;box-shadow:0 0 0 6px rgba(216,181,100,.12)}
.mgd-hero__human strong,.mgd-hero__human span{display:block}
.mgd-hero__human strong{font-family:"Cormorant Garamond",serif;font-size:1.28rem;color:#fff}
.mgd-hero__human span{margin-top:4px;font-size:.88rem;color:rgba(255,255,255,.76)}

.mgd-route-panel{position:relative!important;z-index:5!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:-54px!important;margin-bottom:0!important}
.mgd-route-card{min-height:152px;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:15px;align-items:center;padding:26px 24px;color:var(--mgd-ink)!important;background:#fff!important;text-decoration:none!important;border-right:1px solid #ece8df;box-shadow:0 16px 46px rgba(11,32,26,.15);transition:.25s ease}
.mgd-route-card:first-child{border-radius:4px 0 0 4px}
.mgd-route-card:last-child{border-radius:0 4px 4px 0;border-right:0}
.mgd-route-card:hover{transform:translateY(-7px);z-index:2;background:#fffdf7!important}
.mgd-route-card__number{font-family:"Cormorant Garamond",serif;font-size:2.25rem;color:#c2a15a}
.mgd-route-card strong,.mgd-route-card small{display:block}
.mgd-route-card strong{font-size:.98rem;color:var(--mgd-ink)}
.mgd-route-card small{margin-top:5px;color:#6f7774;font-size:.76rem;line-height:1.4}
.mgd-arrow{color:#b99147;font-size:1.35rem}

.mgd-trustbar{padding:22px 0!important;background:#fff!important;border-bottom:1px solid #e7dfd0}
.mgd-trustbar__grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0}
.mgd-trustbar__grid>div{display:grid!important;grid-template-columns:26px 1fr!important;align-items:center;column-gap:8px;padding:0 16px;border-right:1px solid #ece6dc}
.mgd-trustbar__grid>div:last-child{border-right:0}
.mgd-trust-icon{grid-row:1/3;display:grid!important;place-items:center;width:24px;height:24px;border:1px solid #c6a45b;color:#9b7833;border-radius:50%;font-size:.65rem}
.mgd-trustbar strong,.mgd-trustbar small{display:block}
.mgd-trustbar strong{font-size:.71rem;color:var(--mgd-ink);line-height:1.25}
.mgd-trustbar small{margin-top:2px;font-size:.59rem;color:#7b837f;line-height:1.25}

.mgd-planner-home{padding:54px 0 72px!important;background:#fff!important}
.mgd-section-intro{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:32px;margin-bottom:22px}
.mgd-section-intro h2{margin:.16em 0 0!important;font-family:"Cormorant Garamond",serif!important;font-size:clamp(2.1rem,3.2vw,3.5rem)!important;line-height:.98!important;font-weight:600!important;letter-spacing:-.02em!important;color:var(--mgd-deep)!important}
.mgd-section-intro p{max-width:520px;margin:0;color:#66706d;line-height:1.6;font-size:.9rem}
.mgd-section-intro a{font-size:.82rem;font-weight:800;text-decoration:none;color:#8b6b2d!important}
.mgd-section-intro--planner{margin-bottom:24px;padding:0 2px}
.mgd-section-intro--planner h2{max-width:760px}
.mgd-planner-home .mgd-planner-shell{max-width:none!important;margin:0!important;padding:0!important}
.mgd-planner-home .mgd-planner-intake{border:1px solid #e7dfd2!important;box-shadow:0 16px 46px rgba(23,32,29,.07)!important;background:#fff!important;border-radius:4px!important;overflow:hidden!important}
.mgd-planner-home .mgd-planner-intake__head{background:linear-gradient(135deg,#173a32,#214139)!important;color:#fff!important;padding:24px 28px!important}
.mgd-planner-home .mgd-planner-intake__head h2{color:#fff!important;font-family:"Cormorant Garamond",serif!important;font-size:clamp(1.9rem,2.7vw,2.7rem)!important;line-height:1!important;margin:.16em 0!important}
.mgd-planner-home .mgd-planner-intake__head p{max-width:850px;font-size:.82rem;line-height:1.55}
.mgd-planner-home .mgd-intake-form{padding:26px 28px!important}

.mgd-explore{padding:90px 0!important;background:var(--mgd-sand)!important}
.mgd-interest-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px}
.mgd-interest-grid a{min-height:160px;padding:22px;display:flex!important;flex-direction:column;justify-content:flex-end;text-decoration:none!important;color:#fff!important;background:linear-gradient(145deg,#214139,#5a786e);position:relative;overflow:hidden}
.mgd-interest-grid a:nth-child(2n){background:linear-gradient(145deg,#70502a,#c4954e)}
.mgd-interest-grid a:after{content:"→";position:absolute;right:18px;top:18px;font-size:1.4rem;opacity:.75}
.mgd-interest-grid strong{font-family:"Cormorant Garamond",serif;font-size:1.6rem}
.mgd-interest-grid span{margin-top:5px;font-size:.72rem;color:rgba(255,255,255,.78)}

.mgd-rail-section{padding:82px 0!important;background:#fff!important;overflow:hidden}
.mgd-rail-section--sand{background:#f8f5ef!important}
.mgd-product-rail{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:310px!important;gap:16px!important;overflow-x:auto!important;padding:4px 2px 18px!important;scroll-snap-type:x mandatory}
.mgd-product-rail .mgd-product-card{width:310px!important;max-width:310px!important;min-width:310px!important;scroll-snap-align:start;border:1px solid #e7e0d5!important;border-radius:3px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 12px 32px rgba(15,42,35,.07)!important}
.mgd-product-rail .mgd-product-card__image{display:block!important;height:205px!important;overflow:hidden!important;position:relative!important}
.mgd-product-rail .mgd-product-card__image img{width:100%!important;height:100%!important;object-fit:cover!important}
.mgd-product-rail .mgd-product-card__badge{position:absolute;top:12px;left:12px;background:#fff7df;color:#7f6129;padding:5px 8px;font-size:.64rem;font-weight:800}
.mgd-product-rail .mgd-product-card__body{padding:18px!important}
.mgd-product-rail .mgd-product-card h3{margin:0 0 10px!important;font-family:"Cormorant Garamond",serif!important;font-size:1.45rem!important;line-height:1.05!important}
.mgd-product-rail .mgd-product-card__meta{display:flex!important;flex-wrap:wrap;gap:8px 12px;min-height:34px;color:#68726e;font-size:.68rem}
.mgd-product-rail .mgd-product-card__price{display:flex!important;justify-content:space-between;align-items:end;margin-top:14px;padding-top:12px;border-top:1px solid #eee8de}
.mgd-product-rail .mgd-product-card__actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px;margin-top:12px}

.mgd-human-section{padding:100px 0!important;background:#173a32!important;color:#fff!important}
.mgd-human-section__grid{display:grid!important;grid-template-columns:1.05fr .95fr!important;gap:90px}
.mgd-human-section__story h2{margin:.18em 0 .25em!important;max-width:650px;font-family:"Cormorant Garamond",serif!important;font-size:clamp(3rem,5vw,5.5rem)!important;line-height:.88!important;font-weight:600!important;color:#fff!important}
.mgd-human-section__story>p{max-width:650px;color:rgba(255,255,255,.75);line-height:1.8}
.mgd-human-section__story ul{margin:26px 0 30px;padding:0;list-style:none;display:grid;gap:12px}
.mgd-human-section__story li{padding-left:24px;position:relative;color:#f3efe4}
.mgd-human-section__story li:before{content:"✓";position:absolute;left:0;color:#d1ad60}
.mgd-human-section__steps{display:grid!important;grid-template-columns:1fr 1fr!important}
.mgd-human-section__steps>div{min-height:190px;padding:26px;border:1px solid rgba(255,255,255,.15)}
.mgd-human-section__steps span{display:block;color:#d4b267;font-family:"Cormorant Garamond",serif;font-size:2.4rem}
.mgd-human-section__steps p{color:rgba(255,255,255,.63);font-size:.78rem;line-height:1.6}

.mgd-destinations{padding:90px 0!important;background:var(--mgd-sand)!important}
.mgd-destination-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:1px;background:#d8d0c1}
.mgd-destination-grid a{min-height:190px;display:flex!important;flex-direction:column;justify-content:flex-end;padding:24px;text-decoration:none!important;color:#fff!important;background:linear-gradient(160deg,#34584e,#173a32)}
.mgd-destination-grid a:nth-child(even){background:linear-gradient(160deg,#99733b,#4f3d25)}
.mgd-destination-grid strong{font-family:"Cormorant Garamond",serif;font-size:1.8rem}

.mgd-final-cta{padding:70px 0!important;background:#d2ad60!important;color:#173a32!important}
.mgd-final-cta__inner{display:flex!important;justify-content:space-between;align-items:center;gap:40px}
.mgd-final-cta h2{margin:.16em 0 0!important;max-width:850px;font-family:"Cormorant Garamond",serif!important;font-size:clamp(2.5rem,4vw,4.5rem)!important;line-height:.95!important;font-weight:600!important;color:#173a32!important}
.mgd-final-cta__actions{display:flex;gap:10px}
.mgd-final-cta .mgd-primary-cta{background:#173a32;color:#fff!important}
.mgd-final-cta .mgd-secondary-cta{border-color:#173a32;color:#173a32!important;background:transparent}

.mgd-footer{background:#102a24!important;color:#fff!important;padding:70px 0 24px!important}
.mgd-footer__top{display:grid!important;grid-template-columns:1.6fr .8fr .8fr 1fr!important;gap:50px}
.mgd-footer__brand p{max-width:430px;color:rgba(255,255,255,.62);line-height:1.7}
.mgd-footer__license{margin-top:18px;color:#d2ad60;font-size:.72rem}
.mgd-footer__col{display:flex!important;flex-direction:column;gap:9px}
.mgd-footer__col h3{margin:0 0 7px;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;color:#d7b66d}
.mgd-footer__col a,.mgd-footer__col span{color:rgba(255,255,255,.72)!important;font-size:.78rem;text-decoration:none}
.mgd-footer__bottom{display:flex!important;justify-content:space-between;gap:20px;margin-top:54px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.46);font-size:.68rem}

@media(max-width:1180px){
 .mgd-desktop-nav{display:none!important}
 .mgd-header__inner{justify-content:space-between}
 .mgd-mobile-toggle{display:flex!important;width:40px;height:40px;border:0;background:transparent;flex-direction:column;justify-content:center;gap:6px;padding:8px}
 .mgd-mobile-toggle span{height:1px;background:#fff;width:100%}
 .mgd-route-panel{grid-template-columns:1fr 1fr!important}
 .mgd-trustbar__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .mgd-interest-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .mgd-destination-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:782px){.admin-bar .mgd-header{top:46px}}
@media(max-width:760px){
 .mgd-shell{width:min(100% - 28px,1420px)}
 .mgd-brand small,.mgd-lang,.mgd-header__trip,.mgd-header__plan{display:none!important}
 .mgd-hero{padding-top:72px;min-height:auto}
 .mgd-hero__content{min-height:600px;padding-top:28px}
 .mgd-hero__copy{padding:58px 0 120px}
 .mgd-hero h1{font-size:clamp(3.9rem,18vw,5.4rem)!important}
 .mgd-hero__actions{flex-direction:column;max-width:330px}
 .mgd-route-panel{grid-template-columns:1fr!important;margin-top:-70px!important;margin-bottom:-50px!important}
 .mgd-route-card{min-height:105px;padding:17px}
 .mgd-trustbar{padding-top:82px!important}
 .mgd-trustbar__grid{grid-template-columns:1fr 1fr!important}
 .mgd-section-intro{align-items:flex-start!important;flex-direction:column!important;gap:12px}
 .mgd-interest-grid{grid-template-columns:1fr 1fr!important}
 .mgd-human-section__grid{grid-template-columns:1fr!important;gap:50px}
 .mgd-human-section__steps{grid-template-columns:1fr 1fr!important}
 .mgd-destination-grid{grid-template-columns:1fr 1fr!important}
 .mgd-final-cta__inner{align-items:flex-start!important;flex-direction:column!important}
 .mgd-final-cta__actions{width:100%;flex-direction:column}
 .mgd-footer__top{grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){
 .mgd-trustbar__grid,.mgd-interest-grid,.mgd-destination-grid,.mgd-human-section__steps,.mgd-footer__top{grid-template-columns:1fr!important}
 .mgd-footer__bottom{flex-direction:column}
}
