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

:root {
  --bg: #080808;
  --bg-card: #121212;
  --bg-elevated: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --border: #262626;
  --yellow: #f5c518;
  --yellow-hover: #ffda44;
  --yellow-soft: rgba(245, 197, 24, 0.15);
  --whatsapp: #25d366;
  --radius: 12px;
  --max-width: 680px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(
      ellipse 100% 70% at 50% -15%,
      rgba(245, 197, 24, 0.07),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 100% 50%,
      rgba(245, 197, 24, 0.03),
      transparent 50%
    ),
    radial-gradient(
      ellipse 50% 40% at 0% 100%,
      rgba(255, 255, 255, 0.025),
      transparent 50%
    );
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.55) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='0.6' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat, repeat;
  background-size: 100% 100%, 24px 24px;
}

.page {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 6rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease var(--delay, 0s),
    transform 0.7s ease var(--delay, 0s);
  will-change: opacity, transform;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.accent {
  color: var(--yellow);
  font-weight: 500;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 1rem 0 3rem;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 197, 24, 0.35);
  box-shadow: 0 0 24px rgba(245, 197, 24, 0.08);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.hero h1 .accent {
  color: var(--yellow);
}

.hero .tagline {
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero .bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  color: var(--yellow);
  border-color: rgba(245, 197, 24, 0.5);
  background: var(--yellow-soft);
}

/* ── Sections ── */
section {
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.section-label span {
  color: var(--yellow);
}

/* ── Story ── */
.story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

.story-photo {
  margin: 0;
}

.story-photo img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.story-photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

.story-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.story-content p:last-child {
  margin-bottom: 0;
}

.story strong {
  color: var(--yellow);
  font-weight: 500;
}

@media (min-width: 560px) {
  .story-layout {
    grid-template-columns: minmax(200px, 240px) 1fr;
    gap: 1.75rem;
    align-items: center;
  }

  .story-photo img {
    max-width: none;
    margin: 0;
  }

  .story-photo figcaption {
    text-align: left;
  }
}

/* ── Gallery ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 540px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}

/* ── Testimonials ── */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.testimonial-meta {
  flex: 1;
  min-width: 0;
}

.testimonial-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.testimonial .stars {
  color: var(--yellow);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.testimonial-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.testimonial-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
  flex-shrink: 0;
}

.testimonial-brand span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial blockquote {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0;
}

.testimonial cite {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--text);
  font-weight: 600;
}

/* ── Portfolio ── */
.portfolio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 0.9rem 1rem;
}

.video-info h3 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
  color: var(--text);
  transition: color 0.2s ease;
}

.video-card:hover .video-info h3 {
  color: var(--yellow);
}

.video-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Contact bar ── */
.contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, var(--bg) 70%, transparent);
  z-index: 100;
}

.contact-bar .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.65rem;
}

.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.95rem 1rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  letter-spacing: 0.01em;
}

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

.btn-contact:active {
  transform: translateY(0);
}

.btn-contact svg {
  flex-shrink: 0;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

.btn-instagram {
  background: var(--yellow);
  color: #0a0a0a;
  border: none;
  font-weight: 600;
}

.btn-instagram:hover {
  background: var(--yellow-hover);
}

.btn-instagram svg {
  color: #0a0a0a;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

footer .accent {
  color: var(--yellow);
  font-weight: 500;
}

@media (min-width: 480px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}
