/* ============================================================
   3V CAPITAL — Template 9 "Burgundy & Gold"
   Primary: #6B2D47 | Accent: #D4AF7A | Dark: #3A1829 | Light: #FDF9F5
   Font: Inter Tight (100-900)
   ============================================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* === Root Variables === */
:root {
  --primary: #6B2D47;
  --primary-rgb: 107, 45, 71;
  --accent: #D4AF7A;
  --accent-rgb: 212, 175, 122;
  --dark: #3A1829;
  --dark-rgb: 58, 24, 41;
  --light-bg: #FDF9F5;
  --light-bg-rgb: 253, 249, 245;
  --white: #ffffff;
  --text-dark: #2D1A22;
  --text-muted: #6B5E65;
  --font-family: 'Inter Tight', sans-serif;
}

/* === Base === */
body {
  font-family: var(--font-family);
  background-color: var(--white);
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.7;
  padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 600;
  color: var(--dark);
}

.display-1 { font-weight: 700; font-style: italic; }
.display-2 { font-weight: 600; font-style: italic; }
.display-4 { font-weight: 400; }
.display-5 { font-weight: 500; }
.display-7 { font-weight: 400; }

a {
  color: var(--accent);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--primary);
}

/* === Buttons === */
.btn {
  font-family: var(--font-family);
  font-weight: 500;
  border-radius: 4px;
  padding: 12px 32px;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}
.btn-secondary:hover {
  background-color: #c09a5e;
  border-color: #c09a5e;
  color: var(--dark);
}

.btn-black {
  background-color: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.btn-black:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-black-outline {
  background-color: transparent;
  border: 2px solid var(--dark);
  color: var(--dark);
}
.btn-black-outline:hover {
  background-color: var(--dark);
  color: var(--white);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* === Navbar (Template 9: NO fixed-top, content-wrap container-fluid) === */
.custom-navbar {
  background-color: var(--white);
  border-bottom: 1px solid rgba(107, 45, 71, 0.08);
  padding: 14px 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.custom-navbar .navbar-brand img {
  height: 3rem;
  border-radius: 6px;
}

.custom-navbar .navbar-caption {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark) !important;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.custom-navbar .nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-dark) !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin: 0 2px;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--primary) !important;
  background-color: rgba(107, 45, 71, 0.06);
}

.custom-navbar .navbar-buttons .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.custom-navbar .navbar-toggler {
  border: none;
  padding: 8px;
  color: var(--dark);
}
.custom-navbar .navbar-toggler:focus {
  box-shadow: none;
}

/* === Hero Section (Template 9: Split, NOT full-screen, NOT parallax) === */
.hero-section {
  background-color: var(--light-bg);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-section .hero-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(58, 24, 41, 0.15);
}

.hero-section .hero-image-wrapper img,
.hero-section .hero-image-wrapper .hero-placeholder {
  width: 100%;
  height: auto;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.hero-placeholder {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 40%, #8B3D5E 70%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}

.hero-placeholder::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(212, 175, 122, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(107, 45, 71, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(58, 24, 41, 0.4) 100%);
}

.hero-section .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 30px 0 30px 40px;
}

.hero-section .hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-section .hero-content .hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hero-section .hero-content .hero-details {
  display: flex;
  gap: 40px;
  margin: 1.5rem 0 2rem;
}

.hero-section .hero-content .hero-detail-item {
  display: flex;
  flex-direction: column;
}

.hero-section .hero-content .hero-detail-item .detail-number {
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
}

.hero-section .hero-content .hero-detail-item .detail-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* === Sub-page Hero === */
.subpage-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 100px 0 60px;
  color: var(--white);
  text-align: center;
}

.subpage-hero h1 {
  color: var(--white);
  font-weight: 700;
  font-style: italic;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.subpage-hero .breadcrumb-text {
  color: var(--accent);
  font-weight: 300;
  font-size: 1rem;
}

/* === Section Headers === */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-header .section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  margin: 0 auto;
  border-radius: 2px;
}

/* === Feature Cards (3-column) === */
.features-section {
  padding: 80px 0;
  background-color: var(--white);
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(107, 45, 71, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(58, 24, 41, 0.08);
  border-color: var(--accent);
}

.feature-card .feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
  font-size: 1.8rem;
}

.feature-card h3 {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* === Image + Text Split Section === */
.split-section {
  padding: 80px 0;
}

.split-section.bg-light {
  background-color: var(--light-bg);
}

.split-section .split-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(58, 24, 41, 0.1);
}

.split-section .split-image img,
.split-section .split-image .img-placeholder {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
}

.split-section .split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 30px 40px;
}

