:root {
  --bg: #060606;
  --bg-soft: #101010;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --text: #f6f1e8;
  --muted: rgba(246, 241, 232, 0.76);
  --line: rgba(207, 169, 84, 0.24);
  --accent: #c8a55a;
  --accent-2: #f0d48a;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --container: min(1180px, calc(100% - 2rem));
  --services-gap-desktop: 40px;
  --services-gap-mobile: 28px;
  --display: clamp(2.2rem, 4.2vw, 4rem);
  --h2: clamp(2rem, 4vw, 3.35rem);
  --h3: clamp(1.2rem, 2vw, 1.6rem);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 75% 12%, rgba(200, 165, 90, 0.16), transparent 24%),
    radial-gradient(circle at 20% 30%, rgba(200, 165, 90, 0.07), transparent 22%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 100%);
  line-height: 1.7;
}

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

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.72);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: scaleX(0.92);
  transform-origin: center;
  transition: opacity 280ms ease, transform 320ms ease, background-color 220ms ease;
  pointer-events: none;
}

body.header-border-active .site-header::after,
.site-header:hover::after,
.site-header:focus-within::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 1.5rem;
  margin-top: 0;
  margin-bottom: 0;
}

.site-nav a {
  color: var(--muted);
  position: relative;
  font-weight: 500;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.8rem;
  margin-top: 0;
  margin-bottom: 0;
}

