/* ============================================================
   PENNUENG 2014 CLONE — BLACK & GOLD THEME
   Layout engine: fluid calc() + clamp() + min() — mobile-first
   Breakpoints (mobile-first): 540, 600, 640, 720, 820, 900,
   940, 960, 1000, 1080, 1200
   ============================================================ */

:root {
  --gold: #B08D1C;
  --gold-deep: #8A6C10;
  --gold-bright: #DCB94A;
  --gold-soft: rgba(176, 141, 28, .12);
  --black: #0B0B0D;
  --black-soft: #131316;
  --black-2: #1B1B20;
  --ink: #191919;
  --gray-700: #3A3A3D;
  --gray-600: #5C5B56;
  --gray-500: #8A8781;
  --gray-400: #B4B1AA;
  --gray-100: #F2F1ED;
  --gray-50: #FAF9F7;
  --white: #FFFFFF;
  --line: #E7E5DF;
  --radius: 16px;
  --font: "Prompt", "Noto Sans Thai", "Kanit", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-card: 0 1px 2px rgba(16, 16, 16, .04), 0 14px 34px -18px rgba(16, 16, 16, .16);
  --shadow-lift: 0 2px 4px rgba(16, 16, 16, .06), 0 30px 60px -24px rgba(16, 16, 16, .28);

  /* ---- Fluid scale (mobile-first calculations) ---- */
  --gap-x: clamp(16px, 4vw, 32px);          /* horizontal gutters */
  --gap-y: clamp(40px, 8vw, 80px);          /* section rhythm */
  --pad-section: clamp(72px, 8vw, 124px);   /* vertical section padding */
  --f-display: clamp(2.3rem, 5.2vw, 4rem);  /* hero h1 */
  --f-section: clamp(1.75rem, 3.4vw, 2.7rem); /* section h2 */
  --f-lede: clamp(1rem, 1.25vw, 1.12rem);
  --f-body: clamp(0.9375rem, 0.5vw + 0.85rem, 1rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 78px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  font-size: var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
svg { display: block; }

/* ---------- Container (fluid calc) ---------- */
.container {
  width: min(1240px, 100% - var(--gap-x) * 2);
  margin-inline: auto;
}
.container-narrow {
  width: min(920px, 100% - var(--gap-x) * 2);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow.on-dark { color: var(--gold-bright); }
.eyebrow.on-dark::before { background: var(--gold-bright); }

h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.h-display { font-size: var(--f-display); line-height: 1.08; }
.h-section { font-size: var(--f-section); }
.h-section .hl, .h-display .hl { color: var(--gold); }
.lede { color: var(--gray-600); font-size: var(--f-lede); max-width: 60ch; }
.lede.on-dark { color: var(--gray-400); }
.section-padding { padding: var(--pad-section) 0; }
.bg-gray { background: var(--gray-50); }
.bg-dark { background: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em;
  padding: 16px 30px; border-radius: 12px;
  transition: background .3s, color .3s, border-color .3s, transform .2s, box-shadow .3s;
  white-space: nowrap; line-height: 1;
}
.btn-gold { background: var(--gold); color: #151515; box-shadow: 0 10px 24px -12px rgba(176, 141, 28, .6); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--black-2); transform: translateY(-2px); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-2px); }
.btn-outline-dark { border: 1.5px solid #D6D3CB; color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); padding-bottom: 4px; border-bottom: 1.5px solid var(--gold);
  transition: gap .3s, color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--gold); }

/* ---------- Top bar ---------- */
.topbar { background: var(--black); color: var(--gray-400); font-size: 13px; position: relative; z-index: 60; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar a { color: var(--gray-400); transition: color .25s; }
.topbar a:hover { color: var(--gold-bright); }
.topbar .tg { display: flex; gap: 22px; align-items: center; }
.topbar .tg svg { vertical-align: -2px; margin-right: 6px; }
.topbar .tg a strong { color: var(--gold-bright); font-weight: 600; }
.topbar .hide-m { display: none; }
@media (min-width: 720px) { .topbar .hide-m { display: initial; } }

/* ---------- Header (sticky, blur on scroll) ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0);
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .3);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand .logo { height: 40px; width: auto; }
.brand .logo.on-light { filter: brightness(0); }
.brand .word { display: flex; flex-direction: column; line-height: 1.15; }
.brand .word b { font-size: 16px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.brand .word span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

/* Nav — mobile-first: full-screen overlay */
.nav {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(255, 255, 255, .98);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.nav.open { opacity: 1; pointer-events: auto; }
.nav > a { font-size: 26px; font-weight: 700; padding: 12px; color: var(--gray-600); position: relative; }
.nav > a.active { color: var(--ink); }
.nav > a:hover { color: var(--gold-deep); }
.nav .h-cta { margin-top: 20px; flex-direction: column; width: 100%; align-items: center; gap: 12px; }
.burger {
  display: flex; z-index: 100; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 6px; align-items: center;
  border: 1.5px solid #D6D3CB; border-radius: 10px; background: #fff;
}
.burger span { width: 20px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 1000px) {
  .nav {
    position: static; inset: auto; background: none;
    flex-direction: row; justify-content: flex-start;
    opacity: 1; pointer-events: auto; gap: 32px;
  }
  .nav > a { font-size: 15px; font-weight: 500; padding: 6px 0; }
  .nav > a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
    background: var(--gold); transition: width .3s var(--ease);
  }
  .nav > a:hover::after { width: 100%; }
  .nav > a.active::after { width: 100%; }
  .nav > a:hover { color: var(--ink); }
  .nav .h-cta { margin-top: 0; flex-direction: row; width: auto; }
  .nav .btn { padding: 13px 20px; font-size: 12.5px; }
  .burger { display: none; }
}

/* ---------- Hero (fluid height calc) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 118px);      /* fallback: older browsers */
  min-height: calc(100svh - 118px);     /* mobile-safe: excludes URL-bar */
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--black);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .42) 42%, rgba(0, 0, 0, .82) 82%, var(--black) 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(720px 420px at 78% 18%, rgba(220, 185, 74, .14), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 50px; max-width: 900px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--gold-bright); }
.hero .lede { margin-top: 26px; color: rgba(255, 255, 255, .85); }
.hero .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .chip {
  font-size: 13px; color: #fff; border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px; padding: 8px 16px; background: rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-cap {
  position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid; grid-template-columns: 1fr;
}
.hero-cap .cap { padding: 18px 2px; display: flex; flex-direction: column; gap: 6px; }
.hero-cap .cap + .cap { border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-cap .cap .n { font-size: 13px; font-weight: 700; letter-spacing: .24em; color: var(--gold-bright); }
.hero-cap .cap .t { font-size: 13.5px; color: rgba(255, 255, 255, .75); }
.scroll-hint { display: none; }

@media (min-width: 900px) {
  .hero-cap { grid-template-columns: repeat(3, 1fr); }
  .hero-cap .cap { padding: 26px 4px; }
  .hero-cap .cap + .cap { border-top: none; border-left: 1px solid rgba(255, 255, 255, .16); }
  .scroll-hint {
    display: block; position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
    z-index: 3; width: 2px; height: 110px; background: rgba(255, 255, 255, .18); overflow: hidden;
  }
  .scroll-hint::after {
    content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%;
    background: var(--gold-bright); animation: dropline 2.4s var(--ease) infinite;
  }
}
@keyframes dropline { to { top: 120%; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--gray-50); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.trust .tt { text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 18px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.trust-row span { font-size: 14.5px; font-weight: 600; color: var(--gray-500); letter-spacing: .04em; transition: color .25s; }
.trust-row span:hover { color: var(--gold-deep); }

/* ---------- Section head ---------- */
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; margin-bottom: var(--gap-y); }
.sec-head .lede { margin-top: 16px; }
.sec-head.center { align-items: center; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 36px; height: 2px; background: var(--gold); display: inline-block; }
.sec-head.center .lede { margin-inline: auto; }
.sec-head .link-arrow { display: none; }
@media (min-width: 820px) {
  .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .sec-head.center { flex-direction: column; align-items: center; }
  .sec-head .link-arrow { display: inline-flex; }
}

/* ---------- Services (responsive column math) ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 540px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }

.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.svc:hover { border-color: var(--gold); box-shadow: var(--shadow-lift); transform: translateY(-6px); }
.svc .top { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 22px 0; }
.svc .ico {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  border: 1.5px solid var(--gold); border-radius: 13px; color: var(--gold-deep);
  background: linear-gradient(145deg, var(--gold-soft), rgba(176, 141, 28, .06));
}
.svc .ico svg { width: 23px; height: 23px; }
.svc .no { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--gray-400); }
.svc .body { padding: 16px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc .en { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.svc h3 { font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.svc p { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; }

/* ---------- Portfolio (12-column masonry frame) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs button {
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  border: 1.5px solid #D6D3CB; border-radius: 999px; padding: 10px 20px; color: var(--gray-600);
  transition: .3s;
}
.tabs button:hover { color: var(--ink); border-color: var(--gold); }
.tabs button.active { background: var(--black); border-color: var(--black); color: #fff; }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.work-card { grid-column: span 12; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--black); cursor: pointer; }
.work-card .img { aspect-ratio: 4/3; overflow: hidden; }
.work-card.featured .img { aspect-ratio: auto; height: 100%; min-height: 340px; }
.work-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .img img { transform: scale(1.06); }
.work-card .meta {
  position: absolute; inset: auto 0 0 0; padding: 36px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .88)); z-index: 2;
}
.work-card .meta .tag { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); }
.work-card .meta h3 { font-size: 16.5px; font-weight: 700; color: #fff; margin-top: 6px; line-height: 1.35; }
.work-card .meta .who { font-size: 12.5px; color: rgba(255, 255, 255, .72); margin-top: 4px; }
.work-card.featured .meta h3 { font-size: clamp(1.2rem, 2.1vw, 1.7rem); }
.work-card .shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background .4s; z-index: 1; }
.work-card:hover .shade { background: rgba(0, 0, 0, .28); }
.work-card.hide { display: none; }

@media (min-width: 640px) { .work-card { grid-column: span 6; } }
@media (min-width: 1080px) {
  .work-card { grid-column: span 4; }
  .work-card.featured { grid-column: span 8; grid-row: span 2; }
  .work-card.featured .img { min-height: 520px; }
}

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .tst-grid { grid-template-columns: repeat(3, 1fr); } }
.tst { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; transition: .35s var(--ease); }
.tst:hover { border-color: var(--gold); box-shadow: var(--shadow-lift); transform: translateY(-6px); }
.tst .stars { color: var(--gold); font-size: 15px; letter-spacing: 4px; }
.tst p { font-size: 14.5px; color: var(--gray-600); line-height: 1.8; flex: 1; }
.tst .who { display: flex; align-items: center; gap: 14px; }
.tst .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--gold-bright); display: grid; place-items: center; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.tst .who b { font-size: 14.5px; color: var(--ink); display: block; }
.tst .who span { font-size: 12.5px; color: var(--gray-500); }

/* ---------- Steps ---------- */
.steps-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(44px, 5vw, 64px); max-width: 640px; }
.steps-head .eyebrow { margin-bottom: 0; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 24px; position: relative; }
@media (min-width: 540px) { .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } }
@media (min-width: 1000px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); column-gap: 0; row-gap: 0; }
  .steps-grid::before {
    content: ""; position: absolute; top: 34px; left: 3%; right: 3%;
    height: 1px; background: rgba(220, 185, 74, .28);
  }
}
.step { padding: 0; position: relative; }
@media (min-width: 1000px) { .step { padding: 0 26px 8px; } }
.step .num {
  width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(220, 185, 74, .5);
  background: var(--black); color: var(--gold-bright); display: grid; place-items: center;
  font-size: 17px; font-weight: 800; position: relative; z-index: 2; margin-bottom: 24px;
  transition: background .3s, color .3s, transform .3s;
}
.step:hover .num { background: var(--gold-bright); color: var(--black); transform: translateY(-4px); }
.step .tt { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.step p { font-size: 13.5px; color: var(--gray-400); line-height: 1.75; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--gold); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left;
}
.faq-q .ic { flex-shrink: 0; width: 34px; height: 34px; border: 1.5px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); font-size: 18px; font-weight: 400; transition: .35s; line-height: 1; }
.faq-item.open .faq-q .ic { background: var(--gold); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 26px 24px; font-size: 14.5px; color: var(--gray-600); line-height: 1.8; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.05fr .95fr; } }
.channels { display: flex; flex-direction: column; margin-top: 8px; }
.chan { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.chan:first-child { border-top: 1px solid var(--line); }
.chan .ic { flex-shrink: 0; width: 48px; height: 48px; border: 1.5px solid var(--gold); border-radius: 12px; display: grid; place-items: center; color: var(--gold-deep); background: var(--gold-soft); }
.chan .ic svg { width: 20px; height: 20px; }
.chan .l { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; margin-bottom: 4px; }
.chan .v { font-size: 15.5px; font-weight: 500; word-break: break-word; }
.chan .v a { transition: color .25s; }
.chan .v a:hover { color: var(--gold-deep); }
.chan .line-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--black); color: var(--gold-bright); font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 999px; margin-top: 10px; transition: .3s; }
.chan .line-tag:hover { background: var(--gold); color: #151515; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-card); }
.form h3 { font-size: 23px; margin-bottom: 6px; }
.form .sub { color: var(--gray-600); font-size: 14px; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld.full { grid-column: 1/-1; }
.fld label { font-size: 13px; color: var(--gray-700); }
.fld label b { color: var(--gold-deep); }
.fld input, .fld select, .fld textarea {
  background: var(--gray-50); border: 1px solid #DCDAD3; border-radius: 10px;
  color: var(--ink); font-family: inherit; font-size: 14.5px;
  padding: 14px 16px; outline: none; transition: border-color .25s, box-shadow .25s; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.fld select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23191919' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-color: var(--gray-50);
}
.fld select option { background: #fff; }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); background: #fff; }
.form .btn { width: 100%; margin-top: 26px; }
.form-note { font-size: 12.5px; color: var(--gray-500); text-align: center; margin-top: 16px; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: var(--gray-400); padding-top: clamp(60px, 7vw, 96px); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
@media (min-width: 540px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; } }
.foot-brand .brand { margin-bottom: 20px; }
.foot-brand .brand .logo { filter: none; }
.foot-brand .brand .word b { color: #fff; }
.foot-brand .brand .word span { color: var(--gold-bright); }
.foot-brand p { font-size: 13.5px; line-height: 1.8; max-width: 36ch; }
.foot-brand .tag { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-bright); margin-top: 18px; font-weight: 600; }
.foot h4 { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.foot li { margin-bottom: 13px; }
.foot a { font-size: 14px; color: var(--gray-400); transition: color .25s; }
.foot a:hover { color: var(--gold-bright); }
.foot .soc { display: flex; gap: 8px; margin-top: 20px; }
.foot .soc a { width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 9px; display: grid; place-items: center; color: var(--gray-400); transition: .3s; }
.foot .soc a:hover { border-color: var(--gold); color: var(--gold-bright); }
.foot .soc svg { width: 13px; height: 13px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--gray-500); }
.foot-bottom .dh { letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gray-400); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 150%); z-index: 200;
  background: var(--black); color: var(--gold-bright); font-weight: 600; font-size: 14.5px;
  padding: 16px 28px; border-radius: 12px; border: 1px solid rgba(220, 185, 74, .5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35); transition: transform .5s var(--ease); max-width: 92vw; text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
