﻿:root {
  --bg: #f5f5f7;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --accent: #c99a42;
  --accent-strong: #e0ac4e;
  --line: #d2d2d7;
  --card-border-gold: rgba(201, 154, 66, 0.62);
  --card-border-gold-strong: rgba(224, 172, 78, 0.9);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --container: 1120px;
}

@keyframes goldSweep {
  0% {
    transform: translateX(-220%) rotate(18deg);
    opacity: 0;
  }

  64% {
    transform: translateX(-220%) rotate(18deg);
    opacity: 0;
  }

  74% {
    opacity: 0.24;
  }

  80% {
    opacity: 0.78;
  }

  88% {
    opacity: 0.16;
  }

  100% {
    transform: translateX(320%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes floatingNeonPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(224, 172, 78, 0.42),
      0 0 14px rgba(224, 172, 78, 0.45),
      0 0 26px rgba(201, 154, 66, 0.28),
      0 10px 22px rgba(0, 0, 0, 0.35);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(224, 172, 78, 0.68),
      0 0 20px rgba(224, 172, 78, 0.72),
      0 0 40px rgba(201, 154, 66, 0.5),
      0 12px 26px rgba(0, 0, 0, 0.42);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

section[id] {
  scroll-margin-top: 96px;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

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

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 10px;
}

.section-heading h2,
.hero h1,
.studio-text h2,
.portfolio-group-title,
.course-content h2,
.why-card h3,
.testimonial-card h3,
.final-cta-content h2,
.contact-grid h2 {
  color: var(--accent);
}

.section-heading p {
  color: var(--text-muted);
  max-width: 720px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  text-align: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-whatsapp-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-small .btn-whatsapp-icon {
  width: 20px;
  height: 20px;
}

.btn-large .btn-whatsapp-icon {
  width: 26px;
  height: 26px;
}

.btn-secondary .btn-whatsapp-icon {
  filter: invert(1);
}

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

.btn:focus-visible,
.menu-toggle:focus-visible,
.main-nav a:focus-visible,
.carousel-btn:focus-visible,
.carousel-dot:focus-visible,
.hero-carousel-btn:focus-visible,
.hero-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #5b4a2d;
  box-shadow: 0 8px 20px rgba(201, 154, 66, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -55%;
  width: 46%;
  height: 320%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  transform: translateX(-220%) rotate(18deg);
  opacity: 0;
  pointer-events: none;
  animation: goldSweep 4.8s ease-in-out infinite;
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(201, 154, 66, 0.45);
}

.btn-secondary {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.82);
}

.btn-secondary:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.btn-small {
  font-size: 0.82rem;
  padding: 0.65rem 0.95rem;
}

.btn-large {
  padding: 1rem 1.6rem;
  font-size: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 245, 247, 0.92);
  border-bottom: 1px solid rgba(29, 29, 31, 0.12);
  backdrop-filter: blur(8px);
}

.site-header.scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 70px;
  width: auto;
  max-width: min(82vw, 420px);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid #3a3a42;
  background: transparent;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  background: #f5f5f7;
  border-bottom: 1px solid #d2d2d7;
  padding: 14px 4%;
  display: none;
}

.main-nav.open {
  display: block;
}

.main-nav ul {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 8px;
  color: var(--text-muted);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  padding-top: 74px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  background: var(--bg-soft);
  border-bottom: 1px solid rgba(29, 29, 31, 0.1);
}

.hero-track {
  position: relative;
  min-height: 62vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.05), rgba(245, 245, 247, 0.26));
  z-index: 1;
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 154, 66, 0.48);
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}

.hero-carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-carousel-btn.prev {
  left: 12px;
}

.hero-carousel-btn.next {
  right: 12px;
}

.hero-carousel-btn.is-hidden {
  display: none;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-carousel-dots.is-hidden {
  display: none;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(110, 110, 115, 0.35);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 24px;
  background: var(--accent);
}

.hero-copy {
  background: linear-gradient(180deg, #f5f5f7, #ececef);
}

.hero-content {
  max-width: 760px;
  text-align: center;
  padding-top: 22px;
  padding-bottom: 26px;
}

.hero h1 {
  font-size: clamp(1.75rem, 6vw, 2.55rem);
  line-height: 1.18;
  margin-bottom: 10px;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.section-studio {
  background: var(--bg-soft);
  padding-top: 0;
}

.section-studio > .container {
  width: 100%;
  max-width: none;
}

.studio-text {
  padding: 0 4vw;
}

.studio-text h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.studio-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.studio-text::after {
  content: "";
  display: table;
  clear: both;
}

.studio-emphasis {
  color: var(--text);
  font-weight: 600;
}

.studio-image {
  float: none;
  width: min(100%, 430px);
  margin: 0 auto 12px;
}

.studio-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.portfolio-group + .portfolio-group {
  margin-top: 34px;
}

.portfolio-group-title {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  margin-bottom: 14px;
  color: var(--accent);
}

.carousel {
  position: relative;
  --carousel-gap: 12px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 154, 66, 0.44);
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-btn.is-hidden {
  display: none;
}

.carousel-dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.carousel-dots.is-hidden {
  display: none;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #b0b0b7;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dot.is-active {
  width: 24px;
  background: var(--accent);
}

.portfolio-item {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid var(--card-border-gold);
  background: transparent;
  padding: 0;
  isolation: isolate;
  box-shadow: none;
  transition: border-color 0.28s ease;
}

.portfolio-item:nth-child(odd) {
  border-radius: 28px;
}

.portfolio-item:nth-child(even) {
  border-radius: 28px;
}

.portfolio-item::after {
  content: none;
}

.portfolio-item:hover,
.portfolio-item:focus-within {
  border-color: var(--card-border-gold-strong);
  box-shadow: none;
}

.portfolio-item img {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(1.04) contrast(1.04);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.08);
}

.portfolio-item-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.portfolio-item-chip {
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 52px);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 29, 31, 0.16);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.portfolio-item-index {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(201, 154, 66, 0.36);
}

.portfolio-item-index::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -60%;
  width: 50%;
  height: 320%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0));
  transform: translateX(-220%) rotate(18deg);
  opacity: 0;
  pointer-events: none;
  animation: goldSweep 5.3s ease-in-out infinite;
  animation-delay: 1.4s;
}

