:root {
  --bg: #070707;
  --surface: #111111;
  --surface-alt: #171717;
  --ink: #f6f1e8;
  --ink-soft: #b6ab9a;
  --navy: #f6f1e8;
  --navy-strong: #050505;
  --gold: #b88d4a;
  --gold-soft: #dec188;
  --line: rgba(255, 245, 230, 0.09);
  --line-gold: rgba(184, 141, 74, 0.3);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(184, 141, 74, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(184, 141, 74, 0.06), transparent 28%),
    linear-gradient(180deg, #040404 0%, var(--bg) 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 141, 74, 0.08), transparent 18%),
    radial-gradient(circle at 12% 34%, rgba(184, 141, 74, 0.05), transparent 24%);
}

.page-shell {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 40px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(12, 12, 12, 0.88);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #171717, #090909);
  color: var(--gold-soft);
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 6px rgba(229, 199, 139, 0.08);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong,
.brand-text small,
.site-nav a,
.eyebrow,
.section-kicker,
.page-kicker,
.blog-tag,
.team-role,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand-text strong {
  font-size: 0.94rem;
}

.brand-text small,
.site-nav a {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  position: relative;
}

.site-nav a::after,
.inline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.inline-link:hover::after,
.inline-link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--gold-soft);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero,
.page-hero,
.section,
.band,
.contact-cta {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.hero.is-visible,
.page-hero.is-visible,
.section.is-visible,
.band.is-visible,
.contact-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: stretch;
  padding: 44px 0 28px;
}

.page-hero {
  padding: 18px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-reference .hero-copy {
  padding-top: 68px;
  padding-bottom: 68px;
}

.hero-copy,
.hero-visual,
.page-hero-copy,
.page-hero-visual,
.section,
.blog-card,
.article-shell,
.contact-card,
.contact-form,
.band {
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero-copy {
  padding: 56px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-hero-copy {
  display: grid;
  align-content: center;
  padding: 42px 38px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-hero-copy h1 {
  max-width: 12ch;
}

.page-hero-copy p {
  max-width: 56ch;
}

.hero-visual,
.page-hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #171717, #090909);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.hero-visual:hover,
.page-hero-visual:hover {
  transform: translateY(-4px);
}

.eyebrow,
.section-kicker,
.page-kicker,
.blog-tag,
.team-role,
.mini-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
}

.hero h1,
.page-hero h1,
.section h2,
.article-shell h1,
.article-shell h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 0.95;
  font-weight: 700;
}

.hero h1,
.page-hero h1,
.article-shell h1 {
  font-size: clamp(3.4rem, 6.4vw, 5.8rem);
  max-width: 11ch;
}

.section h2,
.article-shell h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 12ch;
}

.hero-text,
.page-hero p,
.split-copy p,
.service-copy p,
.service-card p,
.team-card li,
.blog-card p,
.article-shell p,
.article-shell li,
.contact-card p,
.site-footer span {
  color: var(--ink-soft);
  line-height: 1.8;
}

.hero-text {
  max-width: 58ch;
  margin: 26px 0 0;
  font-size: 1.02rem;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.button-primary {
  background: linear-gradient(180deg, #cfaa69, #b28239);
  color: var(--navy-strong);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 245, 230, 0.14);
  color: var(--ink);
}

.hero-points,
.team-card ul,
.article-shell ul,
.contact-list,
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-points,
.feature-list {
  display: grid;
  gap: 12px;
}

.hero-points li,
.feature-list li,
.team-card li,
.article-shell li {
  position: relative;
  padding-left: 18px;
}

.hero-points li::before,
.feature-list li::before,
.team-card li::before,
.article-shell li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-image,
.page-hero-image,
.split-image img,
.service-image img,
.team-portrait img,
.blog-thumb img,
.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.hero-visual:hover .hero-image,
.page-hero-visual:hover .page-hero-image,
.split-image:hover img,
.service-card:hover .service-image img,
.team-card:hover .team-portrait img,
.blog-card:hover .blog-thumb img,
.contact-visual:hover img {
  transform: scale(1.03);
}

.hero-badge,
.visual-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 245, 230, 0.08);
  border: 1px solid rgba(229, 199, 139, 0.18);
  color: #f5eee1;
  backdrop-filter: blur(12px);
}

.visual-badge strong,
.hero-badge strong {
  display: block;
  margin-bottom: 6px;
  color: #fffdf9;
}

.section {
  margin-top: 28px;
  padding: 52px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.section.alt {
  background: linear-gradient(180deg, #151515, #090909);
  color: #fffdf9;
  border-color: rgba(229, 199, 139, 0.18);
}

.section.alt h2,
.section.alt h3 {
  color: #fffdf9;
}

.section.alt p,
.section.alt li,
.section.alt .contact-card p {
  color: rgba(255, 253, 249, 0.76);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading-center {
  justify-items: center;
  text-align: center;
}

.split-layout,
.office-layout,
.services-grid,
.team-grid,
.blog-grid,
.contact-layout,
.article-grid,
.stats-row {
  display: grid;
  gap: 18px;
}

.split-layout {
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
}

.split-layout-tight {
  grid-template-columns: 0.92fr 1.08fr;
}

.office-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.split-image {
  overflow: hidden;
  border-radius: 32px;
  background: var(--surface-alt);
  min-height: 500px;
}

.split-copy {
  display: grid;
  gap: 18px;
}

.office-copy {
  display: grid;
  gap: 18px;
}

.office-stats {
  display: grid;
  gap: 16px;
}

.stats-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.office-stats article,
.service-card,
.team-card,
.blog-card,
.article-aside,
.contact-card,
.contact-form {
  padding: 26px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 245, 230, 0.04);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.section.alt .stat-card,
.section.alt .office-stats article,
.section.alt .service-card,
.section.alt .team-card,
.section.alt .blog-card,
.section.alt .article-aside,
.section.alt .contact-card,
.section.alt .contact-form {
  background: rgba(255, 245, 230, 0.04);
  border-color: rgba(229, 199, 139, 0.16);
}

.stat-card strong,
.office-stats article strong,
.service-card h3,
.team-card h3,
.blog-card h3,
.contact-card h3 {
  display: block;
  margin-bottom: 8px;
}

.stat-card:hover,
.office-stats article:hover,
.service-card:hover,
.team-card:hover,
.blog-card:hover,
.article-aside:hover,
.contact-card:hover,
.contact-form:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: 0 26px 48px rgba(12, 23, 39, 0.1);
}

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

.service-card {
  display: grid;
  gap: 16px;
  min-height: 100%;
}

.service-showcase {
  display: grid;
  gap: 22px;
}

.service-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.service-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.service-row.reverse .service-image {
  order: 2;
}

.service-row.reverse .service-copy {
  order: 1;
}

.service-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px 36px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.98), rgba(11, 11, 11, 0.94));
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.service-copy:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: 0 26px 48px rgba(12, 23, 39, 0.1);
}

