:root {
  --ywc-bg: #0f1a2b;
  --ywc-bg-dark: #081121;
  --ywc-card: #ffffff;
  --ywc-muted: #647089;
  --ywc-text: #101828;
  --ywc-light: #f5f7fb;
  --ywc-cream: #f5f0e8;
  --ywc-red: #ef1713;
  --ywc-red-dark: #c70f0b;
  --ywc-blue: #23304b;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ywc-text);
  background: #fff;
}

.section { padding: 92px 0; }

.ywc-header {
  background: rgba(15, 26, 43, .96) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(0,0,0,.16);
  min-height: 78px;
}

.ywc-header .logo img.logo-header {
  max-height: 48px;
  width: auto;
}

.ywc-header .navmenu a {
  color: rgba(255,255,255,.78) !important;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .01em;
  padding: 10px 15px;
}

.ywc-header .navmenu a:hover,
.ywc-header .navmenu .active,
.ywc-header .navmenu li:hover>a {
  color: #fff !important;
}

.ywc-header .navmenu a:before { background: var(--ywc-red) !important; }

.ywc-header .navmenu .contact-pill {
  background: var(--ywc-red);
  color: #fff !important;
  border-radius: 999px;
  padding: 13px 20px;
  margin-left: 8px;
}

.ywc-header .navmenu .contact-pill:before { display: none; }
.ywc-header .mobile-nav-toggle { color: #fff; }

#hero.ywc-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 145px 0 95px;
  background:
    radial-gradient(circle at 18% 26%, rgba(239, 23, 19, .22), transparent 27%),
    radial-gradient(circle at 82% 18%, rgba(92, 111, 185, .22), transparent 28%),
    linear-gradient(135deg, #081121 0%, #111d30 48%, #1b2840 100%) !important;
}

#hero.ywc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .55;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,23,19,.28), transparent 62%);
  filter: blur(10px);
  animation: floatGlow 6s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); opacity: .75; }
  to { transform: translate(-80px, 50px) scale(1.1); opacity: .95; }
}

.hero-eyebrow {
  display: inline-block;
  color: #ff5a55;
  font-size: 14px;
  letter-spacing: .16em;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 18px;
}

#hero.ywc-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -.055em;
  max-width: 820px;
  margin-bottom: 24px;
}

.hero-copy {
  color: rgba(255,255,255,.82);
  font-size: 1.14rem;
  line-height: 1.8;
  max-width: 670px;
  margin-bottom: 24px;
}

.hero-word-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-word-strip span {
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .9rem;
  font-weight: 700;
}

.btn-hero, .btn-hero-secondary {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .98rem;
}
.btn-hero {
  background: var(--ywc-red);
  border-color: var(--ywc-red);
  box-shadow: 0 18px 32px rgba(239, 23, 19, .22);
}
.btn-hero:hover { background: var(--ywc-red-dark); border-color: var(--ywc-red-dark); }
.btn-hero-secondary {
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
}
.btn-hero-secondary:hover,
.dark-outline:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.55);
}

.video-hero-card {
  position: relative;
  z-index: 1;
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.055)),
    radial-gradient(circle at 20% 20%, rgba(239,23,19,.28), transparent 28%),
    radial-gradient(circle at 80% 75%, rgba(86,105,180,.28), transparent 28%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 32px 90px rgba(0,0,0,.30);
  padding: 26px;
  isolation: isolate;
}

.video-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url('../img/gallery/gallery-hero.jpg') center/cover no-repeat;
  opacity: .34;
  transform: scale(1.05);
  animation: slowZoom 8s ease-in-out infinite alternate;
  z-index: -2;
}
.video-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,17,33,.60), rgba(15,26,43,.28));
  z-index: -1;
}
@keyframes slowZoom {
  from { transform: scale(1.05) translateX(0); }
  to { transform: scale(1.14) translateX(-12px); }
}

.video-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.78);
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.video-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
}
.video-topbar span:first-child { background: var(--ywc-red); }
.video-topbar strong { margin-left: 9px; }

