/* Font Faces */
@font-face {
  font-family: "AvenirNextLTPro";
  src: url("../Asad K landing page/Fuentes/Avenir Next LT Pro/AvenirNextLTPro-Regular.otf")
    format("opentype");
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: "AvenirNextLTPro";
  src: url("../Asad K landing page/Fuentes/Avenir Next LT Pro/AvenirNextLTPro-Bold.otf")
    format("opentype");
  font-weight: 700; /* Bold */
  font-style: normal;
}

/* Variables */
:root {
  --baz-green: #3aae2a;
  --baz-green-light: #78c76d;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "AvenirNextLTPro", sans-serif;
}

/* Navbar Base Styles */
.navbar {
  padding: 1rem; /* Base padding determines height */
  margin-bottom: 0; /* Remove any default margin */
}

/* Main (White) Navbar */
.navbar-main {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1; /* Ensure it's above the green one if shadow overlaps */
  position: relative; /* Needed for z-index */
}

/* Secondary (Green) Navbar */
.navbar-secondary {
  background-color: var(--baz-green);
  /* Remove shadow if main navbar has it */
  box-shadow: none;
}

/* Hide logo specifically in the secondary navbar */
.navbar-secondary .navbar-brand {
  visibility: hidden;
}

.navbar-brand {
  padding: 0;
  margin: 0;
}

.navbar-brand img {
  width: auto;
}

.logo-isotipo {
  height: 24px; /* Smaller */
}

.logo-logotipo {
  height: 16px; /* Smaller */
}

/* Green bar below navbar */
.navbar-green-bottom {
  background-color: var(--baz-green);
  height: 8px; /* Match reference image thickness */
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.hero-section {
  background-color: #fff; /* Or a very light grey if needed */
  margin-top: 0; /* No margin above hero section */
}

/* Hero row height determined by content */
/* align-items: center is set on the row in HTML */

.hero-image-container {
  overflow: hidden;
}

.hero-image {
  width: 100%; /* Fit the column width */
  height: auto; /* Maintain aspect ratio */
  /* Removed object-fit and max/auto dimensions */
  display: block;
}

.hero-text-container {
  display: flex;
  align-items: center; /* Vertically center the inner text div */
}

.hero-text {
  width: 75%; /* Slightly wider text block */
  margin-top: 5rem;
}

.hero-text h1 {
  font-weight: 700; /* Bold */
  font-size: calc(1rem + 1vw); /* Responsive font size */
  color: #000000; /* Pure black for heading */
  margin-bottom: 16px; /* Reduced space below heading to bring paragraph closer */
  text-align: left;
}

.hero-text p {
  font-weight: 400; /* Regular */
  font-size: calc(0.8rem + 0.5vw); /* Responsive font size */
  line-height: 1.1;
  color: #333333; /* Dark gray for paragraph */
  text-align: left;
  margin-top: 0; /* Ensure no extra space above */
  margin-bottom: 0;
  color: gray;
}

/* Tabs Section */
.tabs-section {
  padding: 1rem 0 0;
  min-height: 200px; /* Match the visual height range mentioned */
  display: flex;
  align-items: center;
  background-color: #fff;
}

.tabs-wrapper {
  position: relative; /* This is critical for absolute positioning */
  display: flex;
  justify-content: center;
  gap: 24px; /* Exactly 24px gap between tabs */
}

/* Remove the continuous underline approach - using button-specific underlines instead */
.tabs-wrapper::before {
  content: none; /* Disable the shared underline */
}

/* Base styles for all button underlines */
.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -3px; /* Position below the button */
  left: -15%; /* Extend 15% to the left */
  width: 130%; /* Button width + 15% on each side */
  height: 3px;
  background-color: rgba(0, 128, 72, 0.3); /* Semi-transparent by default */
  transition: all 0.3s ease;
}

/* Both button underlines extend 15% beyond their button on both sides using the base styles */

/* Active button underline */
.tab-btn.active::after {
  background-color: var(--baz-green); /* Solid green for active button */
  border: 3px solid var(--baz-green); /* Solid border */
}