.lang-toggle,
.menu-toggle {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.lang-toggle {
  min-width: 92px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0;
}

.nav-actions .desktop-cta {
  min-height: auto;
  padding: 0.72rem 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: var(--text);
}

.mobile-menu {
  display: none;
  width: var(--container);
  margin: 0 auto 1rem;
  padding: 0.5rem 0 1rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a:not(.button) {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

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

.button-gold {
  background: linear-gradient(135deg, #f0d48a 0%, #c8a55a 55%, #a67a28 100%);
  color: #16110b;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(200, 165, 90, 0.22);
}

.button-gold:hover {
  box-shadow: 0 14px 36px rgba(200, 165, 90, 0.28);
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button-outline:hover {
  border-color: rgba(200, 165, 90, 0.4);
  background: rgba(200, 165, 90, 0.06);
}

.full {
  width: 100%;
}

.section {
  padding: 6rem 0;
}

.hero {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
}

.hero-grid,
.two-col,
.contact-grid,
.identity-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2.25rem;
  align-items: start;
}

.hero-copy,
.hero-visual {
  align-self: start;
}

.hero-copy {
  padding-top: 2.2rem;
}

.hero h1,
.section-heading h2 {
  margin: 0.35rem 0 1rem;
  font-family: var(--serif);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: var(--display);
  max-width: 12ch;
  line-height: 1.02;
}

.section-heading h2 {
  font-size: var(--h2);
  max-width: 14ch;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
}

.lead,
.content-block p,
.service-card p,
.identity-card p,
.contact-section p,
.contact-meta span,
.identity-list {
  color: var(--muted);
}

.lead {
  max-width: 54ch;
  font-size: 0.98rem;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.content-block {
  display: grid;
  gap: 1.25rem;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions {
  margin: 1.7rem 0 1.5rem;
}

.trust-row {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-row div {
  min-width: 148px;
}

.trust-row strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.trust-row span {
  font-size: 0.92rem;
  line-height: 1.65;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-stage {
  position: relative;
  width: min(100%, 620px);
  min-height: 760px;
  overflow: hidden;
}

.portrait-glow {
  position: absolute;
  inset: auto 15% 8% 15%;
  height: 14%;
  background: radial-gradient(circle, rgba(200, 165, 90, 0.34), transparent 62%);
  filter: blur(22px);
  pointer-events: none;
}

.portrait-aura {
  position: absolute;
  inset: 12% 11% 18% 11%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(200, 165, 90, 0.22) 0%, rgba(200, 165, 90, 0.08) 36%, rgba(200, 165, 90, 0) 72%);
  filter: blur(18px);
  pointer-events: none;
}

.portrait-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 60px rgba(0, 0, 0, 0.42));
}

.section-dark::before,
.section-alt::before {
  content: "";
  position: absolute;
  inset: 1.25rem 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.025);
}

.section-dark,
.section-alt {
  position: relative;
}

.two-col,
.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-grid {
  align-items: start;
}

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

.cards-grid {
  display: grid;
  align-items: stretch;
  row-gap: var(--services-gap-desktop);
  column-gap: 2rem;
}

.identity-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.service-card,
.identity-card,
.contact-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.7rem;
}

.identity-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
}

.service-card {
  height: 100%;
}

.service-card:hover,
.identity-card:hover,
.contact-card:hover {
  background: var(--panel-strong);
}

.service-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.service-card h3 {
  margin: 0 0 0.8rem;
  font-size: var(--h3);
  font-family: var(--serif);
}

.service-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-list li + li {
  margin-top: 0.45rem;
}

.seo-section .section-heading h2 {
  max-width: 16ch;
}

.seo-intro {
  max-width: 72ch;
  margin: 0.9rem 0 0;
}

.seo-closing {
  margin-top: 2rem;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.seo-closing h3 {
  margin: 0 0 0.85rem;
  font-size: var(--h3);
  font-family: var(--serif);
}

.carousel-shell {
  overflow: hidden;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  transition: transform 380ms ease;
  will-change: transform;
  touch-action: pan-y;
}

.carousel-track.is-static {
  justify-content: start;
  transform: none !important;
}

.feed-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card {
  position: relative;
}

.property-image-wrap {
  aspect-ratio: 4 / 3;
}

.property-image {
  object-fit: cover;
  object-position: center;
}

.property-status {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(245, 245, 245, 0.92);
  color: #1a1a1a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.property-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.property-watermark img {
  width: min(58%, 260px);
  opacity: 0.12;
  filter: saturate(0) brightness(1.6);
}

.property-copy {
  gap: 0.7rem;
}

.property-price {
  font-size: 1.9rem;
  line-height: 1.05;
  font-weight: 800;
  color: var(--text);
}

.property-location,
.property-specs {
  color: var(--muted);
  font-size: 0.95rem;
}

.property-link {
  margin-top: auto;
  width: 100%;
}

.feed-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #050505;
  overflow: hidden;
}

.feed-image-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.feed-image-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 320ms ease;
}

.feed-image-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.feed-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #050505;
}

.feed-image-dots {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  z-index: 2;
}

.feed-image-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.14);
}

.feed-image-dot.is-active {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.34);
}

.feed-expand {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.68);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.feed-expand:hover {
  background: rgba(200, 165, 90, 0.2);
  border-color: rgba(200, 165, 90, 0.38);
}

.feed-copy {
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  background: linear-gradient(180deg, rgba(33, 33, 33, 0.95), rgba(27, 27, 27, 0.98));
}

.feed-copy h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-family: var(--serif);
}

.feed-copy p {
  margin: 0;
}

.feed-meta {
  margin: 0 0 0.55rem !important;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.feed-map-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  text-shadow: 0 0 10px rgba(200, 165, 90, 0.18);
}

.feed-map-badge:hover {
  color: #f2d691;
  text-shadow: 0 0 14px rgba(200, 165, 90, 0.3);
}

.feed-map-badge-icon {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--accent-2);
  flex: 0 0 auto;
  font-size: 0.86rem;
}

