:root {
  --ink: #171412;
  --ink-soft: #4b423d;
  --paper: #fffaf5;
  --paper-strong: #ffffff;
  --nude: #ead9cd;
  --rose: #e8c8c3;
  --champagne: #c8a96a;
  --champagne-soft: rgba(200, 169, 106, 0.28);
  --line: rgba(23, 20, 18, 0.14);
  --shadow: 0 22px 70px rgba(23, 20, 18, 0.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--paper-strong);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 245, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 35px rgba(23, 20, 18, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 32px);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a,
.header-cta {
  opacity: 0.88;
  transition: opacity 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.site-header.is-scrolled .header-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 76px) 70px;
  overflow: hidden;
  color: var(--paper-strong);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.hero-media img {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 20, 18, 0.7), rgba(23, 20, 18, 0.16) 55%, rgba(23, 20, 18, 0.38)),
    linear-gradient(0deg, rgba(23, 20, 18, 0.76), rgba(23, 20, 18, 0.04) 48%);
}

.hero-content {
  max-width: 790px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--champagne);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  line-height: 1.02;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(4.4rem, 12vw, 10.5rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-subtitle {
  margin-bottom: 18px;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(255, 250, 245, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions,
.contact-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 12px 34px rgba(23, 20, 18, 0.16);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 0 18px 44px rgba(23, 20, 18, 0.22);
  transform: translateY(-3px);
}

.button.primary {
  background: var(--paper-strong);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 250, 245, 0.72);
  color: var(--paper-strong);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 250, 245, 0.12);
  border-color: var(--paper-strong);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 76px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.rich-copy {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(42px, 6vw, 76px);
  background: var(--line);
  border: 1px solid var(--line);
}

.profile-strip span {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.7rem);
  font-weight: 700;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-strip span:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-4px);
}

.rich-copy p:last-child,
.contact p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.services {
  background: var(--paper-strong);
}

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

.service-grid article {
  position: relative;
  min-height: 210px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(23, 20, 18, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.service-grid article:hover {
  background: #fffdfa;
  border-color: var(--champagne-soft);
  box-shadow: 0 28px 70px rgba(23, 20, 18, 0.14);
  transform: translateY(-8px);
}

.service-grid article::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 3px;
  background: var(--champagne);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 200ms ease, transform 200ms ease;
}

.service-grid article:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-number {
  display: block;
  margin-bottom: 24px;
  color: var(--champagne);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.portfolio {
  background: #1d1916;
  color: var(--paper);
}

.portfolio-heading {
  padding-bottom: 32px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
  padding: 0 clamp(16px, 3vw, 42px) clamp(18px, 3vw, 46px);
}

.gallery-item {
  position: relative;
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(200, 169, 106, 0.14), transparent 34%),
    linear-gradient(160deg, #302924, #171412);
  border: 1px solid rgba(255, 250, 245, 0.13);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(8px, 1vw, 14px);
  transition: transform 500ms ease, filter 220ms ease;
}

.gallery-item:hover {
  border-color: rgba(200, 169, 106, 0.58);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  transform: translateY(-8px);
}

.gallery-item:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.015);
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 10px 12px;
  background: rgba(23, 20, 18, 0.64);
  color: rgba(255, 250, 245, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  backdrop-filter: blur(14px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.proof {
  background: var(--nude);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 20, 18, 0.18);
  border: 1px solid rgba(23, 20, 18, 0.18);
}

.proof-list span {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f7ece5;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: 700;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.proof-list span:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.contact {
  padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 76px);
  background:
    linear-gradient(115deg, rgba(23, 20, 18, 0.94), rgba(23, 20, 18, 0.78)),
    url("assets/ana-melnik-portfolio-2.jpg") center 32% / cover;
  color: var(--paper);
}

.contact-inner {
  max-width: 980px;
  flex-direction: column;
  align-items: flex-start;
}

.contact p {
  max-width: 660px;
  color: rgba(255, 250, 245, 0.78);
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.whatsapp-card {
  position: relative;
  display: grid;
  gap: 8px;
  width: min(100%, 430px);
  padding: 26px;
  overflow: hidden;
  background: rgba(255, 250, 245, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 250, 245, 0.58);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.whatsapp-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--champagne);
}

.whatsapp-card::after {
  content: "Abrir chat";
  position: absolute;
  right: 22px;
  top: 22px;
  color: var(--champagne);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.whatsapp-card:hover {
  background: var(--paper-strong);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.36);
  transform: translateY(-6px);
}

.whatsapp-card__label {
  color: var(--champagne);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.whatsapp-card__title {
  max-width: 270px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.02;
}

.whatsapp-card__text {
  max-width: 310px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 76px);
  background: #0f0d0c;
  color: rgba(255, 250, 245, 0.76);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.axhum-signature {
  font-weight: 700;
  color: var(--paper);
}

.axhum-signature sup {
  position: relative;
  top: -0.1em;
  margin-left: 1px;
  font-size: 0.52em;
  line-height: 0;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .split,
  .service-grid,
  .profile-strip,
  .proof-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 18px 18px;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .hero {
    min-height: 92vh;
    padding: 118px 18px 46px;
  }

  .hero-media video,
  .hero-media img {
    object-position: 50% 28%;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6.4rem);
  }

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

  .gallery {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .hero-media video {
    display: none;
  }

  .hero-media img {
    display: block;
  }

  .gallery-item img,
  .button,
  .whatsapp-card,
  .site-header {
    transition: none;
  }
}
