/* AZ3D Custom — warm desert palette pulled from the logo */
:root {
  --bg: #FBF7F1;        /* cream */
  --bg-2: #F3EBDE;      /* sand */
  --panel: #FFFFFF;
  --line: #E6DCCB;
  --text: #2B2420;
  --muted: #6F645A;
  --accent: #C8622D;    /* terracotta */
  --accent-dark: #A5522A;
  --gold: #E0A83A;
  --sage: #7A9E7E;
  --sage-dark: #4E7D4A;
  --radius: 14px;
  --max: 1100px;
  --font: "Nunito", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .45em; }
h1 { font-family: var(--head); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-family: var(--head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.alt { background: var(--bg-2); }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(251,247,241,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; color: var(--text); letter-spacing: .01em; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.logo span { color: var(--accent); }
nav a { color: var(--muted); margin-left: 22px; font-weight: 700; }
nav a:hover { color: var(--text); text-decoration: none; }
nav a.btn { color: #fff; padding: 9px 16px; }
@media (max-width: 720px) { nav a:not(.btn) { display: none; } nav a.btn { margin-left: 0; } }

/* buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; border: 0; cursor: pointer; transition: transform .1s, background .15s; }
.btn:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 2px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--muted); background: var(--panel); }
.btn.lg { padding: 16px 30px; font-size: 1.05rem; }

/* hero */
.hero { padding: 72px 0 64px; background: radial-gradient(900px 500px at 90% -20%, rgba(224,168,58,.28), transparent 60%), radial-gradient(700px 400px at 0% 110%, rgba(122,158,126,.22), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero-logo { order: -1; } }
.hero-logo img { width: 100%; height: auto; border-radius: 20px; }
.hero p.lead { font-size: 1.25rem; color: var(--muted); max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.eyebrow { font-size: .8rem; font-weight: 800; color: var(--sage-dark); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }

/* grids / cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.card .num { font-weight: 900; color: var(--gold); font-size: 1.4rem; line-height: 1; margin-bottom: 10px; }
.cat { display: flex; gap: 14px; align-items: flex-start; }
.cat .ico { font-size: 1.6rem; line-height: 1; }

/* gallery */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: .8rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.gallery figure { position: relative; }

/* forms */
form { display: grid; gap: 16px; max-width: 680px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
label small { color: var(--muted); font-weight: 500; }
input, select, textarea { width: 100%; padding: 12px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(200,98,45,.35); outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.notice { background: var(--bg-2); border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 8px; font-size: .95rem; }
.ok { border-left-color: var(--sage); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; display: grid; gap: 14px; }
legend { font-weight: 800; padding: 0 8px; }

/* contact */
.contact { display: flex; gap: 28px; flex-wrap: wrap; font-weight: 700; }
.contact span { color: var(--muted); font-weight: 500; display: block; font-size: .85rem; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* file drop */
.drop { position: relative; border: 2px dashed var(--line); border-radius: 12px; padding: 26px 16px; text-align: center; background: var(--panel); color: var(--muted); font-weight: 600; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--accent); background: var(--bg-2); }
.drop.has { border-style: solid; border-color: var(--sage); color: var(--text); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* mobile header */
header .wrap { gap: 12px; }
nav { flex-shrink: 0; }
nav a.btn { white-space: nowrap; }
@media (max-width: 720px) {
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo img { width: 30px; height: 30px; }
  nav a.btn { font-size: .9rem; padding: 8px 14px; }
}

/* icons */
.cat .ico svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* hamburger + mobile nav */
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) {
  .burger { display: block; }
  nav a:not(.btn) { display: block; }
  nav { display: contents; }
  nav a:not(.btn) { display: none; }
  header.open nav a:not(.btn) { display: block; }
  header.open nav { display: block; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 12px 30px rgba(43,36,32,.12); }
  header.open nav a { margin: 0; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  header.open nav a.btn { display: inline-block; margin-top: 14px; padding: 12px 22px; border: 0; }
  header:not(.open) nav a.btn { display: none; }
}

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 800; padding: 14px 32px 14px 0; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--accent); font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 16px; color: var(--muted); max-width: 720px; }

/* lightbox */
.gallery figure { cursor: zoom-in; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,16,12,.92); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: min(92vw, 900px); max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; }

/* sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,247,241,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { display: block; text-align: center; }
  body.has-sticky footer { padding-bottom: 90px; }
}
