/* ==========================================================================
   Panther Trans – static presentational site
   Palette and lighting are taken from the logo: brushed charcoal metal,
   a soft light falling from the upper left, and beveled gold lettering.
   ========================================================================== */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg-deep: #0c0d10;
  --bg: #16181d;
  --bg-raised: #1c1e23;
  --text: #e9e7e3;
  --muted: #a4a7ae;

  --gold-hi: #f3e3c2;
  --gold: #cfae7b;
  --gold-mid: #b08d5e;
  --gold-lo: #7a5e40;
  --gold-line: rgba(207, 174, 123, 0.38);
  --gold-line-soft: rgba(207, 174, 123, 0.16);

  --gold-text: linear-gradient(180deg, #f7ebd0 0%, #dcc092 42%, #a9875b 72%, #d6b98a 100%);
  --gold-fill: linear-gradient(180deg, #efdcb3 0%, #cba674 48%, #9d7b50 100%);

  --serif: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  position: relative;
  isolation: isolate;
}

/* Fixed backdrop: charcoal gradient with the logo's light shine from the upper left */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    radial-gradient(110% 75% at 22% -12%, rgba(158, 166, 184, 0.30) 0%, rgba(158, 166, 184, 0.09) 38%, transparent 65%),
    radial-gradient(70% 55% at 88% 4%, rgba(120, 128, 146, 0.12) 0%, transparent 60%),
    radial-gradient(120% 70% at 50% 120%, rgba(0, 0, 0, 0.55) 0%, transparent 60%),
    linear-gradient(172deg, #2b2e35 0%, #1b1d22 38%, #121317 70%, var(--bg-deep) 100%);
}

/* Fine horizontal "brushed metal" streaks */
body::after {
  z-index: -1;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0025 0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E");
  background-size: 800px 400px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: var(--gold);
  text-decoration-color: var(--gold-line);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-hi);
}

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

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

/* ---------- Shared pieces ---------- */

.section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.7));
}

/* Gold rule with a centre dot – echoes the dots on the logo ring */
.ornament {
  display: block;
  position: relative;
  width: 180px;
  height: 1px;
  margin: 1.1rem auto 2.75rem;
  background: linear-gradient(90deg,
    transparent, var(--gold-mid) 30%, var(--gold-mid) 42%, transparent 42%,
    transparent 58%, var(--gold-mid) 58%, var(--gold-mid) 70%, transparent);
}

.ornament::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold-mid) 55%, var(--gold-lo));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Metallic panel with a double gold edge, like the logo's two rings */
.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.015) 42%, rgba(0, 0, 0, 0.18) 100%),
    var(--bg-raised);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 44px -24px rgba(0, 0, 0, 0.85);
}

.card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--gold-line-soft);
  pointer-events: none;
}

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--gold-hi);
  border: 1.5px solid var(--gold-mid);
  background: radial-gradient(circle at 35% 28%, #41454e 0%, #23262c 55%, #141519 100%);
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.35),
    0 0 0 5px var(--gold-line-soft),
    0 8px 18px -6px rgba(0, 0, 0, 0.8);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem clamp(2rem, 5vw, 3rem);
  overflow-x: clip; /* keep the logo glow from causing horizontal scroll */
}

.hero-logo {
  position: relative;
  margin: 0;
  width: min(400px, 78vw);
}

/* Soft studio light behind the medallion */
.hero-logo::before {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(170, 178, 196, 0.22), rgba(170, 178, 196, 0.06) 60%, transparent);
}

.hero-logo img {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 28px 32px rgba(0, 0, 0, 0.7))
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.8));
}

.hero-lead {
  margin: clamp(2.75rem, 6vw, 3.75rem) 0 0;
  max-width: 42ch;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--text);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  color: #1d160b;
  background: var(--gold-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 10px 24px -8px rgba(207, 174, 123, 0.5);
}

.btn-gold:hover {
  color: #1d160b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 14px 30px -8px rgba(207, 174, 123, 0.65);
}

.btn-ghost {
  color: var(--gold-hi);
  border: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Services ---------- */

/* Three cards per row on desktop, the last row centred (3 + 2) */
.features {
  --gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

.feature {
  flex: 0 1 calc((100% - 2 * var(--gap)) / 3);
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
}

.feature h3,
.feature p {
  text-wrap: balance;
}

.feature h3 {
  margin: 1.35rem 0 0.4rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--gold-hi);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Contact ---------- */

.slogan {
  margin: -1.5rem 0 2.5rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.slogan span {
  white-space: nowrap;
}

.slogan .sep {
  color: var(--gold-mid);
  margin-inline: 0.35em;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  max-width: 820px;
  margin-inline: auto;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem 2rem;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact:hover {
  color: var(--text);
  transform: translateY(-3px);
  border-color: rgba(207, 174, 123, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 50px -24px rgba(0, 0, 0, 0.9);
}

.contact-label {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  margin-top: 0.35rem;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 600;
  color: var(--gold-hi);
  overflow-wrap: anywhere;
}

.contact-value--phone {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- Legal footer ---------- */

.legal {
  padding-top: 0;
}

.legal-panel {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(1.75rem, 5vw, 2.75rem);
}

.legal-title {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  letter-spacing: 0.05em;
  color: var(--gold-hi);
}

.legal-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.55rem 1.75rem;
  margin: 0;
  font-size: 0.97rem;
}

.legal-list dt {
  color: var(--muted);
}

.legal-list dd {
  margin: 0;
}

.doc-link {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.doc-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(207, 174, 123, 0.6);
}

.doc-link .feature-icon {
  width: 48px;
  height: 48px;
}

.doc-link .feature-icon svg {
  width: 22px;
  height: 22px;
}

.doc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.doc-text strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--gold-hi);
}

.doc-text span {
  color: var(--muted);
  font-size: 0.92rem;
}

.copyright {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ---------- Small screens ---------- */

@media (max-width: 820px) {
  .feature {
    flex-basis: calc((100% - var(--gap)) / 2);
  }
}

@media (max-width: 560px) {
  .slogan {
    font-size: 0.9rem;
    letter-spacing: 0.07em;
  }

  .slogan .sep {
    margin-inline: 0.15em;
  }

  .features {
    --gap: 0.9rem;
  }

  .feature {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.1rem;
    align-items: center;
    text-align: left;
    padding: 1.15rem 1.25rem;
  }

  .feature .feature-icon {
    grid-row: span 2;
  }

  .feature h3 {
    margin: 0 0 0.15rem;
    align-self: end;
  }

  .feature p {
    align-self: start;
  }

  .legal-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-list dt {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .legal-list dt:first-child {
    margin-top: 0;
  }
}

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