/* ==========================================================================
   DE ICON STERLING SERVICES
   Premium Printing & Publishing Website
   External stylesheet for index.html
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */

:root {
  --midnight-navy: #0B1F33;
  --rich-charcoal: #20252B;
  --warm-ivory: #F6F1E8;
  --muted-gold: #B08D57;
  --soft-champagne: #D8C7A3;
  --white: #FFFFFF;

  --navy-2: #102A43;
  --navy-3: #173852;
  --charcoal-2: #30363D;
  --charcoal-3: #4B525A;
  --ivory-2: #EEE8DC;
  --ivory-3: #E3DCCF;
  --line: rgba(11, 31, 51, 0.13);
  --line-strong: rgba(11, 31, 51, 0.22);
  --gold-soft: rgba(176, 141, 87, 0.14);
  --gold-line: rgba(176, 141, 87, 0.42);
  --white-soft: rgba(255, 255, 255, 0.12);
  --white-line: rgba(255, 255, 255, 0.18);

  --body-bg: var(--warm-ivory);
  --surface: var(--white);
  --surface-muted: var(--ivory-2);
  --text: var(--rich-charcoal);
  --text-soft: #5B6269;
  --text-faint: #747A80;
  --heading: var(--midnight-navy);
  --accent: var(--muted-gold);

  --shadow-xs: 0 1px 2px rgba(11, 31, 51, 0.05);
  --shadow-sm: 0 8px 24px rgba(11, 31, 51, 0.07);
  --shadow-md: 0 16px 42px rgba(11, 31, 51, 0.10);
  --shadow-lg: 0 26px 70px rgba(11, 31, 51, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --container: 1240px;
  --gutter: clamp(18px, 3.5vw, 42px);
  --section-space: clamp(76px, 9vw, 132px);

  --font-body: "Manrope", sans-serif;
  --font-editorial: "Cormorant Garamond", Georgia, serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast: 160ms var(--ease);
  --normal: 280ms var(--ease);
  --slow: 500ms var(--ease);
}

html[data-theme="dark"] {
  --body-bg: #0A1827;
  --surface: #101F2E;
  --surface-muted: #172838;
  --text: #EDE8DE;
  --text-soft: #B9B7B0;
  --text-faint: #92979B;
  --heading: #FFFFFF;

  --line: rgba(216, 199, 163, 0.14);
  --line-strong: rgba(216, 199, 163, 0.25);
  --gold-soft: rgba(176, 141, 87, 0.16);
  --gold-line: rgba(216, 199, 163, 0.38);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.18);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.32);
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background: var(--body-bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--body-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

::selection {
  background: var(--muted-gold);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid rgba(176, 141, 87, 0.55);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4 {
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1,
h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 18px;
}

em {
  color: var(--muted-gold);
  font-family: var(--font-editorial);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-heading > p:last-child {
  max-width: 680px;
  color: var(--text-soft);
}

.section-heading-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  max-width: none;
}

.section-heading-split > p {
  max-width: 450px !important;
  margin-bottom: 10px;
}

/* ==========================================================================
   4. GLOBAL LAYOUT
   ========================================================================== */

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  background: var(--body-bg);
}

.section-ivory {
  background: var(--surface-muted);
}

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--midnight-navy);
  color: rgba(246, 241, 232, 0.78);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(246, 241, 232, 0.72);
}

.section-dark .eyebrow {
  color: var(--soft-champagne);
}

main {
  display: block;
}

main > section {
  isolation: isolate;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 800;
  transition: color var(--fast), gap var(--fast);
}

.text-link:hover {
  color: var(--muted-gold);
  gap: 11px;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   5. SKIP LINK
   ========================================================================== */

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--midnight-navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform var(--fast);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   6. BUTTONS & ICON BUTTONS
   ========================================================================== */

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-align: center;
  transition:
    background-color var(--normal),
    color var(--normal),
    border-color var(--normal),
    transform var(--normal),
    box-shadow var(--normal);
}

.button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.68rem;
}

.button-large {
  min-height: 52px;
  padding: 14px 24px;
}

.button-primary,
.button-dark {
  background: var(--midnight-navy);
  color: var(--white);
  border-color: var(--midnight-navy);
}

.button-primary:hover,
.button-dark:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  box-shadow: var(--shadow-sm);
}

.button-gold {
  background: var(--muted-gold);
  color: var(--white);
  border-color: var(--muted-gold);
}

.button-gold:hover {
  background: #9E7B49;
  border-color: #9E7B49;
  box-shadow: 0 10px 26px rgba(176, 141, 87, 0.24);
}

.button-outline {
  border-color: rgba(11, 31, 51, 0.35);
  color: var(--midnight-navy);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--muted-gold);
  color: var(--muted-gold);
}

.button-light-outline {
  border-color: var(--white-line);
  color: var(--white);
  background: transparent;
}

.button-light-outline:hover {
  border-color: var(--soft-champagne);
  color: var(--soft-champagne);
  background: rgba(255, 255, 255, 0.04);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition:
    background-color var(--fast),
    border-color var(--fast),
    color var(--fast),
    transform var(--fast);
}