/* Tab Content Styles */
.tab-content-container {
  background-color: #fff;
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

/* Headings and Text */
.section-heading {
  font-weight: 600;
  font-size: 28px;
  color: #000000;
  margin-bottom: 1.5rem;
}

.section-paragraph {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 2rem;
}

/* Callout Block */
.callout-block {
  background-color: #f5f5f5;
  border-left: 4px solid #008048;
  padding: 1.5rem;
  background: none;
  border: none;
  padding: 0;
}

.callout-text {
  font-weight: 600;
  font-size: 20px;
  color: #008048;
  margin: 0;
}

.note-text {
  font-style: italic;
  font-size: 16px;
  color: #666666;
  margin-top: 0.5rem;
}

/* Info Cards */
.card-section {
  margin-top: 3rem;
}

.download-box {
  width: 100%;
  max-width: 400px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.download-text {
  flex: 1;
  text-align: left;
}

.download-title {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  margin-bottom: 0.5rem;
}

.download-link {
  font-weight: 700;
  font-size: 14px;
  color: #009f4d;
  text-decoration: none;
}

.download-link:hover {
  text-decoration: underline;
}

.download-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #006341;
  border-radius: 50%;
  margin-left: 1rem;
}

.download-icon {
  width: 20px;
  height: 20px;
}

.info-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-image-placeholder {
  height: 120px;
  background-color: #e9e9e9;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.card-heading {
  font-weight: 600;
  font-size: 18px;
  color: #008048;
  margin-bottom: 0;
  text-align: center;
}

/* Animation */
.fade-in {
  animation: fadeIn 0.8s ease-in forwards;
}

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

/* Asistencia Funeraria Section Styles */
.asistencia-section {
  background-color: #f6f6f6;
  padding-top: 3rem;
  margin-top: 0;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.asistencia-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0 3rem;
}

.asistencia-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: start;
  padding-top: 2rem;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}

.asistencia-left {
  width: 100%;
  max-width: 400px;
  margin-bottom: 2rem;
  text-align: left;
}

.asistencia-left ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.asistencia-left li {
  margin-bottom: 0.5rem;
}

.asistencia-right {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  gap: 1rem;
  margin: 0 auto;
}

.asistencia-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  text-align: left;
  width: 100%;
}

