/* ==========================================================================
   NamahOm Theme - Aviva Method Landing Page Custom Stylesheet
   ========================================================================== */

:root {
  --aviva-bg: #FCFAF6;
  --aviva-primary: #7C7026;
  --aviva-accent: #E5CB8C;
  --aviva-rust: #9E4A35;
  --aviva-dark: #2C2815;
  --aviva-light-card: #FFFFFF;
  --aviva-grey-bg: #F3F1EB;
  --aviva-stop-red: #D9534F;
  --aviva-soft-gold: #FAF3E0;

  --aviva-font-title: 'Cormorant', Georgia, serif;
  --aviva-font-body: 'Plus Jakarta Sans', Arial, sans-serif;
}

/* Base Wrapper resets and container */
.aviva-landing-wrapper {
  background-color: var(--aviva-bg);
  color: var(--aviva-dark);
  font-family: var(--aviva-font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Fonts and Typography resets */
.aviva-landing-wrapper h1,
.aviva-landing-wrapper h2,
.aviva-landing-wrapper h3,
.aviva-landing-wrapper h4,
.aviva-landing-wrapper h5,
.aviva-landing-wrapper h6 {
  font-family: var(--aviva-font-title);
  color: var(--aviva-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Transparent Header Overlay on Landing Template */
.page-template-template-aviva .main-header:not(.fixed-header) {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: transparent !important;
  z-index: 999 !important;
  box-shadow: none !important;
}

.page-template-template-aviva .main-header:not(.fixed-header) .header-lower,
.page-template-template-aviva .main-header:not(.fixed-header) .main-box {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Custom Aviva Buttons */
.aviva-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--aviva-font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}

.aviva-btn-primary {
  background-color: var(--aviva-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(124, 112, 38, 0.15);
}

.aviva-btn-primary:hover {
  background-color: #655b1e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 112, 38, 0.25);
  color: #FFFFFF !important;
}

.aviva-btn-outline {
  background-color: transparent;
  color: var(--aviva-primary) !important;
  border: 2px solid var(--aviva-primary);
}

.aviva-btn-outline:hover {
  background-color: var(--aviva-primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 112, 38, 0.15);
}

.aviva-btn i {
  margin-right: 10px;
  font-size: 16px;
}

/* Section Common Spacing */
.aviva-section {
  padding: 100px 0;
  position: relative;
}

.aviva-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.aviva-hero {
  padding-top: 180px;
  /* Offset absolute header */
  padding-bottom: 100px;
  background: linear-gradient(180deg, #F9F6F1 0%, var(--aviva-bg) 100%);
  display: flex;
  align-items: center;
}

.aviva-hero .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.aviva-hero-content {
  max-width: 620px;
}

.aviva-hero-subtitle {
  font-family: var(--aviva-font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--aviva-primary);
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.aviva-hero-title {
  font-size: 64px;
  line-height: 1.15;
  margin-bottom: 25px;
}

.aviva-hero-title span {
  font-family: 'Alex Brush', cursive;
  color: var(--aviva-primary);
  display: block;
  font-size: 48px;
  margin-top: 5px;
  text-transform: none;
  font-weight: 400;
}

.aviva-hero-desc {
  font-size: 18px;
  color: #555246;
  margin-bottom: 40px;
  line-height: 1.8;
}

.aviva-hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.aviva-hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
}

.aviva-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  /* Organic shape matching zen vibe */
  box-shadow: 0 15px 35px rgba(124, 112, 38, 0.1);
  border: 8px solid #FFFFFF;
}

/* ==========================================================================
   2. STOP & RESPONSE SECTION
   ========================================================================== */
.aviva-stop-response {
  background-color: var(--aviva-bg);
  padding: 80px 0;
}

.aviva-stop-response-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Stop Card (Left) */
.aviva-stop-card {
  background: var(--aviva-light-card);
  border: 1px solid #EAE6DE;
  border-radius: 24px;
  padding: 45px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.aviva-stop-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.aviva-stop-badge {
  background-color: #FDF2F0;
  color: var(--aviva-rust);
  font-weight: 800;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(158, 74, 53, 0.15);
  display: inline-flex;
  align-items: center;
}

.aviva-stop-badge i {
  margin-right: 6px;
  font-size: 14px;
}

.aviva-stop-card-title {
  font-size: 28px;
  margin: 0;
  color: var(--aviva-dark);
}

.aviva-stop-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aviva-stop-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
  font-size: 16px;
  color: #555246;
}

.aviva-stop-item:last-child {
  margin-bottom: 0;
}

.aviva-stop-item i {
  color: var(--aviva-rust);
  font-size: 18px;
  margin-top: 3px;
}

/* Response Column (Right) */
.aviva-response-col {
  padding-left: 20px;
}

.aviva-response-title {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 35px;
  color: var(--aviva-primary);
}

.aviva-response-blocks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aviva-response-block {
  background: var(--aviva-soft-gold);
  border: 1.5px solid var(--aviva-accent);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.aviva-response-block:hover {
  transform: translateX(8px);
  background-color: #F5EBCD;
}

.aviva-response-icon {
  width: 44px;
  height: 44px;
  background-color: var(--aviva-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.aviva-response-text {
  font-weight: 600;
  font-size: 16px;
  color: var(--aviva-dark);
}

.aviva-response-footer {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--aviva-primary);
  letter-spacing: 1.5px;
}

/* ==========================================================================
   3. EXPLANATION SECTION
   ========================================================================== */
.aviva-explanation {
  background-color: #F8F5EF;
  text-align: center;
}

.aviva-explanation-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.aviva-explanation-title {
  font-size: 42px;
  margin-bottom: 15px;
}

.aviva-explanation-desc {
  font-size: 17px;
  color: #666359;
}

/* Grid layout for cards */
.aviva-explanation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.aviva-grid-card {
  border-radius: 20px;
  padding: 45px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aviva-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Card 1: Gold Card */
.aviva-card-gold {
  background-color: var(--aviva-primary);
  color: #FFFFFF;
}

.aviva-card-gold h3,
.aviva-card-gold p {
  color: #FFFFFF;
}

.aviva-card-gold-icon {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--aviva-accent);
}

.aviva-card-gold h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

/* Card 2: Dark Brown Card with Large Number */
.aviva-card-dark {
  background-color: var(--aviva-dark);
  color: #FFFFFF;
  align-items: center;
  text-align: center;
}

.aviva-card-dark h3,
.aviva-card-dark p {
  color: #FFFFFF;
}

.aviva-card-number {
  font-family: var(--aviva-font-title);
  font-size: 96px;
  line-height: 1;
  font-weight: 800;
  color: var(--aviva-accent);
  margin-bottom: 10px;
}

.aviva-card-dark h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Card 3: Rust Card */
.aviva-card-rust {
  background-color: var(--aviva-rust);
  color: #FFFFFF;
}

.aviva-card-rust h3,
.aviva-card-rust p {
  color: #FFFFFF;
}

.aviva-card-rust h3 {
  font-size: 28px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.aviva-card-rust h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--aviva-accent);
}

/* Card 4: White/Light Card */
.aviva-card-white {
  background-color: var(--aviva-light-card);
  border: 1px solid #ECE8DF;
}

.aviva-card-white p {
  font-size: 16px;
  color: #555246;
}

/* ==========================================================================
   4. FOUNDER HISTORY SECTION
   ========================================================================== */
.aviva-history {
  background: var(--aviva-bg);
  overflow: hidden;
}

.aviva-history-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.aviva-history-content {
  max-width: 600px;
}

.aviva-history-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--aviva-primary);
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.aviva-history-section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 105%;
  width: 50px;
  height: 1px;
  background-color: var(--aviva-primary);
}

.aviva-history-title {
  font-size: 44px;
  margin-bottom: 25px;
}

.aviva-history-text {
  font-size: 16px;
  color: #555246;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Founder Visual Styling - FIXED TRANSPARENCY GRID ISSUE */
.aviva-history-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

/* Mandala Overlay behind image - Clean container with NO checkerboard */
.aviva-history-mandala-bg {
  position: absolute;
  width: 440px;
  height: 440px;
  background-image: url('../images/namahOm/aviva-mandala.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.15;
  /* Subtly enlivens the background */
  z-index: 1;
  animation: spinMandala 120s linear infinite;
}

@keyframes spinMandala {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.aviva-history-img-wrapper {
  position: relative;
  z-index: 2;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 12px solid #FFFFFF;
  box-shadow: 0 15px 40px rgba(124, 112, 38, 0.12);
  background-color: #FFFFFF;
  /* Ensure solid white background */
}

.aviva-history-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aviva-history-accent-circle {
  position: absolute;
  bottom: 20px;
  right: 50px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--aviva-accent);
  z-index: 3;
  opacity: 0.9;
  box-shadow: 0 8px 20px rgba(229, 203, 140, 0.4);
}

/* ==========================================================================
   5. FOCUS ZONES SECTION
   ========================================================================== */
.aviva-focus {
  background-color: #F8F5EF;
  text-align: center;
}

.aviva-focus-tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--aviva-primary);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.aviva-focus-title {
  font-size: 42px;
  margin-bottom: 50px;
}

.aviva-focus-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.aviva-focus-card {
  background: var(--aviva-light-card);
  border: 1px solid #ECE7DE;
  border-radius: 16px;
  padding: 30px 20px;
  width: 18%;
  /* 5 columns */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aviva-focus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(124, 112, 38, 0.08);
  border-color: var(--aviva-accent);
}

.aviva-focus-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FDF6EE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(229, 203, 140, 0.3);
}

.aviva-focus-icon-container i {
  color: var(--aviva-rust);
  font-size: 16px;
}

.aviva-focus-card-title {
  font-family: var(--aviva-font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--aviva-dark);
}

/* ==========================================================================
   6. POUR QUI SECTION
   ========================================================================== */
.aviva-pour-qui {
  background-color: var(--aviva-bg);
}

.aviva-pour-qui-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 50px;
}

.aviva-pour-qui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.aviva-pour-qui-card {
  background: var(--aviva-light-card);
  border: 1px solid #ECE7DE;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
}

.aviva-pour-qui-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(124, 112, 38, 0.05);
}

.aviva-pq-card-highlighted {
  background-color: var(--aviva-soft-gold);
  border-color: var(--aviva-accent);
}

.aviva-pq-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 25px;
}

.aviva-pq-icon-gold i {
  color: var(--aviva-primary);
}

.aviva-pq-icon-rust i {
  color: var(--aviva-rust);
}

.aviva-pour-qui-card h3 {
  font-family: var(--aviva-font-title);
  font-size: 24px;
  margin-bottom: 20px;
}

.aviva-pq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aviva-pq-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #555246;
}

