/* ==========================================================================
   Morning Glory Logistics — Design System
   Colors sampled directly from the client logo:
   Red #C80D0B · Gold #FEBB08 · Ink #14120F · White #FFFFFF
   ========================================================================== */

:root{
  --red: #C80D0B;
  --red-dark: #9A0A08;
  --gold: #FEBB08;
  --gold-soft: #FFD766;
  --ink: #14120F;
  --ink-light: #232019;
  --white: #FFFFFF;
  --cream: #FAF7F0;
  --steel: #8A8578;

  --display: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--body); color:var(--ink); background:var(--white);
  -webkit-font-smoothing:antialiased; line-height:1.55; overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ max-width:1180px; margin:0 auto; padding:0 28px; }

.btn{
  display:inline-flex; align-items:center; gap:10px; padding:15px 30px;
  font-family:var(--display); font-size:14px; font-weight:600; letter-spacing:.3px;
  border-radius:6px; border:1.5px solid transparent; transition:all .2s ease;
}
.btn--red{ background:var(--red); color:var(--white); }
.btn--red:hover{ background:var(--red-dark); transform:translateY(-1px); }
.btn--gold{ background:var(--gold); color:var(--ink); }
.btn--gold:hover{ background:var(--gold-soft); transform:translateY(-1px); }
.btn--outline{ background:transparent; border-color:rgba(255,255,255,.5); color:var(--white); }
.btn--outline:hover{ background:rgba(255,255,255,.12); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:14px 0; background:var(--white); box-shadow:0 2px 14px rgba(20,18,15,.06);
  transition:padding .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{ padding:10px 0; box-shadow:0 4px 20px rgba(20,18,15,.12); }
.navwrap{ display:flex; align-items:center; justify-content:space-between; }
.logo img{ height:56px; width:auto; transition:height .3s ease; }
.is-scrolled .logo img{ height:46px; }
.mainnav ul{ display:flex; gap:32px; list-style:none; margin:0; padding:0; }
.mainnav a{ font-family:var(--display); font-size:14px; font-weight:600; color:var(--ink); }
.mainnav a:hover{ color:var(--red); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
@media (max-width:820px){ .mainnav{ display:none; } }

/* ==========================================================================
   INTRO SEQUENCE — plane launches from bottom of screen, reveals the hero
   ========================================================================== */
.intro-overlay{
  position:fixed; inset:0; z-index:9999;
  background:radial-gradient(ellipse at 50% 115%, #3A1E00 0%, #1C1006 35%, var(--ink) 75%);
  display:flex; align-items:flex-end; justify-content:center;
  overflow:hidden;
  transition:opacity .7s ease;
}
.intro-overlay.is-hidden{ opacity:0; pointer-events:none; }

.intro-glow{
  position:absolute; left:50%; bottom:-10%; width:900px; height:900px;
  transform:translateX(-50%);
  background:radial-gradient(circle, rgba(254,187,8,.35) 0%, transparent 60%);
  animation:introGlowPulse 2.4s ease-out forwards;
}
@keyframes introGlowPulse{
  0%{ opacity:0; transform:translateX(-50%) scale(.6); }
  40%{ opacity:1; }
  100%{ opacity:0; transform:translateX(-50%) scale(1.3); }
}

.intro-cloud{
  position:absolute; bottom:-60px; width:340px; height:120px; border-radius:50%;
  background:rgba(255,255,255,.05); filter:blur(18px);
  animation:introCloudDrift 2.6s ease-out forwards;
}
.intro-cloud.c1{ left:20%; animation-delay:.15s; }
.intro-cloud.c2{ left:55%; width:260px; animation-delay:.35s; }
.intro-cloud.c3{ left:75%; width:200px; animation-delay:.05s; }
@keyframes introCloudDrift{
  0%{ opacity:0; transform:translateY(0) scale(.8); }
  30%{ opacity:1; }
  100%{ opacity:0; transform:translateY(-380px) scale(1.4); }
}

.intro-plane-wrap{
  position:absolute; left:50%; bottom:-140px;
  transform:translateX(-50%);
  animation:introPlaneLaunch 2.3s cubic-bezier(.55,0,.35,1) forwards;
}
.intro-plane-wrap svg{ width:150px; height:auto; display:block; }

.intro-trail{
  position:absolute; left:50%; bottom:-140px; width:6px; height:0;
  transform:translateX(-50%);
  background:linear-gradient(to top, rgba(254,187,8,0) 0%, rgba(254,187,8,.55) 60%, rgba(255,255,255,.9) 100%);
  filter:blur(2px);
  animation:introTrailGrow 2.3s cubic-bezier(.55,0,.35,1) forwards;
}

@keyframes introPlaneLaunch{
  0%   { bottom:-140px; transform:translateX(-50%) rotate(-2deg) scale(.85); opacity:0; }
  12%  { opacity:1; }
  60%  { bottom:58%;    transform:translateX(-42%) rotate(-20deg) scale(1.08); }
  100% { bottom:135%;   transform:translateX(-15%) rotate(-32deg) scale(1.4); opacity:1; }
}
@keyframes introTrailGrow{
  0%   { height:0; opacity:0; }
  15%  { opacity:.9; }
  60%  { height:60vh; }
  100% { height:100vh; opacity:0; }
}

.intro-skip{
  position:absolute; bottom:28px; right:28px; z-index:2;
  font-family:var(--display); font-size:12px; font-weight:600; letter-spacing:1px;
  text-transform:uppercase; color:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.25); border-radius:20px; padding:9px 18px;
  opacity:0; animation:introSkipFadeIn .4s ease forwards; animation-delay:.6s;
  background:transparent;
}
.intro-skip:hover{ color:var(--white); border-color:rgba(255,255,255,.6); }
@keyframes introSkipFadeIn{ to{ opacity:1; } }

/* ==========================================================================
   HERO — crossfading illustrated scenes (sky / sea)
   ========================================================================== */
.hero{
  position:relative; min-height:100vh; overflow:hidden;
  display:flex; align-items:center;
  background:var(--ink);
}
.hero-scene{
  position:absolute; inset:0; opacity:0; transition:opacity 1.8s ease;
}
.hero-scene.is-active{ opacity:1; }
.hero-scene svg{ position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.hero-scene-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1;
}

.hero-overlay{
  position:absolute; inset:0; z-index:2;
  background:linear-gradient(180deg, rgba(20,18,15,.55) 0%, rgba(20,18,15,.35) 45%, rgba(20,18,15,.8) 100%);
}

.hero-content{
  position:relative; z-index:3; padding-top:90px;
  text-align:left;
}
.hero-eyebrow{
  font-family:var(--display); font-size:12.5px; font-weight:700; letter-spacing:3px;
  text-transform:uppercase; color:var(--gold); margin-bottom:18px;
}
.hero h1{
  font-family:var(--display); font-weight:700; color:var(--white);
  font-size:clamp(34px,5.2vw,64px); line-height:1.1; margin:0 0 22px; max-width:780px;
}
.hero h1 span{ color:var(--gold); }
.hero-sub{
  font-size:17px; color:rgba(255,255,255,.85); max-width:520px; margin-bottom:36px; line-height:1.65;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-dots{
  position:absolute; bottom:36px; left:50%; transform:translateX(-50%); z-index:3;
  display:flex; gap:10px;
}
.hero-dots button{
  width:9px; height:9px; border-radius:50%; border:none; background:rgba(255,255,255,.35);
  padding:0; transition:all .25s ease;
}
.hero-dots button.is-active{ background:var(--gold); transform:scale(1.3); }

/* -------- Sky scene decorations -------- */
.scene-plane{ animation:scenePlaneDrift 22s linear infinite; }
@keyframes scenePlaneDrift{
  0%{ transform:translate(-8%, 0) rotate(-3deg); }
  50%{ transform:translate(6%, -2%) rotate(-1deg); }
  100%{ transform:translate(-8%, 0) rotate(-3deg); }
}
.scene-cloud{ animation:sceneCloudDrift 40s linear infinite; }
@keyframes sceneCloudDrift{
  0%{ transform:translateX(-3%); }
  100%{ transform:translateX(3%); }
}

/* -------- Sea scene decorations -------- */
.scene-ship{ animation:sceneShipBob 6s ease-in-out infinite; }
@keyframes sceneShipBob{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-6px) rotate(.6deg); }
}
.scene-wave{ animation:sceneWaveShift 8s ease-in-out infinite; }
@keyframes sceneWaveShift{
  0%,100%{ transform:translateX(0); }
  50%{ transform:translateX(-14px); }
}

@media (max-width:640px){
  .hero-content{ padding-top:110px; }
  .mainnav{ display:none; }
}

/* ==========================================================================
   SHARED SECTION UTILITIES
   ========================================================================== */
.section{ padding:100px 0; }
.section--cream{ background:var(--cream); }
.section-head{ max-width:620px; margin-bottom:52px; }
.eyebrow{
  font-family:var(--display); font-size:12.5px; font-weight:700; letter-spacing:2.5px;
  text-transform:uppercase; color:var(--red);
}
.section-head h2{
  font-family:var(--display); font-weight:700; color:var(--ink);
  font-size:clamp(28px,3.4vw,42px); margin:14px 0 0; line-height:1.15;
}
.section-head p{ color:var(--steel); font-size:16px; margin-top:16px; line-height:1.65; }

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip{ background:var(--ink); }
.stats-strip .container{ display:grid; grid-template-columns:repeat(4,1fr); padding:44px 28px; }
.stat{ text-align:center; border-left:1px solid rgba(255,255,255,.12); padding:0 16px; }
.stat:first-child{ border-left:none; }
.stat strong{ display:block; font-family:var(--display); font-size:34px; font-weight:700; color:var(--gold); }
.stat span{ font-family:var(--display); font-size:11.5px; letter-spacing:1px; text-transform:uppercase; color:rgba(255,255,255,.6); }
@media (max-width:700px){
  .stats-strip .container{ grid-template-columns:1fr 1fr; gap:28px 0; }
  .stat{ border-left:none; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card{
  background:var(--white); border:1px solid #EEE9DD; border-radius:10px; padding:34px 28px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform:translateY(-4px); box-shadow:0 16px 40px -18px rgba(20,18,15,.25); }
.service-card .icon-wrap{
  width:52px; height:52px; border-radius:10px; background:#FDF0D5;
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.service-card .icon-wrap svg{ width:26px; height:26px; }
.service-card h3{ font-family:var(--display); font-size:19px; font-weight:700; color:var(--ink); margin:0; }
.service-card p{ color:var(--steel); font-size:14.5px; margin-top:10px; line-height:1.6; }
.service-card .tag{
  display:inline-block; margin-top:16px; font-family:var(--display); font-size:11px; font-weight:600;
  letter-spacing:.4px; color:var(--red); background:#FDECEC; padding:4px 11px; border-radius:20px;
}
@media (max-width:900px){ .services-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
.process::before{
  content:""; position:absolute; top:26px; left:6%; right:6%; height:1px;
  background:repeating-linear-gradient(to right, #DDD6C4 0 6px, transparent 6px 12px);
}
.step{ position:relative; padding:0 16px; }
.step .step-no{
  width:52px; height:52px; border-radius:50%; background:var(--ink); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-family:var(--display); font-size:17px; font-weight:700;
  margin-bottom:18px; position:relative; z-index:2;
}
.step h4{ font-family:var(--display); font-size:16px; font-weight:700; color:var(--ink); margin:0; }
.step p{ color:var(--steel); font-size:13.5px; margin-top:8px; line-height:1.55; }
@media (max-width:900px){
  .process{ grid-template-columns:1fr; gap:28px; }
  .process::before{ display:none; }
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.why-card{ text-align:left; }
.why-card .icon-wrap{
  width:56px; height:56px; border-radius:50%; background:var(--ink);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.why-card .icon-wrap svg{ width:26px; height:26px; }
.why-card h3{ font-family:var(--display); font-size:18px; font-weight:700; color:var(--ink); margin:0; }
.why-card p{ color:var(--steel); font-size:14.5px; margin-top:10px; line-height:1.6; }
@media (max-width:820px){ .why-grid{ grid-template-columns:1fr; gap:32px; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band{
  background:linear-gradient(120deg, var(--red) 0%, #A50C08 100%);
  padding:70px 0; text-align:center;
}
.cta-band h2{ font-family:var(--display); font-weight:700; color:var(--white); font-size:clamp(26px,3vw,36px); margin:0; }
.cta-band p{ color:rgba(255,255,255,.85); margin-top:12px; font-size:16px; }
.cta-band .hero-actions{ justify-content:center; margin-top:30px; }
.cta-band .btn--outline{ border-color:rgba(255,255,255,.6); }

/* ==========================================================================
   INNER PAGE HERO (for pages other than the homepage)
   ========================================================================== */
.page-hero{
  background:var(--ink); color:var(--white); padding:150px 0 60px;
}
.page-hero .eyebrow{ color:var(--gold); }
.page-hero h1{ font-family:var(--display); font-weight:700; font-size:clamp(28px,4vw,42px); color:var(--white); margin:14px 0 0; }
.page-hero p{ color:rgba(255,255,255,.75); margin-top:14px; max-width:600px; font-size:15.5px; }
.breadcrumb{ font-family:var(--display); font-size:12px; color:rgba(255,255,255,.55); letter-spacing:.3px; }
.breadcrumb a:hover{ color:var(--white); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-panel{ background:var(--cream); border:1px solid #EEE9DD; border-radius:10px; padding:40px; }
.quote-layout{ display:grid; grid-template-columns:1.3fr 1fr; gap:50px; align-items:flex-start; }
@media (max-width:900px){
  .quote-layout{ grid-template-columns:1fr; gap:32px; }
}
@media (max-width:560px){
  .form-panel{ padding:24px 20px; }
  .page-hero{ padding:130px 0 44px; }
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field-group{ margin-bottom:20px; }
.field-group label{
  display:block; font-family:var(--display); font-size:12px; font-weight:600; letter-spacing:.3px;
  color:var(--ink); margin-bottom:8px;
}
.field-group input, .field-group select, .field-group textarea{
  width:100%; padding:13px 14px; border:1px solid #DCD5C4; background:var(--white);
  font-family:var(--body); font-size:14.5px; color:var(--ink); border-radius:6px;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus{
  outline:none; border-color:var(--red); box-shadow:0 0 0 3px rgba(200,13,11,.1);
}
.field-group textarea{ resize:vertical; min-height:110px; }
.field-group small{ color:var(--red); display:block; margin-top:6px; font-size:12.5px; }
.btn--block{ width:100%; justify-content:center; border:none; cursor:pointer; }
@media (max-width:680px){ .form-row{ grid-template-columns:1fr; } }

/* ==========================================================================
   WHATSAPP TOGGLE
   ========================================================================== */
.wa-launcher{
  position:fixed; bottom:24px; right:24px; z-index:200;
  width:60px; height:60px; border-radius:50%;
  background:#25D366; color:#FFFFFF; border:none;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px -6px rgba(37,211,102,.55);
  transition:transform .18s ease;
}
.wa-launcher:hover{ transform:scale(1.06); }
.wa-launcher svg{ width:28px; height:28px; }
.wa-launcher .ping{
  position:absolute; top:-3px; right:-3px; width:14px; height:14px; border-radius:50%;
  background:var(--red); border:2px solid var(--white);
}
.wa-launcher.is-open .icon-open{ display:none; }
.wa-launcher:not(.is-open) .icon-close{ display:none; }

.wa-panel{
  position:fixed; bottom:98px; right:24px; z-index:200;
  width:340px; max-width:calc(100vw - 32px);
  background:var(--white); border-radius:14px;
  box-shadow:0 24px 60px -12px rgba(20,18,15,.35);
  display:none; flex-direction:column; overflow:hidden;
  border:1px solid #EEE9DD;
}
.wa-panel.is-open{ display:flex; }
.wa-head{
  background:var(--ink); color:#FFFFFF; padding:18px 20px;
  display:flex; align-items:center; gap:12px;
}
.wa-head .avatar{
  width:40px; height:40px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.wa-head .who strong{ display:block; font-family:var(--display); font-size:15px; }
.wa-head .who span{ font-family:var(--body); font-size:10.5px; color:#B6E9CE; letter-spacing:.5px; }
.wa-body{ padding:18px 20px; background:var(--cream); }
.wa-body p{ font-size:13.5px; color:var(--steel); line-height:1.5; margin:0; }
.wa-options{ display:flex; flex-direction:column; gap:8px; margin-top:14px; }
.wa-option{
  display:block; background:var(--white); border:1px solid #EEE9DD; border-radius:8px;
  padding:11px 14px; transition:border-color .15s ease;
}
.wa-option:hover{ border-color:#25D366; }
.wa-option strong{ display:block; font-family:var(--display); font-size:13.5px; color:var(--ink); }
.wa-option span{ font-family:var(--body); font-size:10.5px; color:var(--steel); letter-spacing:.3px; }
.wa-cta{
  display:flex; align-items:center; justify-content:center; gap:9px;
  background:#25D366; color:#FFFFFF; padding:14px; font-family:var(--display); font-weight:600; font-size:14px;
}
.wa-cta:hover{ background:#1FB959; }
@media (max-width:480px){
  .wa-panel{ right:16px; left:16px; width:auto; bottom:90px; }
  .wa-launcher{ right:16px; }
}
.site-footer{ background:var(--ink); color:rgba(255,255,255,.6); padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-about img{ height:44px; margin-bottom:16px; background:var(--white); border-radius:6px; padding:4px; }
.footer-about p{ font-size:14px; line-height:1.65; max-width:300px; }
.footer-grid h4{
  color:var(--white); font-family:var(--display); font-size:12px; font-weight:700; letter-spacing:1.5px;
  text-transform:uppercase; margin-bottom:18px;
}
.footer-grid ul{ list-style:none; margin:0; padding:0; }
.footer-grid ul li{ margin-bottom:11px; font-size:14px; }
.footer-grid ul li a:hover{ color:var(--white); }
.social-row{ display:flex; gap:12px; margin-top:20px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7);
}
.social-row a:hover{ background:var(--red); border-color:var(--red); color:var(--white); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding:22px 0;
  font-size:12.5px; color:rgba(255,255,255,.45); flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color:rgba(255,255,255,.6); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } .footer-about{ grid-column:1/-1; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
