/* ============================================
   PEREGRINO REFORMAS — Design System
   ============================================ */
:root {
  --navy: #0d2840;
  --navy-deep: #081a2c;
  --navy-soft: #143655;
  --gold: #c8932b;
  --gold-light: #e0b54d;
  --gold-deep: #a87819;
  --cream: #ece5d3;
  --cream-soft: #f6f1e3;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --line: rgba(13, 40, 64, 0.12);

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-soft);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.text-gold {
  color: var(--gold) !important;
}

.text-light-muted {
  color: rgba(236, 229, 211, 0.75) !important;
}

/* ============================================
   NAVBAR
   ============================================ */
.peregrino-nav {
  background: rgba(8, 26, 44, 0.0);
  backdrop-filter: blur(0);
  transition: all 0.4s ease;
  padding: 1rem 0;
}

.peregrino-nav.scrolled {
  background: rgba(8, 26, 44, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.peregrino-nav .nav-link {
  color: rgba(236, 229, 211, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.25s ease;
}

.peregrino-nav .nav-link:hover,
.peregrino-nav .nav-link.active {
  color: var(--gold-light);
}

.peregrino-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.25rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.peregrino-nav .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-toggler {
  border: 1px solid rgba(236, 229, 211, 0.4);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  filter: invert(1) brightness(1.5);
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--navy-deep);
  font-weight: 600;
  border: none;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  box-shadow: 0 6px 22px rgba(200, 147, 43, 0.28);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 147, 43, 0.42);
}

.btn-outline-gold {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 600;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-outline-light {
  border: 1.5px solid rgba(236, 229, 211, 0.6);
  color: var(--cream);
  font-weight: 500;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-pill);
}

.btn-outline-light:hover {
  background: var(--cream);
  color: var(--navy-deep);
  border-color: var(--cream);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("hero-interior.jpg") center/cover no-repeat;
  transform: scale(1.05);
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

@keyframes slow-zoom {
  from {
    transform: scale(1.0);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 26, 44, 0.92) 0%, rgba(8, 26, 44, 0.95) 50%, rgb(8 29 50 / 82%) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200, 147, 43, 0.4);
}


.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  font-weight: 700;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
}

.hero-title .text-gold {
  font-style: italic;
  font-weight: 600;
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(236, 229, 211, 0.85);
  max-width: 620px;
  font-weight: 300;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(236, 229, 211, 0.15);
}

.pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(236, 229, 211, 0.9);
  font-size: 0.95rem;
}

.pillar i {
  color: var(--gold-light);
  font-size: 1.2rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  opacity: 0.7;
  font-size: 1.5rem;
  z-index: 3;
  animation: bounce 2.2s infinite;
  text-decoration: none;
}

@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 5.2rem 0;
  position: relative;
}

.section-light {
  background: #ffffff;
}

.section-cream {
  background: var(--cream-soft);
}

.section-dark {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
}

.section-cta {
  background:
    linear-gradient(160deg, rgba(8, 26, 44, 0.95), rgba(13, 40, 64, 0.9)),
    url("/section-management.jpg") center/cover;
  color: var(--cream);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-dark .section-eyebrow,
.section-cta .section-eyebrow {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2.1rem, 2.9vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  letter-spacing: -0.025em;
}

.section-dark .section-title,
.section-cta .section-title {
  color: var(--cream);
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.section-dark .section-text {
  color: rgba(236, 229, 211, 0.75);
}

/* ============================================
   IMAGE FRAME
   ============================================ */
.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(13, 40, 64, 0.35);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 147, 43, 0.5);
  margin: 12px;
  pointer-events: none;
  z-index: 2;
}

.frame-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(8, 26, 44, 0.92);
  color: var(--cream);
  padding: 0.85rem 1.2rem;
  border-left: 3px solid var(--gold);
  z-index: 3;
}

.frame-tag span {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
}

.frame-tag small {
  font-size: 0.78rem;
  color: rgba(236, 229, 211, 0.8);
}

/* Stats */
.stat {
  padding: 1rem 0;
}

.stat i {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

.stat h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.stat p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================
   PAIN CARDS
   ============================================ */
.pain-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(236, 229, 211, 0.12);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  height: 100%;
  transition: all 0.3s ease;
}

.pain-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.pain-card i {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: block;
}