.aviva-pq-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--aviva-primary);
  font-size: 18px;
  top: -2px;
}

.aviva-pq-item:last-child {
  margin-bottom: 0;
}

/* Gray Bottom Row: Et Bien Plus Encore */
.aviva-pour-qui-more {
  background-color: var(--aviva-grey-bg);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.aviva-pour-qui-more-title {
  font-family: var(--aviva-font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--aviva-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.aviva-pour-qui-more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

.aviva-pq-more-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--aviva-dark);
}

.aviva-pq-more-item i {
  color: var(--aviva-rust);
  font-size: 16px;
}

/* ==========================================================================
   7. GREEN CTA BANNER SECTION - FIXED TRANSPARENCY GRID ISSUE
   ========================================================================== */
.aviva-cta-banner {
  background-color: var(--aviva-primary);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Mandala BG behind content - Centered, low opacity, clean overlay */
.aviva-cta-mandala-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  background-image: url('../images/namahOm/aviva-mandala.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  /* Subtle pattern overlay */
  z-index: 1;
}

.aviva-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.aviva-cta-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.aviva-cta-subtitle {
  font-size: 18px;
  color: #EFECE5;
  margin-bottom: 40px;
}

.aviva-cta-content .aviva-btn-white {
  background-color: #FFFFFF;
  color: var(--aviva-primary) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.aviva-cta-content .aviva-btn-white:hover {
  background-color: var(--aviva-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   8. FAQ & CONTACT CTA BLOCK
   ========================================================================== */
.aviva-faq-contact-section {
  background-color: var(--aviva-bg);
  padding: 60px 0 100px 0;
}

.aviva-faq-contact-card {
  background: var(--aviva-soft-gold);
  border: 1.5px solid var(--aviva-accent);
  border-radius: 30px;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(124, 112, 38, 0.05);
}

.aviva-faq-contact-text h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.aviva-faq-contact-text p {
  color: #555246;
  margin: 0;
  font-size: 16px;
}

.aviva-faq-contact-details {
  display: flex;
  align-items: center;
  gap: 30px;
}

.aviva-contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--aviva-dark) !important;
  font-weight: 700;
  font-size: 18px;
  transition: color 0.3s ease;
}

.aviva-contact-info-item:hover {
  color: var(--aviva-primary) !important;
}

.aviva-contact-info-item i {
  color: var(--aviva-primary);
  font-size: 20px;
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
  .aviva-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .aviva-hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .aviva-hero-buttons {
    justify-content: center;
  }

  .aviva-hero-image-wrapper {
    max-width: 500px;
    height: 450px;
    margin: 0 auto;
  }

  .aviva-stop-response-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .aviva-response-col {
    padding-left: 0;
  }

  .aviva-history-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .aviva-history-content {
    max-width: 100%;
  }

  .aviva-history-visual {
    order: -1;
    /* Place image on top on mobile/tablet */
  }

  .aviva-pour-qui-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .aviva-pour-qui-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .aviva-focus-card {
    width: 30%;
  }

  .aviva-faq-contact-card {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px;
  }
}

/* Tablets & Mobile */
@media (max-width: 768px) {
  .aviva-section {
    padding: 60px 0;
  }

  .aviva-hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .aviva-hero-title {
    font-size: 42px;
  }

  .aviva-hero-title span {
    font-size: 32px;
  }

  .aviva-hero-desc {
    font-size: 16px;
  }

  .aviva-stop-card {
    padding: 30px;
  }

  .aviva-stop-card-title {
    font-size: 24px;
  }

  .aviva-response-title {
    font-size: 30px;
  }

  .aviva-explanation-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .aviva-grid-card {
    padding: 30px;
  }

  .aviva-history-title {
    font-size: 32px;
  }

  .aviva-focus-title,
  .aviva-pour-qui-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .aviva-focus-card {
    width: 45%;
  }

  .aviva-pour-qui-more {
    padding: 30px 20px;
  }

  .aviva-pour-qui-more-grid {
    grid-template-columns: 1fr;
  }

  .aviva-cta-title {
    font-size: 32px;
  }

  .aviva-cta-mandala-bg {
    width: 320px;
    height: 320px;
  }

  .aviva-faq-contact-card {
    padding: 30px 20px;
  }

  .aviva-faq-contact-details {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .aviva-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .aviva-btn {
    width: 100%;
  }

  .aviva-focus-card {
    width: 100%;
  }

  .aviva-history-img-wrapper {
    width: 260px;
    height: 260px;
  }

  .aviva-history-mandala-bg {
    width: 340px;
    height: 340px;
  }
}