.icon-button:hover {
  border-color: var(--muted-gold);
  color: var(--muted-gold);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   7. NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(11, 31, 51, 0.98);
  color: var(--white);
}

.navbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(216, 199, 163, 0.7);
  color: var(--soft-champagne);
  font-family: var(--font-editorial);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.brand-copy {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-copy strong {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.brand-copy span {
  margin-top: 4px;
  color: rgba(246, 241, 232, 0.68);
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--soft-champagne);
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.23em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 25px);
}

.nav-menu > a:not(.button) {
  position: relative;
  padding-block: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  transition: color var(--fast);
}

.nav-menu > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: var(--muted-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--normal);
}

.nav-menu > a:not(.button):hover,
.nav-menu > a:not(.button):focus-visible {
  color: var(--white);
}

.nav-menu > a:not(.button):hover::after,
.nav-menu > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 4px;
}

.site-header .icon-button {
  border-color: var(--white-line);
  background: transparent;
  color: var(--white);
}

.site-header .button-primary {
  background: var(--muted-gold);
  border-color: var(--muted-gold);
}

.site-header .button-outline {
  border-color: var(--white-line);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 21px;
  height: 21px;
}

/* ==========================================================================
   8. HERO
   ========================================================================== */

.hero-section {
  min-height: min(850px, calc(100vh - 78px));
  padding: clamp(72px, 8vw, 118px) 0 28px;
}

.hero-grid-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(216, 199, 163, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 199, 163, 0.065) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
}

.hero-grid-pattern::before,
.hero-grid-pattern::after {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(216, 199, 163, 0.22);
  content: "";
}

.hero-grid-pattern::before {
  top: 11%;
  right: 7%;
  border-left: 0;
  border-bottom: 0;
}

.hero-grid-pattern::after {
  bottom: 13%;
  left: 7%;
  border-top: 0;
  border-right: 0;
}

.hero-content {
  display: grid;
  min-height: 630px;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-copy h1 {
  max-width: 740px;
}

.hero-description {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(246, 241, 232, 0.72) !important;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-whatsapp {
  margin-left: 6px;
  color: var(--soft-champagne);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-card-main {
  position: relative;
  width: min(100%, 500px);
  height: 440px;
  border: 1px solid rgba(216, 199, 163, 0.25);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), transparent 48%),
    rgba(255,255,255,0.025);
  box-shadow: 30px 30px 90px rgba(0, 0, 0, 0.18);
}

.hero-card-main::before,
.hero-card-main::after {
  position: absolute;
  width: 20px;
  height: 20px;
  content: "";
  border-color: rgba(216, 199, 163, 0.55);
}

.hero-card-main::before {
  top: -10px;
  left: -10px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero-card-main::after {
  right: -10px;
  bottom: -10px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.paper-stack {
  position: absolute;
  inset: 10% 12%;
  transform: rotate(-4deg);
}

.paper {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(11, 31, 51, 0.12);
  box-shadow: 16px 22px 45px rgba(0, 0, 0, 0.2);
}

.paper-back {
  background: #D8C7A3;
  transform: translate(34px, 26px) rotate(7deg);
}

.paper-middle {
  background: #EFE8DA;
  transform: translate(18px, 13px) rotate(3deg);
}

.paper-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFFDF7;
  color: var(--midnight-navy);
  text-align: center;
}

.paper-monogram {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--muted-gold);
  color: var(--midnight-navy);
  font-family: var(--font-editorial);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.1em;
}

.paper-line {
  width: 58px;
  height: 1px;
  margin-bottom: 15px;
  background: var(--muted-gold);
}

.paper-front strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.18em;
}

.paper-front small {
  margin-top: 10px;
  color: #6D6B63;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.floating-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(216, 199, 163, 0.25);
  background: rgba(11, 31, 51, 0.78);
  color: var(--soft-champagne);
  box-shadow: var(--shadow-sm);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.floating-label-top {
  top: 15%;
  right: 0;
}

.floating-label-bottom {
  bottom: 10%;
  left: 0;
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-gold);
}

