/* Italo House palette — taken from the live italohouse.com.au Webflow CSS */
:root {
  --cream: #fdf7ee;      /* body background */
  --orange: #f58234;     /* nav links / logo orange */
  --orange-btn: #f17f36; /* buttons */
  --ink: #141414;        /* text */
  --muted: #5d6c7b;
  --line: #e9dccb;
  --card: #ffffff;
  --error: #ea384c;
  --ok: #2e7d4f;
  --radius: 18px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif; font-size: 16px; line-height: 1.55;
}
h1, h2, h3, legend, .btn, .eyebrow, .header-tag, .num, .u-title { font-family: Montserrat, sans-serif; }
a { color: var(--orange); }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px); background: var(--cream);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10;
}
.brand img { display: block; width: 150px; height: auto; }
.header-tag {
  color: var(--orange); border: 1px solid var(--orange); border-radius: 999px;
  padding: 6px 14px; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}

.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px) 24px;
}
.eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 60px); line-height: 1.02; font-weight: 900; text-transform: uppercase; margin: 0 0 16px; letter-spacing: -.01em; }
.hero h1 span { color: var(--orange); }
.lead { font-size: clamp(16px, 1.6vw, 18px); max-width: 52ch; margin: 0 0 18px; }
.hero-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-steps li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.hero-steps b { background: var(--ink); color: var(--cream); border-radius: 50%; width: 26px; height: 26px; display: inline-grid; place-items: center; font-family: Montserrat, sans-serif; font-size: 13px; }

.hero-gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; height: clamp(300px, 38vw, 460px); overflow: hidden; padding: 4px; }
.hero-gallery img { display: block; min-height: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20,20,20,.12); }
.hero-gallery .g1 { grid-row: 1 / 3; }

main { max-width: 860px; margin: 0 auto; padding: 8px clamp(12px, 3vw, 24px) 48px; }
.card-stack { display: grid; gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3.5vw, 32px); box-shadow: 0 2px 0 rgba(20,20,20,.03); }
.card h2 { display: flex; gap: 12px; align-items: center; font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .01em; }
.card h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); margin: 22px 0 10px; }
.num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: inline-grid; place-items: center; font-size: 16px; font-weight: 800; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.span2 { grid-column: span 2; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field em, .u-title em { font-weight: 400; color: var(--muted); font-style: normal; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=date], select {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: #fffdf9;
  border: 1.5px solid #d9cbb8; border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,130,52,.2); }
.invalid input, .invalid select, input.invalid, select.invalid { border-color: var(--error); }
.hint { color: var(--muted); font-size: 14px; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--orange); flex: none; margin-top: 2px; }
.yn { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.yn legend { font-weight: 700; font-size: 15px; padding: 14px 0 6px; float: left; width: 100%; }
.yn label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 8px 16px; border: 1.5px solid #d9cbb8; border-radius: 999px; cursor: pointer; }
.yn label:has(input:checked) { border-color: var(--orange); background: #fff1e6; }
.yn input { accent-color: var(--orange); width: 18px; height: 18px; }
.yn small { width: 100%; color: var(--muted); }
.yn.invalid label { border-color: var(--error); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 13px 22px; min-height: 48px;
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.btn:hover { filter: brightness(1.15); }
.btn-outline { background: transparent; color: var(--orange); border: 1.5px solid var(--orange); }
.btn-primary { background: var(--orange-btn); width: 100%; font-size: 16px; padding: 16px 22px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 4px; }
.howto { padding-left: 20px; margin: 0 0 14px; }
.howto li { margin: 4px 0; }

.uploads { display: grid; gap: 12px; margin-top: 18px; }
.upload {
  position: relative; display: grid; gap: 4px; padding: 16px 18px 16px 60px; border: 2px dashed #e0c9ae; border-radius: 14px;
  background: #fffaf3; cursor: pointer; transition: border-color .15s, background .15s;
}
.upload::before { content: "⬆"; position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--orange); color: var(--orange); display: grid; place-items: center; font-size: 14px; }
.upload:hover { border-color: var(--orange); }
.upload.has-file { border-style: solid; border-color: var(--ok); background: #f3fbf6; }
.upload.has-file::before { content: "✓"; border-color: var(--ok); color: var(--ok); }
.upload.invalid { border-color: var(--error); background: #fff4f5; }
.upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.u-title { font-weight: 700; font-size: 15px; }
.u-sub { color: var(--muted); font-size: 13px; }
.u-file { font-size: 13px; font-weight: 600; word-break: break-all; }
.upload.required .u-title::after { content: ""; }

.errors { background: #fff4f5; border: 1px solid var(--error); color: #8a1424; border-radius: 12px; padding: 12px 16px; margin: 16px 0; font-size: 14px; }
.errors ul { margin: 6px 0 0; padding-left: 18px; }
.progress { margin-top: 14px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.progress .bar { height: 8px; background: #f1e4d3; border-radius: 99px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .2s; }
.privacy { color: var(--muted); font-size: 12.5px; margin: 14px 0 0; }
.turnstile { margin-top: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.success img { width: 100%; height: 300px; object-fit: cover; border-radius: 14px; }
.success h2 { font-size: 26px; }
.ref b { font-family: Montserrat, sans-serif; letter-spacing: .04em; }

.site-footer { text-align: center; padding: 28px 16px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.site-footer img { width: 110px; height: auto; opacity: .9; }
.site-footer .small { font-size: 12px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-gallery { height: 260px; order: -1; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .brand img { width: 120px; }
  .header-tag { font-size: 10px; padding: 5px 10px; }
  .hero-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); height: 200px; }
  .hero-gallery .g1 { grid-row: auto; }
  .hero-gallery .g3 { display: none; }
  .success { grid-template-columns: 1fr; }
  .success img { height: 200px; }
  .dl-row .btn { width: 100%; }
}