.feed-map-badge-text {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.carousel-more {
  margin-top: 1rem;
}

.notify-button {
  margin-top: 1rem;
}

.admin-page,
.archive-page {
  min-height: 100vh;
}

.archive-search {
  margin: 0 0 1.5rem;
}

.archive-search input {
  width: min(440px, 100%);
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.admin-shell {
  display: grid;
  gap: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  color: var(--accent-2);
  font-weight: 700;
}

.back-link span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d48a 0%, #c8a55a 55%, #a67a28 100%);
  color: #16110b;
  box-shadow: 0 10px 24px rgba(200, 165, 90, 0.22);
}

.admin-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title {
  margin: 0.35rem 0 1rem;
  font-size: var(--h2);
  font-family: var(--serif);
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-form label {
  display: grid;
  gap: 0.45rem;
}

.admin-form span {
  color: var(--text);
  font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.upload-actions .button {
  min-height: 46px;
  padding: 0.8rem 1rem;
}

.upload-file-name {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.upload-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.upload-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 0.75rem;
}

.upload-preview-item {
  padding: 0.45rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.5rem;
  color: var(--text);
}

.upload-preview-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.upload-preview-item span {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.upload-preview-item.is-primary {
  border-color: rgba(200, 165, 90, 0.42);
  box-shadow: 0 0 0 1px rgba(200, 165, 90, 0.16), 0 14px 24px rgba(200, 165, 90, 0.08);
}

.admin-status {
  margin: 0;
  color: var(--accent-2);
}

.manage-form {
  display: flex;
  flex-direction: column;
}

.manage-field {
  display: grid;
  gap: 0.45rem;
}

.manage-field span {
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}

.manage-field input,
.manage-field textarea,
.manage-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.manage-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.danger-button {
  margin-top: 0.6rem;
  border-color: rgba(200, 90, 90, 0.35);
  color: #f6d1d1;
}

.danger-button:hover {
  background: rgba(200, 90, 90, 0.08);
  border-color: rgba(200, 90, 90, 0.6);
}

.archive-empty {
  padding: 1.25rem;
}

.identity-logo,
.footer-logo {
  width: auto;
  object-fit: contain;
}

.identity-logo {
  max-height: 180px;
  margin: 1rem 0 1rem;
}

.footer-logo {
  max-height: 26px;
}

.identity-list {
  padding-left: 1.1rem;
  margin: auto 0 0;
}

.identity-list li + li {
  margin-top: 0.5rem;
}

.contact-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.contact-grid .section-heading {
  margin-bottom: 0;
  align-self: start;
}

.contact-radar {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
}

.contact-radar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.radar-expand {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.68);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.radar-expand:hover {
  background: rgba(200, 165, 90, 0.2);
  border-color: rgba(200, 165, 90, 0.36);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-meta strong {
  color: var(--text);
}

.contact-map {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.85rem;
}

.contact-map-copy {
  margin: 0;
  font-weight: 800;
  color: var(--text);
}

.map-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  min-height: 280px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.radar-frame iframe {
  height: 280px;
}

.contact-map-link {
  color: var(--accent-2);
  font-weight: 700;
}

.contact-map-link:hover {
  color: var(--text);
}

.linkedin-card {
  margin-top: 1.35rem;
  padding: 1.35rem;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(11, 18, 28, 0.92), rgba(23, 23, 23, 0.96)),
    rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 1rem;
}

.linkedin-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.linkedin-copy {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.linkedin-avatar-frame {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  align-self: center;
}

.linkedin-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.78);
  transform-origin: center top;
  translate: 0 6px;
}

.linkedin-name-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.linkedin-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #f7fbff;
  background: linear-gradient(135deg, #0a66c2 0%, #084e96 100%);
  box-shadow: 0 14px 30px rgba(10, 102, 194, 0.24);
  flex: 0 0 auto;
}

.linkedin-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-family: var(--serif);
}

.linkedin-role {
  margin: 0 0 0.55rem !important;
  color: var(--accent-2);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.linkedin-card p {
  margin: 0;
}

.linkedin-link {
  width: fit-content;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 2, 2, 0.82);
  backdrop-filter: blur(16px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-dialog {
  position: relative;
  width: min(92vw, 1100px);
  max-height: 88vh;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 11, 11, 0.96);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}

.image-lightbox-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 20px;
  background: #050505;
}

.image-lightbox-frame {
  width: 100%;
  height: min(72vh, 720px);
  border: 0;
  border-radius: 20px;
  background: #050505;
}

.image-lightbox-title {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.image-lightbox-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.82);
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
}

body.has-lightbox-open {
  overflow: hidden;
}

.floating-action {
  position: fixed;
  right: 1rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
}

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

.floating-wa {
  bottom: calc(4.35rem - 40px);
  width: 44px;
  height: 44px;
  opacity: 0.8;
  filter: none;
}

.floating-action-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 8px rgba(240, 212, 138, 0.48))
    drop-shadow(0 0 18px rgba(200, 165, 90, 0.28));
}