.floating-label-bottom span {
  color: var(--muted-gold);
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(216, 199, 163, 0.17);
  color: rgba(246, 241, 232, 0.52);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero-rule {
  width: 58px;
  height: 1px;
  background: var(--muted-gold);
}

/* ==========================================================================
   9. STATISTICS
   ========================================================================== */

.stats-section {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  position: relative;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px clamp(16px, 3vw, 40px);
}

.stat-item + .stat-item {
  border-left: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 0.95;
}

.stat-item strong span {
  color: var(--muted-gold);
}

.stat-item > span:last-child {
  margin-top: 9px;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.stat-item small {
  color: var(--text-faint);
  font-size: 0.58rem;
  font-weight: 600;
}

/* ==========================================================================
   10. ABOUT
   ========================================================================== */

.about-section {
  background:
    linear-gradient(90deg, transparent 0 78%, rgba(176, 141, 87, 0.035) 78% 100%),
    var(--body-bg);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.about-copy {
  max-width: 620px;
}

.about-copy .lead {
  color: var(--heading);
  font-family: var(--font-editorial);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.24;
}

.about-copy > p:not(.lead) {
  color: var(--text-soft);
}

.about-copy .button {
  margin-top: 10px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.value-number {
  display: block;
  margin-bottom: 24px;
  color: var(--muted-gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.value-card h3 {
  color: var(--heading);
}

.value-card p {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 76px;
  border-top: 1px solid var(--line);
}

.mission-grid article {
  padding: 40px 0 0;
}

.mission-grid article + article {
  padding-left: clamp(30px, 5vw, 72px);
  border-left: 1px solid var(--line);
}

.mission-grid h3 {
  max-width: 520px;
  margin-bottom: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1.18;
}

/* ==========================================================================
   11. FILTERS
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  transition:
    color var(--fast),
    border-color var(--fast),
    background-color var(--fast);
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--muted-gold);
  background: var(--gold-soft);
  color: var(--heading);
}

.section-dark .filter-button {
  border-color: var(--white-line);
  color: rgba(246, 241, 232, 0.66);
}

.section-dark .filter-button:hover,
.section-dark .filter-button.active {
  border-color: var(--muted-gold);
  background: var(--gold-soft);
  color: var(--white);
}

/* ==========================================================================
   12. SERVICES
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition:
    transform var(--normal),
    border-color var(--normal),
    box-shadow var(--normal);
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--muted-gold);
  content: "";
  transition: width var(--normal);
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(176, 141, 87, 0.55);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-card:hover::after {
  width: 48px;
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid var(--gold-line);
  color: var(--muted-gold);
  background: var(--gold-soft);
}

.service-icon svg {
  width: 19px;
  height: 19px;
}

.service-index {
  position: absolute;
  top: 29px;
  right: 28px;
  color: var(--text-faint);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-editorial);
  font-size: 1.55rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-soft);
  font-size: 0.79rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--heading);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: color var(--fast), gap var(--fast);
}

.service-link:hover {
  color: var(--muted-gold);
  gap: 9px;
}

.service-link svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   13. WHY CHOOSE US
   ========================================================================== */

.why-section {
  background:
    radial-gradient(circle at 90% 15%, rgba(176, 141, 87, 0.08), transparent 28%),
    var(--midnight-navy);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.feature-card {
  min-height: 220px;
  padding: 32px;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
  transition: background-color var(--normal);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.025);
}

.feature-card > svg {
  width: 22px;
  height: 22px;
  margin-bottom: 28px;
  color: var(--soft-champagne);
}

.feature-card h3 {
  color: var(--white);
}

.feature-card p {
  max-width: 330px;
  color: rgba(246, 241, 232, 0.63);
  font-size: 0.79rem;
}

/* ==========================================================================
   14. PORTFOLIO
   ========================================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--normal),
    box-shadow var(--normal),
    transform var(--normal);
}

.portfolio-card:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.portfolio-large {
  grid-row: span 2;
}

.portfolio-placeholder {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.96), rgba(23, 56, 82, 0.86)),
    var(--midnight-navy);
  color: var(--white);
}

.portfolio-large .portfolio-placeholder {
  min-height: 538px;
}

.portfolio-placeholder::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(216, 199, 163, 0.2);
  content: "";
}

.portfolio-placeholder::after {
  position: absolute;
  top: 18%;
  right: 13%;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(216, 199, 163, 0.25);
  content: "";
  transform: rotate(45deg);
}

.portfolio-placeholder span,
.portfolio-placeholder strong {
  position: relative;
  z-index: 1;
}

.portfolio-placeholder span {
  margin-bottom: 8px;
  color: var(--soft-champagne);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.portfolio-placeholder strong {
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
}

.portfolio-meta small {
  color: var(--muted-gold);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portfolio-meta h3 {
  margin: 4px 0 0;
  font-size: 1rem;
}

.portfolio-view {
  width: 38px;
  height: 38px;
}

/* ==========================================================================
   15. PRICING
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.pricing-card-featured {
  border-color: var(--muted-gold);
  box-shadow: var(--shadow-md);
}

.pricing-label {
  position: absolute;
  top: 0;
  right: 26px;
  padding: 7px 10px;
  background: var(--muted-gold);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pricing-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-editorial);
  font-size: 2rem;
  font-weight: 600;
}

.pricing-note {
  margin-bottom: 25px;
  color: var(--text-soft);
  font-size: 0.77rem;
}

.pricing-note strong {
  color: var(--heading);
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: 0.79rem;
}

.pricing-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--muted-gold);
  content: "";
  transform: translateY(-50%);
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

/* ==========================================================================
   16. TESTIMONIALS
   ========================================================================== */

.testimonials-section {
  background: var(--body-bg);
}

.testimonial-slider {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 74px 60px;
}

.testimonial-track {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  padding: clamp(30px, 5vw, 70px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.testimonial-slide.active {
  display: block;
  animation: testimonialIn 420ms var(--ease);
}

.testimonial-slide blockquote {
  max-width: 820px;
  margin: 0 auto 30px;
  color: var(--heading);
  font-family: var(--font-editorial);
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1.12;
}

.testimonial-author {
  display: grid;
  gap: 4px;
}

.testimonial-author strong {
  color: var(--heading);
  font-size: 0.78rem;
}

.testimonial-author span {
  color: var(--text-faint);
  font-size: 0.68rem;
}

.slider-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transform: translateY(-50%);
  transition: all var(--fast);
}

.slider-button:hover {
  border-color: var(--muted-gold);
  color: var(--muted-gold);
}

.slider-button.prev {
  left: 0;
}

.slider-button.next {
  right: 0;
}

.slider-button svg {
  width: 17px;
  height: 17px;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slider-dots button {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background-color var(--fast), width var(--fast);
}

.slider-dots button.active {
  width: 42px;
  background: var(--muted-gold);
}

@keyframes testimonialIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   17. CLIENTS
   ========================================================================== */

.clients-section {
  padding-block: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-logo-grid span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.58;
  text-align: center;
  transition: opacity var(--fast), color var(--fast);
}

.client-logo-grid span:hover {
  color: var(--heading);
  opacity: 0.9;
}

/* ==========================================================================
   18. FAQ
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: start;
}

.faq-layout > .section-heading {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  color: var(--heading);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--muted-gold);
  transition: transform var(--normal);
}

.faq-item[open] summary {
  color: var(--muted-gold);
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 780px;
  padding: 0 40px 24px 0;
  color: var(--text-soft);
  font-size: 0.81rem;
}

/* ==========================================================================
   19. QUOTATION
   ========================================================================== */

.quotation-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(176, 141, 87, 0.08), transparent 25%),
    var(--midnight-navy);
}

.quotation-section .section-heading {
  max-width: 820px;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.form-section {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--white-line);
  background: rgba(255, 255, 255, 0.025);
}

.form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.form-section-heading > span {
  color: var(--muted-gold);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.form-section-heading h3 {
  margin-bottom: 3px;
  color: var(--white);
  font-family: var(--font-editorial);
  font-size: 1.7rem;
  font-weight: 600;
}

.form-section-heading p {
  color: rgba(246, 241, 232, 0.54);
  font-size: 0.72rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  min-width: 0;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label,
.choice-group legend {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 0.79rem;
  transition:
    border-color var(--fast),
    box-shadow var(--fast),
    background-color var(--fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-faint);
}

.section-dark input,
.section-dark select,
.section-dark textarea {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.section-dark input::placeholder,
.section-dark textarea::placeholder {
  color: rgba(246, 241, 232, 0.38);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--gold-line);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--muted-gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Light-page form labels and native select menus */
.section:not(.section-dark) .form-field label,
.section:not(.section-dark) .choice-group legend {
  color: var(--heading);
}

.section:not(.section-dark) .form-status {
  color: var(--text-soft);
}

select option {
  background: var(--surface);
  color: var(--text);
}

.section-dark select option {
  background: #FFFFFF;
  color: #20252B;
}

select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 21px,
    calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 38px;
}

.section-dark select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,.75) 50%, transparent 50%);
}

.field-error {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  color: var(--soft-champagne);
  font-size: 0.64rem;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--muted-gold);
}

.choice-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.75rem;
  cursor: pointer;
}

.choice input {
  width: 17px;
  min-height: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--muted-gold);
}

.file-dropzone {
  min-height: 190px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px dashed rgba(216, 199, 163, 0.45);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(246, 241, 232, 0.72) !important;
  text-align: center;
  cursor: pointer;
  transition:
    border-color var(--fast),
    background-color var(--fast);
}

.file-dropzone:hover {
  border-color: var(--muted-gold);
  background: rgba(176, 141, 87, 0.06);
}

.file-dropzone > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 4px;
  color: var(--soft-champagne);
}

.file-dropzone strong {
  color: var(--white);
  font-size: 0.76rem;
}

.file-dropzone span,
.file-dropzone small {
  color: rgba(246, 241, 232, 0.45);
  font-size: 0.62rem;
}

.file-dropzone input[type="file"] {
  display: none;
}

.file-preview {
  margin-top: 10px;
  color: var(--soft-champagne);
  font-size: 0.68rem;
}

.quote-submit-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.quote-summary {
  padding: 30px;
  border: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.045);
}

