/* ===== Arth Advertising — main stylesheet ===== */
:root {
  --navy: #141a33;
  --navy-2: #1d2547;
  --gold: #c8a04c;
  --gold-dark: #a9822f;
  --ink: #1b1f2e;
  --muted: #5b6275;
  --line: #e5e2da;
  --bg: #ffffff;
  --bg-alt: #f7f5f0;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 26, 51, .08);
  --head: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.gold { color: var(--gold); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: var(--body); }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--head); font-size: 20px; letter-spacing: .12em; color: var(--navy); }
.brand-text span { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dark); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% 20%, #263066 0%, var(--navy) 60%); color: #fff; overflow: hidden; }
.hero-stripes { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, #e63946 0 18px, #f4a300 18px 30px, #2a9d8f 30px 50px, #1d7fd1 50px 62px, #c8a04c 62px 80px, #8e44ad 80px 92px); }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow.dark { color: var(--gold-dark); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
.lead { font-size: 1.125rem; color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--head); font-size: 1.6rem; color: var(--gold); }
.hero-stats span { font-size: 14px; color: rgba(255,255,255,.7); }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: min(260px, 70%); opacity: .95; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p:last-child { color: var(--muted); margin: 0; }

/* ===== Category cards ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card svg { width: 46px; height: 46px; fill: none; stroke: var(--gold-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; background: #faf5e9; border-radius: 10px; padding: 6px; }
.cat-card h3 { color: var(--navy); margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ===== Work gallery ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter { font: 500 14px var(--body); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--gold); }
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.work-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.work-item:hover img { transform: scale(1.04); }
.work-item figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); }
.work-item.hidden { display: none; }
.ph { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: repeating-linear-gradient(135deg, #efebe1 0 12px, #f5f2ea 12px 24px); border: 2px dashed #d8cfb8; border-radius: var(--radius); }
.ph span { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.ph small { color: var(--muted); font-size: 13px; }
.work-item.placeholder { box-shadow: none; background: transparent; }
.work-item:not(.placeholder) { cursor: zoom-in; }
.work-item figcaption strong { color: var(--navy); font-weight: 600; }
.more-wrap { text-align: center; margin-top: 32px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 24, .94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 15px; text-align: center; }
.lightbox figcaption strong { color: var(--gold); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ===== Clients ===== */
.client-grid { --cols: 6; --gap: 16px; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.client-grid li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); background: #fff; border: 1px solid var(--line); border-radius: 10px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 14px; transition: box-shadow .2s, border-color .2s; }
.client-grid li:hover { box-shadow: var(--shadow); border-color: #d6cfbd; }
.client-grid img { max-height: 78px; max-width: 100%; width: auto; object-fit: contain; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.section-dark p { color: rgba(255,255,255,.8); }
.free-mockup { margin-top: 28px; padding: 22px 24px; border-left: 4px solid var(--gold); background: rgba(255,255,255,.06); border-radius: 0 var(--radius) var(--radius) 0; }
.free-mockup h3 { color: var(--gold); }
.free-mockup p { margin: 0; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-list li { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 22px; }
.why-list h3 { color: #fff; }
.why-list p { font-size: 15px; margin: 0; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.contact-card, .map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.map-card { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
.map-card iframe { width: 100%; flex: 1; min-height: 420px; border: 0; border-radius: 8px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 15px; }
.contact-list .label { color: var(--muted); font-weight: 500; }
.contact-list a { font-weight: 600; color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--gold-dark); }
.enquiry { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 12px; }
.enquiry h3 { margin: 0; color: var(--navy); }
.enquiry label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.enquiry input, .enquiry select, .enquiry textarea { font: 16px var(--body); padding: 11px 12px; border: 1px solid #d5d1c6; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

/* ===== Footer ===== */
.site-footer { background: #0e1226; color: rgba(255,255,255,.75); padding: 44px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 40px; }
.footer-brand strong { color: #fff; font-family: var(--head); letter-spacing: .08em; }
.footer-brand p { margin: 2px 0 0; font-size: 14px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--gold); }
.copyright { font-size: 13px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }

/* ===== Floating buttons ===== */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s; }
.fab a:hover { transform: scale(1.07); }
.fab svg { width: 26px; height: 26px; fill: #fff; }
.fab-wa { background: #25d366; }
.fab-call { background: var(--gold); display: none !important; }

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .client-grid { --cols: 4; }
  .about-grid { gap: 36px; }
}

/* ===== Mobile nav breakpoint ===== */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); padding: 8px 20px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; padding: 13px; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero-visual { display: none; }
  .cat-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .map-card iframe { min-height: 340px; }
  .fab-call { display: flex !important; }
}

/* ===== Phones ===== */
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 14px 28px; }
  .hero-stats strong { font-size: 1.35rem; }
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 18px; }
  .cat-card svg { grid-row: span 2; margin: 0; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ph span { font-size: .9rem; text-align: center; padding: 0 6px; }
  .work-item figcaption { padding: 8px 10px; font-size: 12.5px; line-height: 1.4; }
  .lightbox { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin: 0 -16px 24px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .client-grid { --cols: 3; --gap: 10px; }
  .client-grid li { height: 84px; padding: 10px; }
  .client-grid img { max-height: 58px; }
  .why-list { grid-template-columns: 1fr; }
  .contact-card { padding: 20px; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .fab { right: 14px; bottom: 14px; }
  .fab a { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
