/*
 * Vibrant visual layer inspired by the original SONYA TEC concept.
 * It preserves the replica's content and structure while restoring depth,
 * warmth, contrast, curved portrait framing, and restrained motion.
 */

.vibrant-theme {
  --v-ink: #2a1720;
  --v-muted: #765f69;
  --v-paper: #fffaf4;
  --v-cream: #f7f0e7;
  --v-rose: #ead4d4;
  --v-rose-soft: #f4e6e2;
  --v-wine: #4b1730;
  --v-wine-deep: #2d0d1d;
  --v-plum: #6e294a;
  --v-gold: #c9a46b;
  --v-line: rgba(75, 23, 48, 0.15);
  --v-shadow: 0 28px 75px rgba(45, 13, 29, 0.14);
  color: var(--v-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(234, 212, 212, 0.28), transparent 24rem),
    var(--v-paper);
}

.vibrant-theme ::selection {
  color: var(--v-wine-deep);
  background: var(--v-rose);
}

/* Header */
.vibrant-theme .site-header {
  position: sticky;
  top: 0;
  border-bottom-color: rgba(75, 23, 48, 0.1);
  background: rgba(255, 250, 244, 0.91);
  box-shadow: 0 10px 35px rgba(45, 13, 29, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.vibrant-theme .site-name {
  color: var(--v-wine-deep);
}

.vibrant-theme .site-name::after {
  content: "✦";
  display: inline-block;
  margin-left: 11px;
  color: var(--v-gold);
  font-family: Georgia, serif;
  font-size: 0.48em;
  vertical-align: middle;
}

.vibrant-theme .site-nav a {
  color: var(--v-wine-deep);
}

.vibrant-theme .site-nav a::after {
  height: 2px;
  background: linear-gradient(90deg, var(--v-gold), var(--v-wine));
}

.vibrant-theme .menu-button span {
  background: var(--v-wine);
}

/* Shared buttons */
.vibrant-theme .primary-button,
.vibrant-theme .outline-button,
.vibrant-theme .whatsapp-button {
  border-radius: 999px;
  border-color: var(--v-wine);
  box-shadow: 0 13px 32px rgba(45, 13, 29, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.vibrant-theme .primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--v-wine), var(--v-plum));
}

.vibrant-theme .primary-button:hover,
.vibrant-theme .primary-button:focus-visible,
.vibrant-theme .outline-button:hover,
.vibrant-theme .outline-button:focus-visible,
.vibrant-theme .whatsapp-button:hover,
.vibrant-theme .whatsapp-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(45, 13, 29, 0.2);
}

.vibrant-theme .primary-button:hover,
.vibrant-theme .primary-button:focus-visible {
  color: var(--v-wine-deep);
  background: var(--v-cream);
}

/* Home hero */
.vibrant-theme .home-hero {
  position: relative;
  overflow: hidden;
  color: #fffaf6;
  background:
    radial-gradient(circle at 90% 12%, rgba(191, 93, 130, 0.44), transparent 31rem),
    radial-gradient(circle at 8% 88%, rgba(201, 164, 107, 0.22), transparent 28rem),
    linear-gradient(135deg, var(--v-wine-deep) 0%, var(--v-wine) 58%, var(--v-plum) 100%);
}

.vibrant-theme .home-hero::before,
.vibrant-theme .home-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.vibrant-theme .home-hero::before {
  width: 600px;
  height: 600px;
  top: -390px;
  left: -250px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 145px rgba(255, 255, 255, 0.018);
}

.vibrant-theme .home-hero::after {
  width: 380px;
  height: 380px;
  right: -210px;
  bottom: -255px;
  background: radial-gradient(circle, rgba(224, 176, 134, 0.3), transparent 68%);
}

.vibrant-theme .home-hero .content-width {
  position: relative;
  z-index: 1;
}

.vibrant-theme .home-hero h1 {
  color: #fffaf6;
  text-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
}