.quote-summary h3 {
  margin-bottom: 24px;
  color: var(--white);
  font-family: var(--font-editorial);
  font-size: 1.7rem;
  font-weight: 600;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--white-line);
}

.summary-row span {
  color: rgba(246, 241, 232, 0.55);
  font-size: 0.68rem;
}

.summary-row strong {
  color: var(--white);
  font-size: 0.74rem;
  text-align: right;
}

.quote-summary > small {
  display: block;
  margin-top: 18px;
  color: rgba(246, 241, 232, 0.42);
  font-size: 0.61rem;
}

.quote-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--white-line);
}

.quote-actions p {
  margin-bottom: auto;
  color: rgba(246, 241, 232, 0.46);
  font-size: 0.65rem;
}

.quote-actions .button {
  width: 100%;
}

.form-status {
  min-height: 20px;
  color: var(--soft-champagne);
  font-size: 0.7rem;
}

/* ==========================================================================
   20. ORDER TRACKING
   ========================================================================== */

.tracking-section {
  background: var(--body-bg);
}

.tracking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.tracking-layout > div:first-child p:last-child {
  max-width: 530px;
  color: var(--text-soft);
}

.tracking-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tracking-form > label {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 0.7rem;
  font-weight: 800;
}

.input-with-button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.input-with-button input {
  min-width: 0;
}

