/* ===========================
   VV AGENCY – BASE STYLES
   =========================== */

:root {
  --vv-bg: #ffffff;
  --vv-text: #000000;
  --vv-text-soft: rgba(0, 0, 0, 0.7);
  --vv-text-muted: rgba(0, 0, 0, 0.6);
  --vv-border: rgba(0, 0, 0, 0.12);
  --vv-accent: #000000;
  --vv-accent-soft: rgba(0, 0, 0, 0.06);
  --vv-radius-sm: 4px;
  --vv-radius-md: 8px;
  --vv-radius-lg: 16px;
  --vv-transition-fast: 150ms ease-out;
  --vv-transition-normal: 220ms ease-out;
}

/* BODY / GLOBAL */

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter",
    "SF Pro Text", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--vv-text);
  background-color: var(--vv-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   LAYOUT UTILITIES
   =========================== */

.container-main {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.section-base {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .section-base {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .section-base {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Flex helpers */

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

/* ===========================
   HERO SECTION
   =========================== */

.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  /* Коли буде текстура мармуру – підставиш тут */
  /* background-image: url('your-marble-texture.jpg'); */
  background-size: cover;
  background-position: center;
}

.hero-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* LANG SWITCH */

.lang-switch {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 20px;
}

.lang-switch a {
  text-decoration: none;
  color: inherit;
  opacity: 0.65;
  transition: opacity var(--vv-transition-fast);
}

.lang-switch a.is-active {
  opacity: 1;
}

.lang-switch a:hover {
  opacity: 1;
}

/* LOGO */

.hero-logo {
  max-width: 220px;
  margin-bottom: 32px;
}

/* HERO TITLE / SUBTITLE */

.hero-title {
  font-family: "Playfair Display", "Cormorant Garamond", "Times New Roman",
    serif;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
  color: var(--vv-text);
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 34px;
  }
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--vv-text-soft);
}

/* HERO BUTTONS */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.btn-primary,
.btn-secondary {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--vv-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--vv-transition-fast),
    background-color var(--vv-transition-fast),
    color var(--vv-transition-fast),
    border-color var(--vv-transition-fast),
    box-shadow var(--vv-transition-fast);
}

.btn-primary {
  background-color: var(--vv-accent);
  color: #ffffff;
  border-color: var(--vv-accent);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background-color: #111111;
  border-color: #111111;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  background-color: transparent;
  color: var(--vv-text);
  border-color: var(--vv-border);
}

.btn-secondary:hover {
  background-color: var(--vv-accent-soft);
  border-color: rgba(0, 0, 0, 0.2);
}

/* HERO MICROTEXT */

.hero-microtext {
  margin-top: 18px;
  font-size: 13px;
  color: var(--vv-text-muted);
}

/* HERO SOCIAL ICONS */

.hero-socials {
  display: flex;
  gap: 8px; /* відступи між кружечками */
}

/* сам кружечок */
.hero-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 36px;   /* розмір кружечка — можеш змінити */
  height: 36px;
  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.25); /* тонка обводка в стилі сайту */
  background: transparent;

  text-decoration: none;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

/* самі svg-іконки всередині */
.hero-social-link img {
  width: 36px;
  height: 36px;
  display: block;
}

/* плавний hover без “квадратів” */
.hero-social-link:hover {
  border-color: rgba(255, 255, 255, 0.7);       /* обводка стає трохи яскравішою */
  background-color: rgba(255, 255, 255, 0.06);  /* легкий, майже непомітний фон */
  transform: translateY(-1px);                  /* легкий “ліфт” для живості */
}


/* ===========================
   THE DUO SECTION
   =========================== */

.section-duo {
  background-color: #ffffff;
}

.duo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .duo-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.duo-photo {
  border-radius: var(--vv-radius-lg);
  overflow: hidden;
}

.duo-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.duo-text-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vv-text-muted);
  margin-bottom: 10px;
}

.duo-title {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.duo-body {
  font-size: 15px;
  color: var(--vv-text-soft);
  max-width: 520px;
}

/* ===========================
   SHOWREEL SECTION
   =========================== */

.section-showreel {
  background-color: #ffffff;
}

.showreel-header {
  text-align: center;
  margin-bottom: 40px;
}

.showreel-title {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: 34px;
  margin: 0 0 8px 0;
}

.showreel-subtitle {
  font-size: 15px;
  color: var(--vv-text-soft);
}

.showreel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 991px) {
  .showreel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .showreel-grid {
    grid-template-columns: 1fr;
  }
}

.showreel-card {
  position: relative;
  border-radius: var(--vv-radius-md);
  overflow: hidden;
  background-color: #000;
  cursor: pointer;
}

.showreel-card video,
.showreel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showreel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.05)
  );
  opacity: 1;
  transition: opacity var(--vv-transition-normal);
}

.showreel-card:hover .showreel-card-overlay {
  opacity: 0.25;
}

.showreel-card-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===========================
   PRICING SECTION
   =========================== */

.section-pricing {
  background-color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  border-radius: var(--vv-radius-md);
  border: 1px solid var(--vv-border);
  padding: 22px 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-name {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-price {
  font-size: 18px;
  font-weight: 600;
}

.pricing-desc {
  font-size: 14px;
  color: var(--vv-text-soft);
}

.pricing-list {
  margin: 10px 0 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--vv-text-soft);
}

/* ===========================
   TRUSTED BY SECTION
   =========================== */

.section-trusted {
  background-color: #ffffff;
  text-align: center;
}

.trusted-title {
  font-size: 24px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vv-text-muted);
  margin-bottom: 28px;
}

.trusted-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
}

.trusted-name {
    font-weight: 700;
    font-size: 25px;
    color: #535353;
    line-height: 120%;
}



/* ===========================
   PROCESS SECTION
   =========================== */

.section-process {
  background-color: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  border-radius: var(--vv-radius-md);
  border: 1px solid var(--vv-border);
  padding: 18px 16px;
  background-color: #ffffff;
}

.process-step-number {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vv-text-muted);
  margin-bottom: 6px;
}

.process-step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.process-step-body {
  font-size: 14px;
  color: var(--vv-text-soft);
}

/* ===========================
   CONTACT / FOOTER
   =========================== */

.section-contact {
  background-color: #ffffff;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-text {
  font-size: 15px;
  color: var(--vv-text-soft);
  margin-bottom: 24px;
}

.footer {
  border-top: 1px solid var(--vv-border);
  padding: 24px 0 30px 0;
  font-size: 13px;
  color: var(--vv-text-muted);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  gap: 16px;
}

/* ===========================
   VIDEO MODAL (SHOWREEL)
   =========================== */

.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: min(960px, 100% - 40px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--vv-radius-md);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-inner {
  width: 100%;
  height: 100%;
}

.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
/* ===== Success Modal (contact form) ===== */

.success-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  pointer-events: none;
}

.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.success-modal-dialog {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 20px;
  max-width: 420px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.success-modal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.success-modal-text {
  font-size: 14px;
  margin-bottom: 20px;
  color: #444;
}

.success-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.success-modal-actions .btn-primary,
.success-modal-actions .btn-secondary {
  width: 100%;
  justify-content: center;
}

.success-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

/* Open state */
.success-modal.is-open {
  pointer-events: auto;
}

.success-modal.is-open .success-modal-backdrop {
  opacity: 1;
}

.success-modal.is-open .success-modal-dialog {
  opacity: 1;
  transform: translateY(0);
}