.section-action {
  margin-top: 24px;
}

.section-before-after {
  background: var(--bg-soft);
}

.compare-card {
  border: 4px solid var(--card-border-gold);
  background: var(--surface);
  border-radius: 28px;
  padding: 14px;
}

.compare-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.compare-images img {
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.compare-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section-course {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 10%, rgba(110, 110, 115, 0.12), transparent 38%), var(--bg);
}

.course-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.course-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.57;
}

.section-course::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(245, 245, 247, 0.82), rgba(245, 245, 247, 0.7)),
    radial-gradient(circle at 16% 20%, rgba(110, 110, 115, 0.1), transparent 42%);
}

.course-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.course-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 12px;
}

.course-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.benefits-list {
  margin: 0 0 22px 18px;
}

.benefits-list li {
  margin-bottom: 8px;
  color: var(--text);
}

.why-grid {
  display: grid;
  gap: 14px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--card-border-gold);
  border-radius: var(--radius);
  padding: 18px;
}

.feature-icon {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #101013;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.feature-icon::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -58%;
  width: 48%;
  height: 320%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0));
  transform: translateX(-220%) rotate(18deg);
  opacity: 0;
  pointer-events: none;
  animation: goldSweep 5.1s ease-in-out infinite;
  animation-delay: 0.9s;
}

.why-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.why-card p {
  color: var(--text-muted);
}

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

.testimonials-grid {
  display: grid;
  gap: 14px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--card-border-gold);
  border-radius: var(--radius);
  padding: 18px;
}

.testimonial-card p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.testimonial-card h3 {
  font-size: 0.98rem;
}

.section-final-cta {
  position: relative;
  background: linear-gradient(120deg, rgba(245, 245, 247, 0.9), rgba(236, 236, 239, 0.84)), url("../img/studio-hero.jpg") center / cover no-repeat;
}

.final-cta-content {
  text-align: center;
  max-width: 700px;
}

.final-cta-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 10px;
}

.final-cta-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.section-contact {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  gap: 24px;
}

.contact-grid h2 {
  margin-bottom: 10px;
}

.contact-grid p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

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

.contact-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.social-links {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 24px 0;
}

.footer-content {
  display: grid;
  gap: 6px;
  text-align: center;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  overflow: hidden;
  isolation: isolate;
  right: 14px;
  bottom: 14px;
  z-index: 999;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #5b4a2d;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(224, 172, 78, 0.44);
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  transform: translateZ(0);
  box-shadow:
    0 0 0 1px rgba(224, 172, 78, 0.42),
    0 0 14px rgba(224, 172, 78, 0.45),
    0 0 26px rgba(201, 154, 66, 0.28),
    0 10px 22px rgba(0, 0, 0, 0.35);
  animation: floatingNeonPulse 2.6s ease-in-out infinite;
}

.floating-whatsapp .btn-whatsapp-icon,
.floating-whatsapp-label {
  position: relative;
  z-index: 2;
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  top: -160%;
  left: -58%;
  width: 44%;
  height: 330%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  transform: translateX(-220%) rotate(18deg);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: goldSweep 4.7s ease-in-out infinite;
  animation-delay: 2s;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) translateZ(0);
  box-shadow:
    0 0 0 1px rgba(224, 172, 78, 0.72),
    0 0 24px rgba(224, 172, 78, 0.8),
    0 0 46px rgba(201, 154, 66, 0.56),
    0 14px 30px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after,
  .feature-icon::after,
  .portfolio-item-index::after,
  .floating-whatsapp::after {
    animation: none;
  }

  .floating-whatsapp {
    animation: none;
  }

  .course-bg-video {
    display: none;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 88px 0;
  }

  .hero-visual,
  .hero-track {
    min-height: 74vh;
  }

  .hero-slide img {
    object-position: center 34%;
  }

  .hero-content {
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .section-studio > .container {
    width: min(var(--container), 92%);
    max-width: var(--container);
  }

  .section-studio {
    padding-top: 0;
  }

  .studio-text {
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .main-nav ul {
    display: flex;
    margin: 0;
    gap: 8px;
  }

  .main-nav a {
    padding: 8px 10px;
  }

  .studio-image {
    float: left;
    width: auto;
    margin-left: 0;
    margin-right: 18px;
    margin-bottom: 10px;
  }

  .studio-image img {
    width: auto;
    max-width: none;
    height: clamp(338px, 52vh, 572px);
    object-fit: cover;
  }

  .carousel {
    --carousel-gap: 14px;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }

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

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

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

  .floating-whatsapp {
    right: 20px;
    bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .hero-visual,
  .hero-track {
    min-height: 78vh;
  }

  .hero-slide img {
    object-position: center 32%;
  }

  .section-studio {
    padding-bottom: 56px;
  }

  .studio-image {
    margin-left: 0;
  }

  .studio-image img {
    height: clamp(380px, 50vh, 600px);
  }

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