.split-section .split-text .section-tag {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.split-section .split-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.split-section .split-text p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.img-placeholder {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 40%, #8B3D5E 70%, var(--accent) 100%);
  position: relative;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 40% 50%, rgba(212, 175, 122, 0.12) 0%, transparent 60%);
}

/* === Achievements / Stats Section === */
.achievements-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.achievements-section .section-tag {
  color: var(--accent);
}

.achievements-section h2 {
  color: var(--white);
}

.achievement-stat {
  text-align: center;
  padding: 30px 20px;
}

.achievement-stat .stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.achievement-stat .stat-label {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === Team Section === */
.team-section {
  padding: 80px 0;
  background-color: var(--white);
}

.team-card {
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(107, 45, 71, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(58, 24, 41, 0.1);
}

.team-card .team-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--light-bg), #ede4db);
  position: relative;
}

.team-card .team-image .team-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, #8B3D5E 100%);
  color: var(--accent);
  font-size: 4rem;
  font-weight: 700;
  font-style: italic;
}

.team-card .team-info {
  padding: 24px 20px;
}

.team-card .team-info h4 {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-card .team-info .team-role {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.team-card .team-info .team-bio {
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === Service Cards === */
.service-card {
  text-align: center;
  padding: 35px 25px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(107, 45, 71, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(58, 24, 41, 0.08);
  border-color: var(--accent);
}

.service-card .service-icon {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.7;
}

/* === FAQ Accordion === */
.faq-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.accordion-item {
  border: 1px solid rgba(107, 45, 71, 0.08);
  border-radius: 8px !important;
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
}

.accordion-button {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--dark) !important;
  background-color: var(--white) !important;
  box-shadow: none !important;
  padding: 18px 24px;
}

.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
  background-color: rgba(107, 45, 71, 0.02) !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B2D47' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-body {
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 8px 24px 20px;
}

/* === Contact Form === */
.contact-section {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(58, 24, 41, 0.06);
  border: 1px solid rgba(107, 45, 71, 0.06);
}

.form-control {
  border: 1px solid rgba(107, 45, 71, 0.15);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 122, 0.15);
}

.form-control::placeholder {
  color: #b8a99e;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* === Contact Info Cards === */
.contact-info-section {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.contact-info-card {
  text-align: center;
  padding: 35px 20px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(107, 45, 71, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-info-card:hover {
  box-shadow: 0 10px 30px rgba(58, 24, 41, 0.06);
}

.contact-info-card .info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: var(--accent);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-info-card h5 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-info-card p {
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* === Map === */
.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* === Footer (Template 9: Simple centered dark) === */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 30px;
  text-align: center;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer .footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 300;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
  color: var(--accent);
}

.site-footer .copyright {
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.site-footer .copyright a {
  color: var(--accent);
  text-decoration: none;
}

/* === Cookie Consent === */
.cookie-consent-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--white);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 500px;
  width: calc(100% - 40px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  border: 1px solid rgba(107, 45, 71, 0.1);
  display: none;
}

.cookie-consent-popup.show {
  display: block;
  animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-consent-popup h5 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.cookie-consent-popup p {
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-consent-popup .btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* === Policy Pages === */
.policy-content {
  padding: 60px 0;
}

.policy-content h2 {
  font-weight: 600;
  font-style: italic;
  color: var(--dark);
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content p,
.policy-content li {
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.policy-content table th {
  background-color: var(--dark);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
  font-size: 0.85rem;
}

.policy-content table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(107, 45, 71, 0.08);
  color: var(--text-muted);
}

.policy-content table tr:nth-child(even) td {
  background-color: rgba(253, 249, 245, 0.5);
}

/* === Testimonials === */
.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 35px 30px;
  border: 1px solid rgba(107, 45, 71, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(58, 24, 41, 0.06);
  border-color: var(--accent);
}

.testimonial-card .testimonial-quote {
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.testimonial-card .testimonial-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.testimonial-card .testimonial-role {
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 100px 0 50px;
  }
  .hero-section .hero-content {
    padding: 30px 0 0 0;
  }
  .hero-section .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-section .hero-image-wrapper img,
  .hero-section .hero-image-wrapper .hero-placeholder {
    min-height: 300px;
  }
  .split-section .split-text {
    padding: 30px 0 0 0;
  }
  .split-section .split-image img,
  .split-section .split-image .img-placeholder {
    min-height: 280px;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .subpage-hero h1 {
    font-size: 2rem;
  }
  .team-card .team-image {
    height: 240px;
  }
}

@media (max-width: 767.98px) {
  .hero-section .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-section .hero-content .hero-details {
    gap: 20px;
  }
  .achievement-stat .stat-number {
    font-size: 2.2rem;
  }
  .site-footer .footer-links {
    gap: 14px;
  }
}