.hero-logo-badge {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 235px;
  height: 92px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 0 rgba(255,255,255,.18);
  animation: pulseLogo 1.7s infinite;
  z-index: 3;
}
.hero-logo-badge img {
  width: 185px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}
@keyframes pulseLogo {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.18); }
  70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}


.motion-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.motion-tile {
  position: absolute;
  width: 160px;
  min-height: 90px;
  border-radius: 20px;
  padding: 16px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  backdrop-filter: blur(10px);
  z-index: 1;
}
.motion-tile small { display: block; font-size: 1.15rem; font-weight: 900; margin-bottom: 7px; color: #fff; }
.motion-tile strong { font-size: .86rem; line-height: 1.32; }
.tile-one { left: 28px; top: 72px; animation: tileMoveOne 1.7s ease-in-out infinite alternate; }
.tile-two { right: 28px; top: 72px; animation: tileMoveTwo 1.9s ease-in-out infinite alternate; }
.tile-three { left: 50%; bottom: 38px; transform: translateX(-50%); animation: tileMoveThree 2.1s ease-in-out infinite alternate; }
@keyframes tileMoveOne { to { transform: translate(36px, -14px); } }
@keyframes tileMoveTwo { to { transform: translate(-36px, -14px); } }
@keyframes tileMoveThree { to { transform: translate(-50%, -34px); } }

.video-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  line-height: 1.6;
}

