:root {
  --red: #8f1d1d;
  --red-deep: #5e1010;
  --red-soft: #b23a2e;
  --gold: #f2b705;
  --grey: #8a8f98;
  --ink: #1d1f24;
  --muted: #5b616b;
  --line: #e6e2dc;
  --paper: #fbf9f6;
  --tint: #f4efe8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 10, 10, .04), 0 12px 32px -12px rgba(60, 20, 20, .18);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
address { font-style: normal; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -3rem;
  background: #fff; color: var(--red); padding: .6rem 1rem; border-radius: 8px;
  z-index: 10; font-weight: 600;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn--light { background: #fff; color: var(--red); box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); }
.btn--light:hover { background: #fff7e0; }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(242,183,5,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  padding-bottom: 4.5rem;
}

.hero__pattern { position: absolute; right: -40px; top: 90px; width: 420px; height: 420px; pointer-events: none; opacity: .9; }
.cube { position: absolute; border-radius: 22px; transform: rotate(-8deg); }
.cube--red  { width: 210px; height: 210px; right: 70px;  top: 0;    background: linear-gradient(145deg, #c0392b, #7a1414); box-shadow: inset -14px -14px 0 rgba(0,0,0,.18); }
.cube--grey { width: 150px; height: 150px; right: 250px; top: 120px; background: linear-gradient(145deg, #b6bac1, #6f747c); box-shadow: inset -10px -10px 0 rgba(0,0,0,.15); opacity: .85; }
.cube--gold { width: 150px; height: 150px; right: 150px; top: 230px; background: linear-gradient(145deg, #ffd23f, #e0a100); box-shadow: inset -10px -10px 0 rgba(0,0,0,.12); }

.topbar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.25rem;
}
.logo-card { background: #fff; padding: .55rem .9rem; border-radius: 14px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
.topbar__actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }

.hero__body { position: relative; z-index: 2; padding-top: 4rem; max-width: 1120px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 1.25rem; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  font-size: .85rem; font-weight: 500; letter-spacing: .02em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242,183,5,.7); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242,183,5,.7); }
  70% { box-shadow: 0 0 0 10px rgba(242,183,5,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,183,5,0); }
}

h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.08; letter-spacing: -.015em;
  margin: 0 0 1.25rem; max-width: 16ch;
}
h1 em { font-style: italic; color: var(--gold); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.86); max-width: 60ch; margin: 0 0 2rem; }

.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; }

.pillars {
  list-style: none; margin: 3.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 760px;
}
.pillars li {
  padding: 1rem 1.15rem; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
}
.pillars strong { display: block; font-size: 1rem; }
.pillars span { font-size: .88rem; color: rgba(255,255,255,.75); }

/* ---------- Sections ---------- */
.section { padding-block: 4.5rem; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: 2.25rem; max-width: 640px; }
.section__head h2, .promise h2 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .4rem; letter-spacing: -.01em;
}
.section__head p { margin: 0; color: var(--muted); }

/* ---------- Contact cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin: 1rem 0 .5rem; font-size: 1.05rem; }
.card address, .card .links { color: var(--muted); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #fbeeee; color: var(--red);
}
.card__icon svg { width: 22px; height: 22px; fill: currentColor; }
.card--accent { background: linear-gradient(160deg, #fff 0%, #fff8e1 100%); border-color: #f3e2a8; }
.card--accent .card__icon { background: var(--gold); color: var(--red-deep); }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.links a { text-decoration: none; font-weight: 500; color: var(--ink); word-break: break-word; }
.links a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.copy {
  margin-top: auto; align-self: flex-start; transform: translateY(.75rem);
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--red);
  background: none; border: 1px solid #ecd2d2; border-radius: 999px; padding: .35rem .85rem; cursor: pointer;
}
.copy:hover { background: #fbeeee; }

/* ---------- Offices ---------- */
.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.office {
  position: relative; background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: .4rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.office:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.office::before {
  content: ""; position: absolute; left: 1.5rem; top: 0; width: 40px; height: 4px; border-radius: 0 0 4px 4px;
  background: var(--grey);
}
.office--hq::before { background: var(--red); }
.office h3 { margin: 0; font-size: 1.2rem; }
.office address { color: var(--muted); font-size: .95rem; flex: 1; }
.office__link { margin-top: .6rem; font-weight: 600; color: var(--red); text-decoration: none; font-size: .92rem; }
.office__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.badge {
  align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: #fbeeee; color: var(--red); padding: .2rem .55rem; border-radius: 6px;
}

/* ---------- Promise ---------- */
.promise { text-align: center; max-width: 760px; }
.promise p { font-size: 1.15rem; color: var(--muted); margin: .5rem auto 0; }

/* ---------- Footer ---------- */
.footer { background: #1a1112; color: rgba(255,255,255,.7); font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; }
.footer p { margin: 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem);
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 10px;
  font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__pattern { opacity: .35; right: -140px; }
}
@media (max-width: 620px) {
  .topbar__actions .btn--ghost { display: none; }
  .hero__body { padding-top: 2.5rem; }
  .pillars { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .cards, .offices { grid-template-columns: 1fr; }
  .hero__pattern { display: none; }
  .section { padding-block: 3.25rem; }
  .footer__inner { flex-direction: column; }
}

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