.service-copy h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.04;
}

.service-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.service-image.large {
  min-height: 420px;
  border-radius: 32px;
}

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

.service-card.compact {
  background: rgba(255, 245, 230, 0.05);
}

.service-image {
  overflow: hidden;
  border-radius: 22px;
  min-height: 220px;
  background: var(--surface-alt);
}

.service-card a,
.blog-card a,
.inline-link {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: var(--gold-soft);
  font-weight: 600;
}

.section.alt .service-card a,
.section.alt .blog-card a,
.section.alt .inline-link {
  color: var(--gold-soft);
}

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

.team-card {
  display: grid;
  gap: 18px;
}

.team-grid-portraits {
  align-items: start;
}

.team-portrait {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #202020, #101010);
  min-height: 360px;
}

.band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 38px 40px;
  margin-top: 28px;
  color: #fffdf9;
  background: linear-gradient(180deg, #151515, #080808);
  border: 1px solid rgba(229, 199, 139, 0.18);
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 199, 139, 0.16), transparent 62%);
}

.band h2 {
  max-width: 15ch;
  color: #fffdf9;
}

.band p {
  color: rgba(255, 253, 249, 0.74);
}

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

.blog-card {
  display: grid;
  gap: 16px;
}

.blog-thumb {
  overflow: hidden;
  border-radius: 26px;
  min-height: 210px;
  background: var(--surface-alt);
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-card,
.contact-form {
  background: rgba(255, 245, 230, 0.04);
}

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

.contact-form-static .button {
  width: fit-content;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 245, 230, 0.1);
  border-radius: 16px;
  background: rgba(255, 245, 230, 0.03);
  color: var(--ink);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8290a2;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(199, 154, 76, 0.18);
  border-color: rgba(199, 154, 76, 0.44);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-visual {
  overflow: hidden;
  min-height: 240px;
  margin-top: 20px;
  border-radius: 24px;
}

.article-shell {
  margin-top: 28px;
  padding: 46px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.article-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.article-shell h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 6px 0;
}

.site-footer p {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d7b16e, #bf9144);
  color: var(--navy-strong);
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(191, 145, 68, 0.28);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .page-hero,
  .split-layout,
  .office-layout,
  .services-grid,
  .service-row,
  .service-cards-grid,
  .team-grid,
  .blog-grid,
  .contact-layout,
  .article-grid,
  .stats-row,
  .band {
    grid-template-columns: 1fr;
  }

  .service-row.reverse .service-image,
  .service-row.reverse .service-copy {
    order: initial;
  }

  .hero,
  .page-hero {
    gap: 20px;
    padding-top: 24px;
  }

  .hero-copy,
  .page-hero-copy {
    padding: 34px;
  }

  .page-hero {
    padding: 14px;
  }

  .hero-reference .hero-copy {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .section {
    padding: 34px;
  }

  .split-image,
  .service-image.large,
  .team-portrait {
    min-height: 320px;
  }

  .service-copy {
    padding: 28px;
  }

  .band {
    padding: 30px;
  }

  .menu-toggle {
    display: block;
    z-index: 35;
  }

  .site-nav {
    position: fixed;
    inset: 94px 16px auto;
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(15, 39, 69, 0.08);
    border-radius: 28px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--shadow);
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.menu-open .site-nav {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    padding: 12px 14px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .brand-text strong {
    font-size: 0.82rem;
  }

  .brand-text small {
    font-size: 0.7rem;
  }

  .hero-copy,
  .hero-visual,
  .page-hero-copy,
  .page-hero-visual,
  .section,
  .blog-card,
  .article-shell,
  .contact-card,
  .contact-form,
  .band {
    border-radius: 26px;
  }

  .hero-copy,
  .page-hero-copy,
  .section,
  .article-shell {
    padding: 24px;
  }

  .page-hero {
    padding: 10px;
    border-radius: 26px;
  }

  .hero-reference .hero-copy {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero h1,
  .page-hero h1,
  .article-shell h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    line-height: 1.02;
  }

  .page-hero h1 {
    font-size: clamp(1.95rem, 9.2vw, 2.6rem);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .section h2,
  .article-shell h2 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
  }

  .hero-text,
  .service-copy p,
  .split-copy p,
  .contact-card p,
  .blog-card p,
  .team-card li {
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .hero-actions,
  .page-actions {
    gap: 10px;
    margin: 24px 0 18px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-badge,
  .visual-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 16px;
  }

  .split-image,
  .service-image.large,
  .team-portrait,
  .blog-thumb,
  .contact-visual {
    min-height: 240px;
  }

  .service-image {
    min-height: 180px;
    border-radius: 20px;
  }

  .service-copy {
    padding: 22px;
    border-radius: 24px;
  }

  .service-copy h3 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .stat-card,
  .service-card,
  .team-card,
  .blog-card,
  .article-aside,
  .contact-card,
  .contact-form {
    padding: 20px;
    border-radius: 22px;
  }

  .band {
    padding: 24px;
  }

  .site-footer {
    padding-top: 20px;
  }

  .site-footer span {
    font-size: 0.9rem;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.92rem;
  }
}