.vibrant-theme .home-image-grid {
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.vibrant-theme .home-image-grid figure {
  border: 1px solid rgba(255, 255, 255, 0.19);
  box-shadow: 0 35px 90px rgba(17, 3, 10, 0.38);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vibrant-theme .home-photo {
  border-radius: 250px 250px 28px 28px;
  transform: translateY(18px) rotate(-1.2deg);
}

.vibrant-theme .home-message {
  border-radius: 30px 30px 210px 210px;
  transform: translateY(-10px) rotate(1.4deg);
}

.vibrant-theme .home-image-grid figure:hover {
  transform: translateY(-7px) rotate(0deg);
  box-shadow: 0 42px 100px rgba(17, 3, 10, 0.46);
}

.vibrant-theme .home-hero .primary-button {
  border-color: var(--v-cream);
  color: var(--v-wine-deep);
  background: var(--v-cream);
  box-shadow: 0 17px 42px rgba(0, 0, 0, 0.25);
}

.vibrant-theme .home-hero .primary-button:hover,
.vibrant-theme .home-hero .primary-button:focus-visible {
  color: #fff;
  background: transparent;
}

/* Contact */
.vibrant-theme .contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(201, 164, 107, 0.18), transparent 24rem),
    linear-gradient(135deg, var(--v-cream), var(--v-rose-soft));
}

.vibrant-theme .contact-section::after {
  content: "";
  position: absolute;
  width: 490px;
  height: 490px;
  right: -300px;
  bottom: -320px;
  border: 1px solid rgba(75, 23, 48, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(75, 23, 48, 0.025);
  pointer-events: none;
}

.vibrant-theme .contact-grid {
  position: relative;
  z-index: 1;
  align-items: stretch;
  gap: clamp(45px, 7vw, 95px);
}

.vibrant-theme .contact-form-wrap {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(75, 23, 48, 0.1);
  border-radius: 30px;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: var(--v-shadow);
  backdrop-filter: blur(12px);
}

.vibrant-theme .contact-form-wrap h2 {
  color: var(--v-wine-deep);
}

.vibrant-theme .contact-form input[type="text"],
.vibrant-theme .contact-form input[type="email"],
.vibrant-theme .contact-form textarea {
  border-bottom-color: rgba(75, 23, 48, 0.42);
}

.vibrant-theme .contact-form input:focus,
.vibrant-theme .contact-form textarea:focus {
  border-bottom-color: var(--v-gold);
  box-shadow: 0 1px 0 var(--v-gold);
}

.vibrant-theme .contact-details {
  align-self: stretch;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  color: #f8ece9;
  background:
    radial-gradient(circle at 90% 8%, rgba(190, 95, 129, 0.35), transparent 18rem),
    linear-gradient(145deg, var(--v-plum), var(--v-wine-deep));
  box-shadow: var(--v-shadow);
}

.vibrant-theme .contact-details .whatsapp-button {
  border: 1px solid var(--v-cream);
  color: var(--v-wine-deep);
  background: var(--v-cream);
}

.vibrant-theme .contact-details .text-link {
  color: #f4d6c7;
}

/* Other services */
.vibrant-theme .other-service-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 164, 107, 0.55);
  background:
    radial-gradient(circle at 87% 30%, rgba(196, 102, 132, 0.38), transparent 22rem),
    linear-gradient(120deg, var(--v-wine-deep), var(--v-wine) 58%, var(--v-plum));
}

.vibrant-theme .other-service-strip::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: -180px;
  top: -190px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.025);
}

.vibrant-theme .other-service-inner {
  position: relative;
  z-index: 1;
}

.vibrant-theme .other-service-strip .small-heading {
  color: var(--v-gold);
}

.vibrant-theme .other-service-strip .outline-button {
  border-color: var(--v-cream);
  color: var(--v-wine-deep);
  background: var(--v-cream);
}

.vibrant-theme .other-service-strip .outline-button:hover,
.vibrant-theme .other-service-strip .outline-button:focus-visible {
  color: #fff;
  background: transparent;
}

/* About page */
.vibrant-theme .page-title {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(201, 164, 107, 0.23), transparent 20rem),
    linear-gradient(135deg, var(--v-rose-soft), var(--v-cream));
}

.vibrant-theme .page-title h1 {
  color: var(--v-wine-deep);
}

.vibrant-theme .about-section {
  background:
    radial-gradient(circle at 5% 95%, rgba(234, 212, 212, 0.35), transparent 25rem),
    var(--v-paper);
}

.vibrant-theme .about-grid {
  gap: clamp(50px, 7vw, 90px);
}

.vibrant-theme .about-photo {
  border: 1px solid rgba(75, 23, 48, 0.12);
  border-radius: 260px 260px 30px 30px;
  box-shadow: var(--v-shadow);
}

.vibrant-theme .about-copy {
  padding: clamp(10px, 3vw, 34px) 0;
}

.vibrant-theme .about-copy h4,
.vibrant-theme .about-copy strong {
  color: var(--v-wine);
}

.vibrant-theme .reviews-heading {
  color: #fffaf6;
  background:
    radial-gradient(circle at 22% 100%, rgba(201, 164, 107, 0.25), transparent 22rem),
    linear-gradient(135deg, var(--v-wine-deep), var(--v-plum));
}

