/* AVORA GLOBAL website. Colours taken from the logo: deep charcoal-plum, crimson, warm amber. */
:root {
  --ink: #1f1a21;
  --ink-2: #4a4350;
  --muted: #6e6676;
  --bg: #ffffff;
  --bg-alt: #f7f4f1;
  --line: #e6e0da;
  --dark: #1c181d;
  --crimson: #d81e4e;
  --amber: #c27a2c;
  --amber-dark: #a5631e;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(28, 24, 29, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -.5px; }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 19px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.kicker { color: var(--crimson); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; margin: 0 0 8px; }
.sub { color: var(--ink-2); max-width: 640px; margin: 0 0 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--amber); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--amber); cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.small { padding: 8px 16px; font-size: 15px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(28, 24, 29, .96); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 52px; width: auto; border-radius: 8px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: #e9e3ea; text-decoration: none; font-weight: 500; }
nav a:hover { color: #fff; }
nav a.btn { color: #fff; }
.menu { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 6px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(194,122,44,.25), transparent 60%), var(--dark); color: #fff; padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero .kicker { color: #f0a85c; }
.lead { font-size: 18px; color: #ddd5df; max-width: 560px; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #cfc6d1; font-size: 15px; }
.facts li::before { content: "✓"; color: #f0a85c; font-weight: 700; margin-right: 8px; }
.hero-art { min-width: 0; }
.svc-ico { width: 56px; height: 56px; padding: 8px; border-radius: 14px; background: #fbefe2; margin-bottom: 14px; }

/* sections */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-alt); }
.cards { display: grid; gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin: 0; }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.card li { margin-bottom: 6px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; padding: 18px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--crimson); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 15px; }

/* enquiry */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.form label { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #d8d0c8; border-radius: 9px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(194,122,44,.25); border-color: var(--amber); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.4em; margin: 0 0 10px; font-weight: 600; }
.msg.ok { color: #1f7a45; }
.msg.err { color: #b4232a; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
address { font-style: normal; color: var(--ink-2); margin-bottom: 12px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-wrap: wrap; }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; word-break: break-all; }

/* footer */
.foot { background: var(--dark); color: #b9b0bc; padding: 28px 0; font-size: 14px; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot img { border-radius: 6px; width: 120px; }
.foot p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 26px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 30; }

/* tablet */
@media (max-width: 960px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .enquiry-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
}
/* phone */
@media (max-width: 720px) {
  .menu { display: block; }
  nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); padding: 8px 20px 18px; display: none; }
  nav.open { display: flex; }
  nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  nav a.btn { margin-top: 12px; border-bottom: 0; }
  .hero { padding: 48px 0 56px; }
  .hero-art { margin-top: 8px; }
  .section { padding: 54px 0; }
  .cards.two, .cards.four, .steps { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .brand img { height: 44px; }
}

/* ===================== Motion & polish ===================== */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-glow span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; }
.hero-glow .g1 { width: 420px; height: 420px; background: #c27a2c; top: -160px; right: -80px; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow .g2 { width: 320px; height: 320px; background: #d81e4e; bottom: -180px; left: -100px; opacity: .25; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.12); } }

.grad { background: linear-gradient(90deg, #ff5a7e, #f0a85c 55%, #ffd18e); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero entrance: each line rises in, one after another */
.rise { opacity: 0; transform: translateY(22px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.d1 { animation-delay: .05s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .32s; }
.rise.d4 { animation-delay: .46s; } .rise.d5 { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* The animated scene */
.scene { width: 100%; height: auto; display: block; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); }
.scene .ship { animation: bob 5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(5px) rotate(.6deg); } }
.scene .waves.front path { animation: waves 7s linear infinite; }
.scene .waves.back path:first-child { animation: waves 11s linear infinite; }
.scene .waves.back path:last-child { animation: waves 15s linear infinite reverse; }
@keyframes waves { to { transform: translateX(-300px); } }
.scene .route { animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.scene .load { animation: lift 6s ease-in-out infinite; }
@keyframes lift { 0%, 15% { transform: translateY(0); } 50%, 65% { transform: translateY(-34px); } 100% { transform: translateY(0); } }
.scene .sun .glow { animation: pulse 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8; } }
.scene .tw { animation: twinkle 3.2s ease-in-out infinite; }
.scene .t2 { animation-delay: 1.1s; } .scene .t3 { animation-delay: 2.2s; }
@keyframes twinkle { 50% { opacity: .15; } }
.scene .spin { animation: spin 18s linear infinite; transform-box: fill-box; transform-origin: center; }
.scene .spin.s2 { animation-duration: 26s; animation-direction: reverse; }
@keyframes spin { to { transform: scaleX(-1); } }
.scene .cloud { animation: cloud 40s linear infinite; }
.scene .cloud.c2 { animation-duration: 55s; animation-delay: -20s; }
@keyframes cloud { from { transform: translateX(-80px); } to { transform: translateX(120px); } }
.scene .puff { animation: puff 4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.scene .p2 { animation-delay: 1.3s; } .scene .p3 { animation-delay: 2.6s; }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 10px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -18px) scale(1.4); } }
.scene .shimmer rect { animation: twinkle 2.6s ease-in-out infinite; }

/* Services strip */
.ticker { background: linear-gradient(90deg, #a5631e, #c27a2c 50%, #a5631e); color: #fff; overflow: hidden; white-space: nowrap; padding: 13px 0; font-weight: 600; letter-spacing: .3px; }
.ticker-track { display: inline-flex; animation: ticker 38s linear infinite; }
.ticker-track span { padding: 0 28px; position: relative; }
.ticker-track span::after { content: "◆"; position: absolute; right: -6px; font-size: 9px; top: 50%; transform: translateY(-50%); opacity: .7; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Buttons: soft lift, and a light sweep across the main button */
.btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(194,122,44,.35); }
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 3.8s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Cards: lift on hover, icon nudges */
.card { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(28,24,29,.14); border-color: #ead9c6; }
.svc-ico { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.card:hover .svc-ico { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.steps li { transition: transform .3s ease, box-shadow .3s ease; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Header gets a stronger shadow once you scroll */
.top { transition: box-shadow .3s ease, background .3s ease; }
.top.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.35); background: rgba(22, 18, 23, .98); }

/* Scroll reveal (added by site.js, so the page still shows without JavaScript) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* WhatsApp button gently pulses */
.wa-float { animation: wa 2.8s ease-in-out infinite; transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }
@keyframes wa { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 12px rgba(37,211,102,0); } }

/* Respect "reduce motion" in phone / computer settings: everything still, nothing hidden */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
@media (max-width: 720px) {
  .hero-glow .g1 { width: 280px; height: 280px; }
  .ticker { padding: 11px 0; font-size: 14px; }
}