.tracking-empty {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  color: var(--text-faint);
  text-align: center;
}

.tracking-empty svg {
  width: 27px;
  height: 27px;
  margin-bottom: 12px;
  color: var(--muted-gold);
}

.tracking-empty p {
  max-width: 340px;
  margin: 0;
  font-size: 0.72rem;
}

.status-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 34px;
}

.status-timeline::before {
  position: absolute;
  top: 15px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  text-align: center;
}

.timeline-step span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-faint);
  font-size: 0.55rem;
  font-weight: 800;
}

.timeline-step strong {
  max-width: 90px;
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.35;
}

.timeline-step.active span,
.timeline-step.current span {
  border-color: var(--muted-gold);
  background: var(--muted-gold);
  color: var(--white);
}

.timeline-step.active strong,
.timeline-step.current strong {
  color: var(--heading);
}

.timeline-step.completed span {
  border-color: var(--muted-gold);
  background: var(--gold-soft);
  color: var(--muted-gold);
}

/* ==========================================================================
   21. CONTACT
   ========================================================================== */

.contact-section {
  background: var(--surface-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-details > a,
.contact-details > div {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-size: 0.73rem;
  font-weight: 700;
  transition: color var(--fast), background-color var(--fast);
}

.contact-details > a:hover {
  background: var(--gold-soft);
  color: var(--muted-gold);
}

.contact-details svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--muted-gold);
}

.contact-details span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-details small {
  display: block;
  margin-bottom: 3px;
  color: var(--text-faint);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form {
  padding: clamp(25px, 5vw, 48px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-form .form-field {
  margin-bottom: 18px;
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

/* ==========================================================================
   22. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--midnight-navy);
  color: rgba(246, 241, 232, 0.68);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 48px;
  padding-block: 76px 58px;
}

.brand-footer {
  margin-bottom: 22px;
}

.footer-brand > p {
  max-width: 350px;
  margin-bottom: 24px;
  color: rgba(246, 241, 232, 0.55);
  font-size: 0.76rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(246, 241, 232, 0.55);
  font-size: 0.7rem;
  overflow-wrap: anywhere;
  transition: color var(--fast);
}

.footer-column a:hover {
  color: var(--soft-champagne);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--white-line);
  color: rgba(246, 241, 232, 0.42);
  font-size: 0.59rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   23. MODALS
   ========================================================================== */

.modal {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 20, 0.72);
  backdrop-filter: blur(4px);
  animation: modalFade 180ms ease-out;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(800px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  animation: modalUp 220ms var(--ease);
}

.modal-dialog h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

#modal-content {
  color: var(--text-soft);
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   24. TOASTS / NOTIFICATIONS
   ========================================================================== */

.toast-container {
  position: fixed;
  z-index: 6000;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 9px;
  width: min(380px, calc(100vw - 40px));
}

.toast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--muted-gold);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  animation: toastIn 250ms var(--ease);
}

.toast svg {
  width: 18px;
  height: 18px;
  color: var(--muted-gold);
}

.toast-success,
.toast-error,
.toast-warning,
.toast-info {
  border-left-color: var(--muted-gold);
}

.toast strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.72rem;
}

.toast p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.65rem;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   25. LOADING / SKELETONS
   ========================================================================== */

.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.68;
}

.button.is-loading {
  color: transparent !important;
}

.button.is-loading::after {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  content: "";
  color: inherit;
  animation: spin 700ms linear infinite;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-top-color: var(--muted-gold);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface-muted);
}

.skeleton::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  content: "";
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}

.skeleton-card {
  min-height: 190px;
  border: 1px solid var(--line);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

/* ==========================================================================
   26. DASHBOARDS
   ========================================================================== */

.dashboard-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  background: var(--body-bg);
  color: var(--text);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 25px 15px;
  background: var(--midnight-navy);
  color: var(--white);
}

.dashboard-logo {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 0 13px 24px;
  border-bottom: 1px solid var(--white-line);
  color: var(--soft-champagne);
  font-family: var(--font-editorial);
  font-size: 1.55rem;
  font-weight: 700;
}

.dashboard-logo span {
  color: rgba(246, 241, 232, 0.58);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-sidebar nav {
  display: grid;
  gap: 3px;
  margin-top: 22px;
}

.dashboard-sidebar nav a,
.dashboard-sidebar nav button {
  position: relative;
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(246, 241, 232, 0.62);
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 700;
  text-align: left;
  transition: background-color var(--fast), color var(--fast);
}

.dashboard-sidebar nav a svg,
.dashboard-sidebar nav button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.dashboard-sidebar nav a:hover,
.dashboard-sidebar nav button:hover,
.dashboard-sidebar nav a.active {
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.dashboard-sidebar nav a.active::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -15px;
  width: 2px;
  background: var(--muted-gold);
  content: "";
}

.dashboard-sidebar nav button[data-action="logout"] {
  margin-top: 20px;
  border-top: 1px solid var(--white-line);
  border-radius: 0;
  padding-top: 20px;
  color: rgba(246, 241, 232, 0.45);
}

.dashboard-main {
  min-width: 0;
  background: var(--body-bg);
}

.dashboard-topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--body-bg) 94%, transparent);
  backdrop-filter: blur(10px);
}

