/* Mini Digital — it.minidigital.com.au draft revamp
   Brand: orange #F5812D, grey #656263, yellow #FDD804
   Content is taken from the live Odoo 10 site; no invented claims.
*/
:root {
  --orange: #F5812D;
  --orange-dark: #d96b1c;
  --grey: #656263;
  --yellow: #FDD804;
  --ink: #2a2929;
  --muted: #656263;
  --paper: #f6f3ef;
  --card: #ffffff;
  --line: #e4dfd8;
  --footer: #2c2b2b;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(42, 41, 41, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

.preview-banner {
  background: #2c2b2b;
  color: #f3efe9;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.55rem 1rem;
}
.preview-banner strong { color: var(--yellow); font-weight: 600; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner, .footer-inner, .wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.logo img { display: block; height: 42px; width: auto; }
.logo:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav a {
  color: var(--grey);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}
nav a:hover, nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper);
}
nav a.cta {
  background: var(--orange);
  color: #fff;
}
nav a.cta:hover { background: var(--orange-dark); color: #fff; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(44,43,43,0.92) 0%, rgba(101,98,99,0.78) 48%, rgba(245,129,45,0.72) 100%),
    repeating-linear-gradient(30deg, rgba(255,255,255,0.05) 0 18px, rgba(255,255,255,0) 18px 36px),
    #656263;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 420px;
  height: 420px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'><g fill='none' stroke='%23ffffff' stroke-width='2' opacity='0.35'><path d='M10 50 L35 20 L60 50 Z'/><path d='M45 50 L70 20 L95 50 Z'/></g></svg>") no-repeat;
  background-size: contain;
  opacity: 0.35;
  z-index: -1;
}
.hero h1 {
  font-family: Sora, "Source Sans 3", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.hero p { font-size: 1.25rem; max-width: 36rem; margin: 0 0 1.8rem; color: #f7f3ee; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #111; }

.section { padding: 4rem 0; }
.section h2 {
  font-family: Sora, "Source Sans 3", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.lede { color: var(--muted); margin: 0 0 2rem; max-width: 40rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff4eb;
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}
.card .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 {
  font-family: Sora, "Source Sans 3", sans-serif;
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.note {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.values {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.values h2 { margin: 0; }
.values p { margin: 0.3rem 0 0; color: var(--muted); }

.cta-band {
  background: var(--ink);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ddd8d2; }
.cta-band a:not(.btn) { color: #fff; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.panel h2 { margin-top: 0; }
.dl { margin: 0; display: grid; gap: 1rem; }
.dl div dt {
  font-family: Sora, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.15rem;
}
.dl div dd { margin: 0; font-size: 1.05rem; }
.dl a { color: var(--ink); text-decoration: none; }
.dl a:hover { color: var(--orange); }

.mailto-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.8rem 0 0.3rem;
}
.mailto-form input, .mailto-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
}
.mailto-form textarea { min-height: 8rem; resize: vertical; }
.mailto-form .btn { margin-top: 1rem; }
.form-hint { font-size: 0.88rem; color: var(--muted); margin-top: 0.8rem; }

.site-footer {
  background: var(--footer);
  color: #d8d4cf;
  padding: 2.5rem 0 2rem;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer .logo img { height: 36px; margin-bottom: 0.8rem; }
.site-footer h3 {
  font-family: Sora, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bdb8b3;
  margin: 0 0 0.6rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3rem 0; }
.legal {
  border-top: 1px solid #4a4848;
  margin-top: 1.8rem;
  padding-top: 1rem;
  color: #a9a49f;
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .contact-grid, .footer-grid, .values-inner { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3.2rem; }
  nav a { padding: 0.4rem 0.55rem; font-size: 0.95rem; }
}