.vibrant-theme .reviews-heading h2 {
  color: #fffaf6;
}

/* Testimonials */
.vibrant-theme .testimonial-lead {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--v-cream), var(--v-paper));
}

.vibrant-theme .testimonial-photo {
  border: 1px solid rgba(75, 23, 48, 0.13);
  border-radius: 250px 250px 26px 26px;
  box-shadow: var(--v-shadow);
}

.vibrant-theme .testimonial-lead h1 {
  color: var(--v-wine-deep);
}

.vibrant-theme .testimonial-lead blockquote {
  padding: 28px 30px;
  border-left: 3px solid var(--v-gold);
  border-radius: 0 22px 22px 0;
  background: rgba(234, 212, 212, 0.45);
}

.vibrant-theme .service-summary {
  background: var(--v-rose-soft);
}

.vibrant-theme .three-services {
  gap: 18px;
}

.vibrant-theme .three-services article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--v-line) !important;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 17px 45px rgba(45, 13, 29, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.vibrant-theme .three-services article:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 58px rgba(45, 13, 29, 0.13);
}

.vibrant-theme .three-services h4 {
  color: var(--v-wine);
}

.vibrant-theme .results-section {
  position: relative;
  background: var(--v-paper);
}

.vibrant-theme .results-section.results-alt {
  background: linear-gradient(145deg, var(--v-rose-soft), var(--v-cream));
}

.vibrant-theme .results-section h2 {
  color: var(--v-wine-deep);
}

.vibrant-theme .story-card {
  position: relative;
  overflow: hidden;
  border-color: var(--v-line);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.95);
  box-shadow: 0 18px 52px rgba(45, 13, 29, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.vibrant-theme .story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--v-gold), var(--v-wine), var(--v-plum));
}

.vibrant-theme .story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 68px rgba(45, 13, 29, 0.14);
}

.vibrant-theme .story-card h4,
.vibrant-theme .show-more {
  color: var(--v-wine);
}

/* Footer */
.vibrant-theme .site-footer {
  color: #decfd3;
  background:
    radial-gradient(circle at 92% 0%, rgba(123, 45, 79, 0.42), transparent 25rem),
    linear-gradient(145deg, #1d0913, var(--v-wine-deep));
}

.vibrant-theme .footer-brand {
  color: #fff4eb;
}

.vibrant-theme .footer-links a {
  color: #d7c5ca;
  transition: color 0.2s ease, transform 0.2s ease;
}

.vibrant-theme .footer-links a:hover,
.vibrant-theme .footer-links a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.vibrant-theme .footer-links a[href*="engineering-consulting"] {
  border-top-color: rgba(201, 164, 107, 0.45);
  color: #f1d7bd;
  font-weight: 500;
}

.vibrant-theme .copyright {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #a9939a;
}

/* Restrained entrance motion */
@media (prefers-reduced-motion: no-preference) {
  .vibrant-theme .home-hero h1 {
    animation: vibrantRise 0.75s ease both;
  }

  .vibrant-theme .home-image-grid {
    animation: vibrantRise 0.85s 0.12s ease both;
  }

  .vibrant-theme .home-hero .primary-button {
    animation: vibrantRise 0.75s 0.24s ease both;
  }

  @keyframes vibrantRise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 900px) {
  .vibrant-theme .site-header {
    position: sticky;
  }

  .vibrant-theme .site-nav {
    background: rgba(255, 250, 244, 0.98);
    box-shadow: 0 18px 45px rgba(45, 13, 29, 0.12);
  }

  .vibrant-theme .home-photo,
  .vibrant-theme .home-message,
  .vibrant-theme .home-image-grid figure:hover {
    transform: none;
  }

  .vibrant-theme .contact-details {
    padding-top: 42px;
  }

  .vibrant-theme .three-services {
    gap: 15px;
  }
}

@media (max-width: 620px) {
  .vibrant-theme .site-name::after {
    margin-left: 7px;
  }

  .vibrant-theme .home-photo {
    border-radius: 180px 180px 22px 22px;
  }

  .vibrant-theme .home-message {
    border-radius: 22px 22px 145px 145px;
  }

  .vibrant-theme .contact-form-wrap,
  .vibrant-theme .contact-details {
    border-radius: 22px;
  }

  .vibrant-theme .about-photo,
  .vibrant-theme .testimonial-photo {
    border-radius: 170px 170px 22px 22px;
  }

  .vibrant-theme .testimonial-lead blockquote {
    padding: 24px 22px;
  }
}