.floating-top {
  bottom: calc((4.35rem - 40px) + 44px + 10px);
  width: 44px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.82;
}

.floating-top-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-top: 2px solid rgba(240, 212, 138, 0.88);
  border-left: 2px solid rgba(240, 212, 138, 0.88);
  transform: rotate(45deg);
  filter:
    drop-shadow(0 0 6px rgba(240, 212, 138, 0.42))
    drop-shadow(0 0 16px rgba(200, 165, 90, 0.2));
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap p {
  color: rgba(246, 241, 232, 0.58);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

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

  .reveal,
  .button,
  .site-nav a::after {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .identity-grid,
  .cards-grid,
  .contact-meta,
  .admin-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .hero h1,
  .section-heading h2 {
    max-width: none;
  }

  .hero-grid {
    gap: 1.6rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  .portrait-stage {
    min-height: 620px;
  }

  .cards-grid {
    row-gap: var(--services-gap-mobile);
    column-gap: 0;
  }

  .carousel-track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .nav-wrap {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-logo {
    height: 32px;
  }

  .hero {
    min-height: auto;
    padding-top: 1.25rem;
  }

  .hero-actions,
  .trust-row,
  .footer-wrap,
  .upload-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .button,
  .lang-toggle {
    width: 100%;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .portrait-stage {
    min-height: 500px;
  }

  .linkedin-card {
    padding: 1.1rem;
    gap: 0.95rem;
  }

  .linkedin-card-head {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    justify-items: center;
    text-align: center;
  }

  .linkedin-avatar-frame {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    align-self: center;
    margin-top: 0;
  }

  .linkedin-avatar {
    transform: scale(1.62);
    transform-origin: center top;
    translate: 0 8px;
  }

  .linkedin-copy {
    gap: 0.55rem;
    justify-items: center;
    text-align: center;
  }

  .linkedin-name-row {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .linkedin-card h3 {
    font-size: 0.98rem;
    line-height: 1.05;
    letter-spacing: -0.01em;
  }

  .linkedin-badge {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0.92rem;
    box-shadow: 0 10px 22px rgba(10, 102, 194, 0.22);
  }

  .linkedin-role {
    font-size: 0.72rem;
    line-height: 1.55;
    letter-spacing: 0.05em;
    max-width: 22ch;
    margin: 0 !important;
    text-align: center;
  }

  .linkedin-link {
    width: min(100%, 320px);
    min-height: 50px;
    justify-content: center;
    margin-inline: auto;
  }

  .site-footer {
    padding: 1rem 0 1.2rem;
  }

  .footer-wrap {
    flex-direction: row;
    gap: 0.9rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: flex-end;
  }

  .footer-logo {
    max-height: 22px;
    flex: 0 0 auto;
    margin-bottom: 2px;
  }

  .footer-wrap p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
    margin-left: 0.25rem;
  }
}

@supports not (row-gap: 1rem) {
  .cards-grid > .service-card + .service-card {
    margin-top: var(--services-gap-desktop);
  }

  @media (max-width: 1100px) {
    .cards-grid > .service-card + .service-card {
      margin-top: var(--services-gap-mobile);
    }
  }
}