.dashboard-topbar > div {
  min-width: 0;
  flex: 1;
}

.dashboard-topbar small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted-gold);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-topbar h1 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.dashboard-topbar h1 span {
  color: var(--muted-gold);
}

.dashboard-topbar > .icon-button:first-child {
  display: none;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-user > span {
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.dashboard-content {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 36px);
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dashboard-stat {
  position: relative;
  min-height: 135px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.dashboard-stat span {
  display: block;
  margin-bottom: 14px;
  color: var(--text-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dashboard-stat strong {
  color: var(--heading);
  font-family: var(--font-editorial);
  font-size: 2.55rem;
  font-weight: 600;
  line-height: 1;
}

.dashboard-stat > svg {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 20px;
  height: 20px;
  color: var(--muted-gold);
}

.dashboard-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 24px;
  border-bottom: 1px solid var(--line);
}

.panel-heading .eyebrow {
  margin-bottom: 6px;
}

.panel-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 1.7rem;
  font-weight: 600;
}

.panel-heading > a {
  color: var(--muted-gold);
  font-size: 0.65rem;
  font-weight: 800;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.table-actions input,
.table-actions select {
  min-height: 38px;
  width: 180px;
  padding: 8px 11px;
  font-size: 0.65rem;
}

.table-actions select {
  width: 150px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--text);
}

th,
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--text-faint);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

td {
  color: var(--text-soft);
  font-size: 0.67rem;
}

tbody tr {
  transition: background-color var(--fast);
}

tbody tr:hover {
  background: var(--gold-soft);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.table-empty {
  padding: 45px 18px;
  color: var(--text-faint);
  text-align: center;
}

.status-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid var(--gold-line);
  border-radius: 100px;
  background: var(--gold-soft);
  color: var(--heading);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.status-badge.pending,
.status-badge.under-review {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text-soft);
}

.status-badge.approved,
.status-badge.ready,
.status-badge.completed {
  border-color: var(--gold-line);
  background: var(--gold-soft);
  color: var(--heading);
}

.status-badge.in-production {
  border-color: rgba(176, 141, 87, 0.62);
  background: rgba(176, 141, 87, 0.19);
  color: var(--heading);
}

.status-badge.cancelled {
  border-color: var(--line-strong);
  background: var(--surface-muted);
  color: var(--text-faint);
  text-decoration: line-through;
}

.table-actions-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-action,
.action-button {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--fast);
}

.table-action:hover,
.action-button:hover {
  border-color: var(--muted-gold);
  color: var(--muted-gold);
}

.table-action svg,
.action-button svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   27. DASHBOARD DARK MODE REFINEMENTS
   ========================================================================== */

html[data-theme="dark"] .dashboard-sidebar {
  background: #071522;
}

html[data-theme="dark"] .dashboard-topbar {
  background: rgba(10, 24, 39, 0.94);
}

html[data-theme="dark"] .dashboard-stat,
html[data-theme="dark"] .dashboard-panel {
  background: #101F2E;
}

html[data-theme="dark"] .table-actions input,
html[data-theme="dark"] .table-actions select {
  background: #172838;
}

/* ==========================================================================
   28. RESPONSIVE — LARGE LAPTOP / DESKTOP
   ========================================================================== */

@media (max-width: 1200px) {
  .nav-menu {
    gap: 12px;
  }

  .nav-menu > a:not(.button) {
    font-size: 0.63rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    gap: 45px;
  }
}

/* ==========================================================================
   29. RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --section-space: clamp(68px, 9vw, 100px);
  }

  .navbar {
    min-height: 72px;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 73px);
    overflow-y: auto;
    padding: 18px var(--gutter) 25px;
    border-bottom: 1px solid var(--white-line);
    background: var(--midnight-navy);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.is-open,
  .nav-menu.open,
  .nav-menu.active {
    display: grid;
  }

  .nav-menu > a:not(.button) {
    padding: 13px 0;
    border-bottom: 1px solid var(--white-line);
    font-size: 0.75rem;
  }

  .nav-menu > a:not(.button)::after {
    display: none;
  }

  .nav-actions {
    margin-top: 10px;
    margin-left: 0;
    padding-top: 15px;
  }

  .hero-content {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .about-layout,
  .tracking-layout,
  .contact-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout > .section-heading {
    position: static;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-large {
    grid-row: auto;
  }

  .portfolio-large .portfolio-placeholder {
    min-height: 320px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: 350px;
  }

  .client-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .dashboard-view {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .dashboard-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   30. RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --gutter: 18px;
    --section-space: 68px;
  }

  body {
    font-size: 14px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading-split {
    display: block;
  }

  .section-heading-split > p {
    margin-top: 18px;
  }

  .navbar {
    min-height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 0.78rem;
  }

  .brand-copy span {
    font-size: 0.43rem;
  }

  .brand-copy small {
    font-size: 0.4rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-content {
    gap: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-whatsapp {
    justify-content: center;
    margin: 3px 0 0;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-card-main {
    height: 350px;
  }

  .paper-stack {
    inset: 8% 10%;
  }

  .floating-label {
    font-size: 0.56rem;
  }

  .floating-label-top {
    top: 7%;
    right: -3px;
  }

  .floating-label-bottom {
    bottom: 3%;
    left: -3px;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin-top: 30px;
    font-size: 0.54rem;
  }

  .hero-rule {
    width: 28px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    min-height: 120px;
    padding: 20px 16px;
  }

  .stat-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .stat-item strong {
    font-size: 2.45rem;
  }

  .about-layout {
    gap: 42px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 160px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .mission-grid article + article {
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .services-grid,
  .feature-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 275px;
  }

  .feature-card {
    min-height: 190px;
  }

  .portfolio-placeholder,
  .portfolio-large .portfolio-placeholder {
    min-height: 280px;
  }

  .pricing-card {
    min-height: 0;
  }

  .testimonial-slider {
    padding-inline: 0;
    padding-bottom: 58px;
  }

  .testimonial-slide {
    padding: 32px 22px;
  }

  .testimonial-slide blockquote {
    font-size: 2rem;
  }

  .slider-button {
    position: static;
    width: 42px;
    height: 42px;
    margin-top: 10px;
    transform: none;
  }

  .slider-button.prev {
    float: left;
  }

  .slider-button.next {
    float: right;
  }

  .slider-dots {
    bottom: 4px;
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logo-grid span {
    min-height: 76px;
  }

  .faq-item summary {
    min-height: 66px;
    font-size: 0.78rem;
  }

  .faq-item p {
    padding-right: 10px;
  }

  .form-grid,
  .quote-submit-area {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .form-section {
    padding: 24px 18px;
  }

  .quote-summary,
  .quote-actions {
    padding: 24px 18px;
  }

  .input-with-button {
    grid-template-columns: 1fr;
  }

  .input-with-button .button {
    width: 100%;
  }

  .status-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
    padding-left: 12px;
  }

  .status-timeline::before {
    top: 15px;
    right: auto;
    bottom: 15px;
    left: 27px;
    width: 1px;
    height: auto;
  }

  .timeline-step {
    min-height: 57px;
    display: grid;
    grid-template-columns: 31px 1fr;
    justify-content: start;
    gap: 13px;
    text-align: left;
  }

  .timeline-step strong {
    max-width: none;
    align-self: center;
    font-size: 0.62rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .dashboard-view {
    display: block;
  }

  .dashboard-sidebar {
    position: fixed;
    z-index: 3000;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(290px, 86vw);
    height: 100vh;
    transform: translateX(-105%);
    transition: transform var(--normal);
    box-shadow: var(--shadow-lg);
  }

  .dashboard-sidebar.is-open,
  .dashboard-sidebar.open,
  .dashboard-view.sidebar-open .dashboard-sidebar {
    transform: translateX(0);
  }

  .dashboard-topbar > .icon-button:first-child {
    display: inline-grid;
  }

  .dashboard-content {
    padding: 18px;
  }

  .dashboard-stat-grid {
    gap: 10px;
  }

  .dashboard-stat {
    min-height: 120px;
    padding: 18px;
  }

  .dashboard-stat strong {
    font-size: 2.2rem;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 19px;
  }

  .table-actions {
    width: 100%;
    flex-direction: column;
  }

  .table-actions input,
  .table-actions select {
    width: 100%;
  }
}

/* ==========================================================================
   31. RESPONSIVE — SMALL PHONES
   ========================================================================== */

@media (max-width: 430px) {
  .brand-copy span,
  .brand-copy small {
    display: none;
  }

  .nav-actions .button {
    display: none;
  }

  .hero-section {
    padding-top: 55px;
  }

  .hero-card-main {
    height: 320px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .paper-monogram {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    font-size: 1.9rem;
  }

  .paper-front strong {
    font-size: 1rem;
  }

  .paper-front small {
    font-size: 0.43rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    min-height: 110px;
  }

  .stat-item strong {
    font-size: 2.15rem;
  }

  .stat-item > span:last-child {
    font-size: 0.63rem;
  }

  .feature-card,
  .service-card {
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .dashboard-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-stat span {
    font-size: 0.58rem;
  }

  .dashboard-stat strong {
    font-size: 2rem;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-card-main {
    height: 290px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .floating-label {
    padding: 8px 9px;
  }

  .floating-label-bottom {
    bottom: 0;
  }

  .stat-item {
    padding-inline: 12px;
  }

  .stat-item strong {
    font-size: 1.95rem;
  }

  .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   32. DARK MODE — PUBLIC WEBSITE
   ========================================================================== */

html[data-theme="dark"] body {
  background: var(--body-bg);
}

html[data-theme="dark"] .section,
html[data-theme="dark"] .tracking-section,
html[data-theme="dark"] .testimonials-section,
html[data-theme="dark"] .about-section {
  background: var(--body-bg);
}

html[data-theme="dark"] .section-ivory,
html[data-theme="dark"] .contact-section {
  background: #0E1D2B;
}

html[data-theme="dark"] .stats-section,
html[data-theme="dark"] .clients-section {
  background: #101F2E;
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .portfolio-card,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .testimonial-slide,
html[data-theme="dark"] .tracking-card,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .modal-dialog {
  background: var(--surface);
}

html[data-theme="dark"] .button-outline {
  border-color: var(--line-strong);
  color: var(--text);
}

html[data-theme="dark"] .button-outline:hover {
  border-color: var(--muted-gold);
  color: var(--muted-gold);
}

html[data-theme="dark"] .icon-button {
  background: var(--surface);
}

html[data-theme="dark"] .portfolio-placeholder {
  background:
    linear-gradient(135deg, #0A1A2A, #142E44),
    var(--midnight-navy);
}

html[data-theme="dark"] .paper-front {
  background: #F6F1E8;
}

html[data-theme="dark"] .paper-middle {
  background: #D8C7A3;
}

html[data-theme="dark"] .paper-back {
  background: #8F744B;
}

html[data-theme="dark"] .dashboard-main {
  background: var(--body-bg);
}

/* ==========================================================================
   33. PRINTING-INSPIRED DETAILS
   ========================================================================== */

.about-section::before,
.tracking-section::before,
.testimonials-section::before {
  position: absolute;
  top: 30px;
  right: 0;
  width: min(24vw, 260px);
  height: 1px;
  background: var(--gold-line);
  content: "";
  opacity: 0.5;
}

.about-section::after,
.tracking-section::after,
.testimonials-section::after {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 11px;
  height: 11px;
  border-top: 1px solid var(--muted-gold);
  border-right: 1px solid var(--muted-gold);
  content: "";
  opacity: 0.5;
}

.site-footer::before {
  display: block;
  width: min(1240px, calc(100% - 36px));
  height: 1px;
  margin: 0 auto;
  background: rgba(216, 199, 163, 0.18);
  content: "";
}

/* ==========================================================================
   34. UTILITY / JS HOOKS
   ========================================================================== */

.no-scroll {
  overflow: hidden;
}

.is-hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 350ms var(--ease);
}

.slide-up {
  animation: slideUp 400ms var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   35. ACCESSIBILITY / REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .button,
  .filter-button,
  .icon-button,
  input,
  select,
  textarea,
  .service-card,
  .pricing-card,
  .portfolio-card,
  .dashboard-panel {
    border: 1px solid CanvasText;
  }

  :focus-visible {
    outline: 2px solid Highlight;
  }
}

/* ==========================================================================
   END — DE ICON STERLING SERVICES
   ========================================================================== */


/* ==========================================================================
   40. SERVICE PHOTOS + BRAND IMAGE
   ========================================================================== */

.brand-logo-frame {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 199, 163, 0.7);
  background: rgba(246, 241, 232, 0.06);
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.nav-logout-button {
  cursor: pointer;
}

.services-grid .service-card {
  min-height: 430px;
  padding: 22px;
}

.service-image {
  position: relative;
  width: 100%;
  height: 155px;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}

.service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-image-overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(11,31,51,0.78);
  color: var(--soft-champagne);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--fast), transform var(--fast);
}

.service-image-overlay svg {
  width: 16px;
  height: 16px;
}

.service-card:hover .service-image img {
  transform: scale(1.035);
}

.service-card:hover .service-image-overlay {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .service-index {
  top: 24px;
  right: 22px;
  padding-left: 8px;
  background: rgba(255,255,255,0.72);
}

.tracking-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.tracking-form .form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tracking-form .form-field input {
  width: 100%;
}

.tracking-form > .button {
  width: 100%;
  justify-content: center;
}

.admin-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 767px) {
  .services-grid .service-card {
    min-height: 390px;
  }

  .service-image {
    height: 180px;
  }

  .tracking-input-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo-frame {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (max-width: 430px) {
  .brand-logo-frame {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand {
    gap: 8px;
  }
}

/* Authentication page header / home navigation */
.auth-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 51, 0.98);
  border-bottom: 1px solid rgba(216, 199, 163, 0.22);
}
.auth-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.auth-brand { text-decoration: none; }
.auth-brand .brand-logo-frame { width: 46px; height: 46px; }
.auth-brand .brand-copy strong,
.auth-brand .brand-copy span,
.auth-brand .brand-copy small { color: #fff; }
.auth-section { min-height: calc(100vh - 78px); display: flex; align-items: center; }
.auth-card-wrap { width: 100%; max-width: 680px; }
@media (max-width: 640px) {
  .auth-header-inner { min-height: 68px; }
  .auth-brand .brand-copy { display: none; }
  .auth-brand .brand-logo-frame { width: 42px; height: 42px; }
  .auth-section { min-height: calc(100vh - 68px); }
}