.section-intro.left-align h2,
.section-intro.left-align .section-kicker { text-align: left; }
.section-kicker {
  display: inline-block;
  color: var(--ywc-red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .8rem;
  margin-bottom: 10px;
}

.ywc-about p { line-height: 1.85; color: #4f5d75; }
.about-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.about-badges span {
  background: #f5f7fb;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: #22304d;
}
.about-badges i { color: var(--ywc-red); margin-right: 6px; }

.about-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mini-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(8,15,40,.06);
}
.mini-card.full-width { grid-column: 1 / -1; }
.mini-card i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: #eef3fd; color: var(--ywc-blue); font-size: 1.5rem; margin-bottom: 16px;
}
.mini-card h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 10px; }
.mini-card p { margin-bottom: 0; line-height: 1.7; color: #5c6780; }
.accent-card { background: linear-gradient(135deg, #0b1730 0%, #15274d 100%); border: none; color: #fff; }
.accent-card h3, .accent-card p { color: #fff; }

.light-background { background: linear-gradient(180deg, #f8faff 0%, #f2f5fb 100%) !important; }
.section-title h2 {
  color: #0d1731;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -.035em;
}
.section-title p { max-width: 740px; margin-left: auto; margin-right: auto; color: #657189; }

.service-card, .value-card, .contact-card {
  height: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid #e7ebf3;
  box-shadow: 0 18px 38px rgba(8,15,40,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover, .value-card:hover, .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(8,15,40,.10);
}
.service-card i, .value-card i, .contact-card i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 18px;
  background: rgba(239,23,19,.08); color: var(--ywc-red); font-size: 1.6rem; margin-bottom: 18px;
}
.service-card h3, .value-card h3, .contact-card h4 { font-size: 1.18rem; font-weight: 900; margin-bottom: 12px; color: #101a34; }
.service-card p, .value-card p, .contact-card p { color: #5c6780; line-height: 1.75; margin-bottom: 0; }

.gallery-section { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(8,15,40,.12);
  background: #101828;
}
.gallery-card.large-card { grid-column: span 2; grid-row: span 2; }
.gallery-card.tall-card { grid-row: span 2; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .45s ease;
  opacity: .86;
}
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,17,33,.88) 100%);
}
.gallery-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}
.gallery-card span {
  color: #ff625d;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}
.gallery-card h3 { color: #fff; font-size: 1.2rem; font-weight: 900; margin: 8px 0 0; }
.large-card h3 { font-size: 1.75rem; }

.clients-section { background: #fff; }
.clients-section .section-title { margin-bottom: 34px; }
.logo-slider-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
}
.logo-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: ywcScroll 68s linear infinite;
  padding: 12px 0;
}
.logo-slider-wrap:hover .logo-track { animation-play-state: paused; }
.logo-item {
  width: 240px;
  min-width: 240px;
  height: 120px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #eaedf4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(8,15,40,.05);
}
.logo-item img { max-width: 100%; max-height: 70px; object-fit: contain; }
@keyframes ywcScroll { from { transform: translateX(0); } to { transform: translateX(calc(-262px * var(--logo-count))); } }

.ywc-contact { background: linear-gradient(180deg, #f7f4ef 0%, #efe9df 100%); color: #14233f; }
.ywc-contact .section-title h2 { color: #14233f; }
.ywc-contact .section-title p { color: #5e6780; }
.request-info-panel,
.request-form-panel {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(20,35,63,.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 22px 50px rgba(17,22,37,.08);
  height: 100%;
}
.request-info-panel h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #15233f;
  margin-bottom: 18px;
}
.request-info-panel p {
  color: #4f5d75;
  line-height: 1.85;
  margin-bottom: 26px;
}
.request-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid rgba(20,35,63,.08);
}
.request-info-item:first-of-type { margin-top: 6px; }
.request-info-item i {
  color: var(--ywc-red);
  font-size: 1.35rem;
  margin-top: 3px;
}
.request-info-item strong {
  display: block;
  color: var(--ywc-red);
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.request-info-item span {
  color: #304056;
  line-height: 1.7;
  text-decoration: none;
}
.request-info-item span a {
  color: var(--ywc-red);
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
}
.request-form .form-control,
.request-form .form-select {
  border: 1px solid rgba(20,35,63,.14);
  border-radius: 0;
  padding: 16px 18px;
  min-height: 54px;
  box-shadow: none;
  color: #15233f;
  background: rgba(255,255,255,.95);
}
.request-form textarea.form-control {
  min-height: 250px;
  resize: vertical;
}
.request-form .form-control::placeholder,
.request-form .form-select {
  color: #9aa3b1;
}
.request-form .form-control:focus,
.request-form .form-select:focus {
  border-color: var(--ywc-red);
  box-shadow: 0 0 0 0.15rem rgba(227,25,20,.14);
}
.request-submit-btn {
  margin-top: 8px;
  padding: 14px 34px;
  min-width: 220px;
  border-radius: 8px;
  border: none;
  background: var(--ywc-red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.request-submit-btn:hover { background: var(--ywc-red-dark); color: #fff; }
.request-form-panel {
  position: relative;
  overflow: hidden;
}
.request-form-panel::before { content: none; }
.ywc-footer { background: #081121; color: rgba(255,255,255,.75); padding: 28px 0 36px; }
.footer-logo { max-height: 48px; margin-bottom: 12px; }
.scroll-top { background-color: var(--ywc-red); }

@media (prefers-reduced-motion: reduce) {
  .hero-gradient, .video-hero-card::before, .hero-logo-badge, .tile-one, .tile-two, .tile-three, .logo-track { animation: none !important; }
}

@media (max-width: 1199px) {
  .ywc-header .navmenu a { font-size: 13px; padding: 10px 11px; }
}

@media (max-width: 991px) {
  #hero.ywc-hero { padding-top: 125px; min-height: auto; }
  .video-hero-card { min-height: 390px; }
  .motion-tile { width: 150px; min-height: 96px; }
  .about-card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-card.large-card { grid-column: span 2; grid-row: span 1; }
  .gallery-card.tall-card { grid-row: span 1; }
  .logo-item { width: 210px; min-width: 210px; }
  @keyframes ywcScroll { from { transform: translateX(0); } to { transform: translateX(calc(-232px * 12)); } }
}

@media (max-width: 767px) {
  .request-info-panel, .request-form-panel { padding: 24px; }
  .section { padding: 72px 0; }
  .ywc-header .logo img.logo-header { max-height: 42px; }
  #hero.ywc-hero h1 { font-size: 2.35rem; }
  .hero-copy { font-size: 1rem; }
  .btn-hero, .btn-hero-secondary { width: 100%; text-align: center; justify-content: center; }
  .video-hero-card { min-height: 360px; padding: 20px; }
  .hero-logo-badge { width: 180px; height: 76px; border-radius: 22px; }
  .hero-logo-badge img { width: 142px; height: auto; }
  .motion-tile { width: 138px; min-height: 94px; padding: 15px; }
  .motion-tile small { font-size: 1.05rem; }
  .tile-three { left: 52%; }
  .about-badges span { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-card.large-card { grid-column: span 1; }
  .gallery-card.tall-card { grid-row: span 1; }
  .logo-item { width: 180px; min-width: 180px; height: 100px; padding: 16px; }
  .logo-item img { max-height: 58px; }
  @keyframes ywcScroll { from { transform: translateX(0); } to { transform: translateX(calc(-202px * 12)); } }
}


/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(37, 211, 102, .28);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.whatsapp-float i {
  font-size: 22px;
  line-height: 1;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #1fb85a;
  box-shadow: 0 22px 44px rgba(37, 211, 102, .38);
}

@media (max-width: 576px) {
  .whatsapp-float {
    right: 18px;
    bottom: 84px;
    width: 58px;
    height: 58px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none;
  }
}


/* v8 contact refinements */
.request-info-panel {
  background: linear-gradient(135deg, #081121 0%, #101d36 100%) !important;
  border-color: rgba(255,255,255,.10) !important;
  color: #fff;
}
.request-info-panel h3 { color: #fff !important; }
.request-info-panel p { color: rgba(255,255,255,.78) !important; }
.request-info-item { border-top-color: rgba(255,255,255,.10) !important; }
.request-info-item i,
.request-info-item strong { color: var(--ywc-red) !important; }
.request-info-item span,
.request-info-item span a,
.request-info-item .contact-links,
.request-info-item .contact-links a {
  color: #ffffff !important;
  font-weight: 600;
  line-height: 1.8;
  text-decoration: none;
}
.request-info-item span a:hover,
.request-info-item .contact-links a:hover { color: #ff5a55 !important; }
.request-form .form-control:focus,
.request-form .form-select:focus {
  border-color: var(--ywc-red) !important;
  box-shadow: 0 0 0 0.15rem rgba(227,25,20,.14) !important;
}
.request-submit-btn {
  background: var(--ywc-red) !important;
  color: #fff !important;
}
.request-submit-btn:hover { background: var(--ywc-red-dark) !important; color: #fff !important; }
.request-form-panel::before { display: none !important; content: none !important; }

@media (max-width: 991px) {
  .tile-one { left: 22px; top: 74px; }
  .tile-two { right: 22px; top: 74px; }
  .tile-three { bottom: 34px; }
  @keyframes tileMoveOne { to { transform: translate(24px, -12px); } }
  @keyframes tileMoveTwo { to { transform: translate(-24px, -12px); } }
  @keyframes tileMoveThree { to { transform: translate(-50%, -24px); } }
}

@media (max-width: 767px) {
  .tile-one { left: 14px; top: 80px; }
  .tile-two { right: 14px; top: 80px; }
  .tile-three { bottom: 28px; }
  .motion-tile { width: 128px !important; min-height: 84px !important; padding: 13px !important; }
  @keyframes tileMoveOne { to { transform: translate(14px, -8px); } }
  @keyframes tileMoveTwo { to { transform: translate(-14px, -8px); } }
  @keyframes tileMoveThree { to { transform: translate(-50%, -16px); } }
}


/* SitePilot footer credit link */
.sitepilot-credit {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  position: relative;
  text-shadow: 0 0 10px rgba(227, 25, 20, .55), 0 0 18px rgba(255, 255, 255, .18);
  transition: color .25s ease, text-shadow .25s ease, transform .25s ease;
}

.sitepilot-credit:hover {
  color: #ff4b47;
  text-shadow: 0 0 12px rgba(227, 25, 20, .9), 0 0 26px rgba(227, 25, 20, .45);
}

.sitepilot-credit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e31914, transparent);
  opacity: .85;
  transform: scaleX(.7);
  transition: transform .25s ease, opacity .25s ease;
}

.sitepilot-credit:hover::after {
  transform: scaleX(1);
  opacity: 1;
}