.pain-card h4 {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pain-card p {
  color: rgba(236, 229, 211, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   SERVICE TABS & CARDS
   ============================================ */
.nav-pills .nav-link {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 0.7rem 1.6rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  margin: 0 0.25rem;
}

.nav-pills .nav-link.active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(13, 40, 64, 0.2);
}

.service-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  border-color: var(--navy);
}

.service-card.featured h4 {
  color: var(--cream);
}

.service-card.featured p {
  color: rgba(236, 229, 211, 0.8);
}

.service-card.featured .service-num {
  color: var(--gold-light);
  border-color: rgba(200, 147, 43, 0.4);
}

.service-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  border: 1px solid rgba(200, 147, 43, 0.4);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.cta-card {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-soft) 100%);
  border-color: var(--gold) !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-card i {
  font-size: 2rem;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item .dot {
  position: absolute;
  left: -2.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  border: 2px solid var(--cream-soft);
  box-shadow: 0 0 0 3px var(--navy);
}

.timeline-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================
   PRICE CARDS
   ============================================ */
.price-card {
  background: rgba(236, 229, 211, 0.05);
  border: 1px solid rgba(236, 229, 211, 0.15);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--gold);
  background: rgba(236, 229, 211, 0.08);
  transform: translateY(-4px);
}

.price-card.highlight {
  background: linear-gradient(160deg, rgba(200, 147, 43, 0.12), rgba(200, 147, 43, 0.04));
  border-color: var(--gold);
  box-shadow: 0 20px 40px -15px rgba(200, 147, 43, 0.3);
}

.badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.3rem 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.price-card h5 {
  color: var(--cream);
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 1rem;
  min-height: 3rem;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.price-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(236, 229, 211, 0.08);
  color: rgba(236, 229, 211, 0.85);
  font-size: 0.92rem;
}

.price-card ul li i {
  color: var(--gold-light);
  margin-right: 0.5rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 4rem;
  margin-top: 0px;
  padding-top: 0px;
}

.testimonial i {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-bottom: 1rem;
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.testimonial .author strong {
  display: block;
  font-family: var(--font-body);
  color: var(--navy);
  font-size: 1rem;
}

.testimonial .author span {
  color: var(--muted);
  font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  filter: invert(1) sepia(1) saturate(5) hue-rotate(10deg);
  opacity: 0.6;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--navy);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  margin: 0 5px;
}

.carousel-indicators .active {
  background-color: var(--gold);
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.peregrino-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.peregrino-accordion .accordion-button {
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 1.25rem 0;
  box-shadow: none !important;
}

.peregrino-accordion .accordion-button:not(.collapsed) {
  color: var(--gold-deep);
  background: transparent;
}

.peregrino-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c8932b'%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");
}

.peregrino-accordion .accordion-body {
  color: var(--muted);
  padding: 0 0 1.25rem 0;
  font-size: 0.98rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  color: var(--cream);
}

.contact-list i {
  color: var(--gold-light);
  font-size: 1.3rem;
  width: 24px;
}

.contact-list a {
  color: rgba(236, 229, 211, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--gold-light);
}

.lead-form {
  background: var(--cream-soft);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border-top: 3px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}

.lead-form h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.lead-form .form-label {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.lead-form .form-control,
.lead-form .form-select {
  border: 1px solid rgba(13, 40, 64, 0.18);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  background: #fff;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.lead-form .form-control:focus,
.lead-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 147, 43, 0.15);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.85rem;
  margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.peregrino-footer {
  background: var(--navy-deep);
  color: rgba(236, 229, 211, 0.7);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-social {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(236, 229, 211, 0.2);
  border-radius: 50%;
  color: var(--cream);
  margin-left: 0.5rem;
  transition: all 0.25s;
  text-decoration: none;
}

.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  z-index: 1050;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.25s;
  animation: wa-pulse 2.5s infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .peregrino-nav {
    background: rgba(8, 26, 44, 0.95);
    backdrop-filter: blur(12px);
  }

  .navbar-collapse {
    padding-top: 1rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .testimonial {
    padding: 1.5rem 1rem;
  }

  .testimonial p {
    font-size: 1.15rem;
  }

  .lead-form {
    padding: 1.75rem;
  }

  .hero-pillars {
    gap: 1rem;
  }

  .pillar {
    font-size: 0.88rem;
  }
}

.btn-group-lg>.btn,
.btn-lg {

  font-size: 1rem !important;
}