.asistencia-icon {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

.asistencia-section h3,
.asistencia-section strong {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.75rem;
  text-align: left;
  display: block;
  margin-top: 1.2rem;
}

.asistencia-section ul {
  list-style-type: disc;
  margin-bottom: 1rem;
}

.asistencia-section li {
  font-size: 15px;
  line-height: 1.1;
  margin-bottom: 8px;
  text-align: left;
}

.asistencia-footnote {
  font-size: 14px;
  color: #666666;
  font-style: italic;
  text-align: left;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.asistencia-card {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.asistencia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Service Flip Cards Styles */
.service-flip-card {
  background-color: transparent;
  width: 100% !important;
  max-width: 300px !important;
  perspective: 1000px; /* 3D effect */
  margin: 15px 5px 45px;
  position: relative;
  width: 205px !important;
  min-width: 189px !important;
  height: 350px !important;
  cursor: pointer;
}

.service-flip-card-inner {
  position: relative;
  width: 100% !important;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.service-flip-card.flipped .service-flip-card-inner {
  transform: rotateY(180deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-flip-card-front,
.service-flip-card-back {
  position: absolute;
  width: 100% !important;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  line-height: 1.1;
}

.service-flip-card-front {
  justify-content: center;
  padding: 15px;
}

.service-flip-card-back {
  justify-content: flex-start;
  padding-top: 5px;
  transform: rotateY(180deg);
  padding: 0.5rem 1.3rem;
}

.service-flip-card-back p,
.service-flip-card-back li {
  line-height: 1.2;
  margin-bottom: 3px;
  font-size: 14px;
}

.service-card-subtitle {
  align-self: start;
}

.service-card-list {
  list-style-type: none;
  padding-left: 17px;
}

.service-card-list li {
  font-size: 14px;
}

.flip-icon {
  width: 25px;
  height: 25px;
  position: absolute;
  bottom: 5px;
  right: 5px;
  opacity: 0.7;
}

.service-card-icon {
  width: 80px;
  height: 80px;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #008048;
  margin: 10px 0 5px 0;
  padding: 0 5px;
  text-align: center;
  line-height: 1.2;
}

.download-icon {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 50%;
  margin-bottom: 15px;
}

.download-btn {
  display: inline-block;
  background-color: #008048;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #006036;
  text-decoration: none;
  color: white;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .asistencia-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2rem;
  }

  .asistencia-left {
    width: 40%;
    max-width: 40%;
    margin-bottom: 0;
  }

  .asistencia-right {
    width: 60%;
    max-width: 60%;
    justify-content: flex-start;
  }
}

@media (min-width: 992px) {
  .asistencia-left {
    width: 35%;
    max-width: 35%;
  }

  .asistencia-right {
    width: 65%;
    max-width: 65%;
  }
}
@media (max-width: 992px) {
  .hero-text {
    width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 767px) {
  .asistencia-content {
    padding: 0;
    justify-content: start;
  }

  .service-flip-card {
    max-width: 260px !important;
    height: 260px;
    margin: 10px auto 40px;
  }

  .asistencia-section h2 {
    font-size: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .asistencia-icon {
    margin-right: 0;
    margin-bottom: 8px;
  }

  .asistencia-footnote br {
    display: none;
  }
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: #e5f4ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 12px;
}

.card-download {
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

/* FAQ Section Styles */
.faq-section {
  background-color: #f9f9f9;
  margin-bottom: 30px 0;
}
.accordion {
  box-shadow: 2px 2px 8px rgb(221 221 221);
}
.accordion-button {
  font-weight: 700;
  font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
  background-color: #ffffff;
  box-shadow: none;
}

.accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23008048'%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");
  transition: transform 0.2s ease-in-out;
}

/* FAQ Icon styling */
.faq-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #008048;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.faq-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-button.collapsed .faq-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.accordion-button:not(.collapsed) .faq-icon::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

/* FAQ list styling */
.accordion-body ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.accordion-body li {
  margin-bottom: 8px;
  position: relative;
  list-style-type: none;
  padding-left: 15px;
}

.accordion-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: #008048;
  border-radius: 50%;
}

/* Folletos y Legales Section */
.phone-save-note {
  color: #008048;
  font-size: 16px;
  text-align: center;
  margin: 15px 0;
  padding: 10px;
  background-color: #f0f9f2;
  border-radius: 5px;
  border-left: 4px solid #008048;
}

/* Folletos y Legales Section */
.folletos-section {
  padding: 2rem 0;
  background-color: #ffffff;
}

.folletos-wrapper {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #006341;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.folletos-icon {
  width: 60px;
}

.folletos-title {
  font-weight: 700;
  font-size: 22px;
  color: #333;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* Terms and Conditions Card */
.terms-card {
  width: 100%;
  max-width: 280px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid #e0e0e0;
}

.terms-content {
  flex: 1;
  padding: 8px;
  text-align: left;
}

.terms-title {
  font-weight: 600;
  font-size: 0.7rem;
  color: #333333;
  margin-bottom: 8px;
}

.terms-link {
  font-weight: 700;
  font-size: 16px;
  color: #008048;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.terms-icon-container {
  background-color: #f2f2f2;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.terms-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.legal-content {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

.legal-heading {
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.legal-subheading {
  font-weight: 700;
  font-size: 16px;
  color: #333;
  margin-bottom: 1rem;
}

.legal-paragraphs p {
  font-size: 15px;
  line-height: 1.2;
  color: #333;
  margin-bottom: 0.5rem;
}

.folletos-content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  text-align: left;
  width: 100%;
  align-self: flex-start;
}

.download-icon {
  width: 60px;
  height: 60px;
  background-color: #e5f4ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px 0;
}

.download-icon img {
  width: 30px;
  height: 30px;
}

.download-title {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 20px;
}

.download-button-container {
  width: 100%;
}

.download-button {
  display: inline-block;
  background-color: #008048;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #006838;
  color: #ffffff;
}

.legal-disclaimer {
  width: 100%;
}

.disclaimer-title {
  font-size: 15px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 15px;
  text-align: left;
}

.disclaimer-text {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  text-align: left;
}

.disclaimer-text p {
  margin-bottom: 10px;
}

/* Flip Cards */
.flip-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: -15px;
  margin-bottom: 30px;
}

.flip-card {
  perspective: 1000px; /* Define la perspectiva para el efecto 3D */

  background-color: transparent;
  width: 280px;
  height: 420px;
  perspective: 1000px;
  cursor: pointer;
  margin-bottom: 20px;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: none;
  border-radius: 0;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  /* transform: rotateY(180deg); */
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-front {
  border-radius: 0;
  background-color: transparent;
  color: black;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: rotateY(0deg);
}

.flip-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: transparent;
  padding: 0;
  display: block;
}

.flip-card-back {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  transform: rotateY(180deg);
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 280px;
  height: 440px;
  border-radius: 8px;
}

.flip-card-back h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  padding-top: 2rem;
}

.flip-card-back ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.flip-card-back li {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
  text-align: left;
}

.flip-card-back p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: auto;
  margin-bottom: 15px;
}

.flip-card-phone {
  font-size: 24px !important;
  font-weight: bold;
  margin: 15px 0 !important;
  text-align: center;
}

.flip-card-phone-light {
  font-size: 20px !important;
  font-weight: bold;
  margin: 15px 0 !important;
  text-align: center;
}

.flip-card-button {
  display: inline-block;
  background-color: var(--baz-green);
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 2rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
}

.flip-card-button:hover {
  background-color: #006838;
  color: white;
}

.flip-card-border {
  box-shadow: 3px 4px 10px rgb(207, 207, 207);
  padding: 0 1.3rem 0.5rem;
  border-radius: 1rem;
  height: inherit;
}

.flip-card-border .flip-icon {
  bottom: 36px;
  right: 28px;
}

@media (max-width: 991px) {
  .flip-cards-container {
    justify-content: center;
  }

  .flip-card {
    width: 260px;
    height: 400px;
    margin: 0 auto 30px;
  }

  .hero-text {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .flip-card {
    width: 100%;
    max-width: 280px;
    height: 420px;
    margin: 0 auto 20px;
  }
}

/* Facturación Footer */
.facturacion-footer {
  padding: 16px 0;
}

.facturacion-title {
  font-size: 16px;
  font-weight: bold;
  padding-left: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Cuenta Mode Content Styles - CUENTO CON LA ASISTENCIA FUNERARIA */
.cuenta-mode-content {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  text-align: center;
}

.cuenta-heading {
  font-size: 22px;
  font-weight: bold;
  color: #000000;
  text-align: center;
  margin-bottom: 24px;
}

.cuenta-paragraph-wrapper {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 24px;
}

.cuenta-paragraph {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.65;
  color: #333333;
  text-align: center;
  margin: 0 0 8px 0;
}

.cuenta-paragraph-continuation {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.65;
  color: #333333;
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
}

.cuenta-callout {
  font-size: 18px;
  font-weight: normal;
  color: #333333;
  text-align: center;
  margin-bottom: 24px;
  background: none;
  border: none;
}

.phone-number {
  color: var(--baz-green);
  font-weight: bold;
  text-decoration: none;
}

.cuenta-note {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.5;
  color: #666666;
  text-align: center;
  margin-bottom: 24px;
}

/* No Cuenta Content Styles */
.nocuenta-mode-content {
  padding: 0 0 12px 0;
}

.centered-text-container {
  max-width: 800px;
  margin: 0 auto;
}

.support-text-secondary {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 2rem;
}

.azteca-link {
  color: #008048;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.azteca-link:hover {
  color: #006036;
}

.assistance-image-container {
  max-width: 400px;
  margin: 0 auto;
}

.assistance-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-weight: 600;
  font-size: 28px;
  color: #000000;
  margin-bottom: 1.5rem;
}

.assistance-paragraph {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 1.5rem;
}

.assistance-followup {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  font-style: italic;
}

/* Features Section */
.features-container {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  border-radius: 50%;
  overflow: hidden;
}

.feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.feature-title {
  font-weight: 600;
  font-size: 18px;
  color: #008048;
  margin-bottom: 1rem;
  text-align: center;
}

.feature-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
  text-align: center;
}

.tab-btn {
  position: relative;
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 400; /* Regular weight for inactive */
  color: #666666; /* Inactive color */
  /* transition: color 0.2s ease; */
}

.tab-btn.active {
  font-weight: 600; /* Semibold weight for active */
  color: var(--baz-green); /* Green color */
}

/* Remove the active button underline - we're using the gradient instead */
.tab-btn::before {
  content: none;
}

.tab-btn span {
  position: relative;
  display: inline-block; /* Allows the underline to match text width */
  padding-bottom: 0; /* Remove padding */
  margin-bottom: 0; /* Reduce space between lines */
  line-height: 1.1; /* Tighter line spacing */
}

.support-text {
  font-size: 14px;
  color: #666666;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
}

.azteca-link:hover {
  color: #00663f; /* Slightly darker on hover */
}

/* Service Info Section */
.service-info {
  padding: 4rem 0;
}

.flip-card-icon {
  width: 50px;
  height: 50px;
  position: fixed;
  justify-self: anchor-center;
  align-self: center;
  top: 0px;
}

.protegerte-section {
  padding: 0 1rem;
  background-color: #fff;
  margin-bottom: 2rem;
}

.protegerte-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.protegerte-item {
  flex: 1;
  min-width: 280px;
  max-width: 250px;
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.protegerte-content {
  flex-direction: column;
  align-items: center;
}

.protegerte-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: #e5f4ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protegerte-title {
  font-weight: 700;
  line-height: 1.2;
  font-size: 1.125rem;
}

.protegerte-text {
  color: #333333;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.section-title {
  font-weight: 600;
  font-size: 1.75rem;
  color: #000000;
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .protegerte-container {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .protegerte-content {
    flex-direction: row;
  }

  .protegerte-item {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    text-align: left;
    align-items: start;
  }

  ._365-dias {
    flex-direction: column;
  }
}

.section-title {
  font-size: 1.5rem;
  padding: 0 1rem;
}

.protegerte-text {
  font-size: 0.875rem;
}

/* Los 365 días, las 24 horas Section */
.dias-horas-section {
  background-color: #ffffff;
  margin-bottom: 1.5rem;
}

.dias-horas-phone-container {
  width: 100%;
  max-width: 250px;

  & img {
    width: 90%;
    height: auto;
    object-fit: contain;
  }
}

.dias-horas-phone-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.dias-horas-title {
  font-weight: 600;
  font-size: 1.75rem;
  color: #000000;
  margin-bottom: 1.5rem;
  text-align: left;
}

.dias-horas-text {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 1rem;
}
._365-text {
  text-align: left;
  width: 70%;
}

@media (max-width: 768px) {
  ._365-text {
    text-align: left;
    width: 100%;
  }

  .dias-horas-phone-container {
    max-width: 200px;
  }

  .dias-horas-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .dias-horas-text {
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

.floating-card {
  position: fixed;
  top: 40%;
  right: 0;
  width: 250px;
  height: auto;
  background-color: white;
  border: 1px solid rgb(216, 216, 216);
  border-radius: 1.5rem 0 0 1.5rem;
  padding: 0.8rem;
  box-shadow: 3px 2px 10px rgb(145, 145, 145);
  line-height: 1.2;
  font-size: 0.8rem;
  transform: translate(75%);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  z-index: 99999;
}

.floating-card button,
.floating-card a {
  border-radius: 2rem;
  border: none;
  color: white;
  background-color: var(--baz-green);
  padding: 3px 7px;
  text-decoration: none;
}

.floating-card img {
  width: 40px;
}

.floating-card-visible {
  transform: translate(0);
  transition: transform 0.3s ease-in-out;
}

.floating-card-content div:nth-child(2) {
  width: 100%;
}

.floating-card:nth-of-type(2) {
  top: calc(40% + 6rem);
}

.protegerte-span {
  align-self: start;
  margin-left: 0;
  width: 50%;
  height: 30px;
  margin-left: 2.5rem;
  border-left: 2px solid black;
}

@media (min-width: 768px) {
  .protegerte-span {
    align-self: start;
    width: 60px;
    height: 30px;
    margin-left: 0;
    margin-top: 40px;
    border-left: none;
    border-top: 2px solid black;
  }
  .protegerte-container {
    gap: 0;
  }
}

/* utilities */

.m-none {
  margin: 0 !important;
}

.baz-green {
  color: var(--baz-green);
}
.baz-green-light {
  color: var(--baz-green-light);
}

.underline-none {
  text-decoration: none !important;
}

.flipped-180 {
  transform: rotateY(180deg);
}
.d-none {
  display: none !important;
}