:root {
  --primary-color: #cea66d;
  /* Primary color for headings and buttons */
  --secondary-color: #d4895c;
  /* Secondary color for icons and buttons */
  --gray-color: #404040;
  --primary-font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  --secondary-font: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  --mac-color: #fed97d;

  --tundra-primary-color: #5f7d4f;
  --tundra-secondary-color: #a6c198;
  --tundra-color: #8da37c;
}

/* Brand theming removed for Tundra; use global vars */

/* utilities like tailwing m and p */
.m-4 {
  margin: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.m-8 {
  margin: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.m-16 {
  margin: 4rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

html {
  font-family: var(--primary-font);
}

body {
  font-family: var(--primary-font);
  font-size: 16px;
  /* Adjust base font size as needed */
  margin: 0;
  padding: 0;
  color: var(--gray-color);
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--secondary-font), sans-serif;
  margin: 0.5em 0;
  /* Adjust spacing around headings */
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  font-size: 2.5em;
  /* Larger size for main heading */
}

h2 {
  font-size: 2em;
  /* Adjust sizes as needed for other headings */
}

h2 strong {
  color: var(--secondary-color);
  /* Your secondary color for emphasis */
}

h3 {
  font-size: 1.75em;
}

h4,
h5,
h6 {
  font-size: 1.5em;
  /* Adjust as needed */
}

p {
  line-height: 1.5;
  /* Improved readability */
  margin-bottom: 1em;
  /* Space between paragraphs */
}

.container-ka {
  max-width: 65ch;
  margin: 0 auto;
  padding: 0 15px;
  /* Maintains padding on the sides */
}

section h2 {
  color: var(--primary-color);
}

/* Adjust other specific styles as needed for your design */
section p {
  font-size: 1.2em;
  /* Slightly larger paragraph text */
}

/* Continue adjusting as necessary based on your layout */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.header-content h2 {
  font-size: 2em;
  /* Increased size */
  font-weight: 600;
  /* Bolder */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* Text shadow for depth */
}

.header-content p {
  font-size: 1.5em;
  /* Slightly larger paragraph text */
}

.feralka-header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translate(-50%, -50%);
}

.header {
  height: 100vh;
  display: flex;
  justify-content: space-between;
  text-align: center;
  background-size: cover;
}

.mac-header {
  height: 65vh;
}

.mac-header .header-content {
  height: 100%;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
}

.mac-header > div {
  z-index: 1;
}

.mac-header:before {
  position: absolute;
  content: "";
  height: 0;
  width: 100%;
  padding-top: 65vh;
  background: url("https://www.piensoferal.es/wp-content/uploads/2024/08/MACs_Header_n-1.jpg") no-repeat center center;
  background-position-x: 16%;
  background-size: cover;
}

.feralka-header {
  height: 100vh;
  display: flex;
  justify-content: space-between;
  text-align: center;
  background: url("https://www.piensoferal.es/wp-content/uploads/2025/05/ka-bg-01-scaled-1.jpg") no-repeat center center;
  background-size: cover;
}

.header-content {
  display: flex;
  flex-direction: column;
  color: white;
  padding: 1em;
  margin: 0 auto;
  /* Center the content */
  background: rgba(0, 0, 0, 0.4);
  /* Semi-transparent background for better readability */
  animation: fadeIn 2s ease-out;
  height: auto;
  /* Let the content dictate the height */
  font-size: 1em;
}

.header-content h2 {
  font-size: 1.5em;
  /* Smaller font size for mobile */
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.header-content p {
  font-size: 1em;
  /* Adjust font size for paragraph */
}

.mac-bg {
  background-color: var(--mac-color);
  padding-bottom: 3em;
}

.tundra-bg {
  background-color: var(--tundra-color);
  padding-top: 1em;
  padding-bottom: 1em;
}

.productos-mac {
  padding: 4em 0;
  background: #fff;
  color: var(--gray-color);
}

.productos-mac :is(h2, h3) {
  color: var(--primary-color);
}

/* Tundra variant */
.productos-tundra {
  padding: 4em 0;
  background: #fff;
  color: var(--gray-color);
}

.productos-tundra h2 {
  color: var(--tundra-primary-color);
}

.productos-tundra h3 {
  color: var(--tundra-secondary-color);
  margin-bottom: 2em;
}

/* Responsive layout for Productos Tundra blocks */
.productos-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 1rem;
}

.productos-flex .productos-text,
.productos-flex .productos-image {
  flex: 0 0 100%;
}

@media (min-width: 1024px) {
  .productos-flex {
    flex-direction: row;
  }
  .productos-flex .productos-text {
    flex: 0 0 66.6667%;
  }
  .productos-flex .productos-image {
    flex: 0 0 33.3333%;
  }
}

.testimonials .grid p {
  font-size: inherit;
}

@media (min-width: 768px) {
  .mac-header {
    height: calc(39vw - 10px);
  }

  .mac-header:before {
    padding-top: 39%;
  }
}

.unique-value-proposition {
  padding: 4em 0;
  background: #fff;
  /* Or another light color from your palette */
  color: var(--gray-color);
  /* Dark text color for readability */
}

.unique-value-proposition .container-ka {
  margin: 0 auto;
  padding: 0 15px;
  /* Padding on the sides */
}

.unique-value-proposition :is(h1, h2) {
  color: var(--primary-color);
  /* Primary brownish color for headings */
  text-align: center;
}

.unique-value-proposition .pillars {
  margin: 5em auto 2em;
}

.pillars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
  margin: 0 auto;
}

.pillars.pillars-columns {
  flex-direction: column;
  /* Stacks the pillars horizontally */
}

.pillar {
  flex: 1;
  /* Allows each pillar to grow equally */
  padding: 1em 1em;
  /* Adds some padding around each pillar */
  background: #f4f4f4;
  border-radius: 1em;
  margin: 1em;
}

.pillars.pillars-columns .pillar {
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 1em 2em;
  margin: 0;
}

.pillars.pillars-columns .pillar *:first-child {
  flex: 1 0 10%;
  text-align: center;
}

@media (min-width: 768px) {
  .pillars {
    flex-direction: row;
    /* Stacks the pillars vertically on smaller screens */
  }

  .unique-value-proposition .pillar {
    margin: 0;
  }
}

.unique-value-proposition .pillar i {
  font-size: 2em;
  /* Adjust size */
  color: var(--secondary-color);
  /* Secondary color for icons */
  margin-bottom: 0.5em;
}

.pillar {
  margin-bottom: 1.5em;
}

.pillar h3 {
  color: var(--primary-color);
  /* Use the same brownish color for sub-headings */
  margin-bottom: 0.5em;
}

.pillar p {
  line-height: 1.6;
  /* Enhance readability */
  margin-bottom: 1em;
}

.value-icons {
  display: flex;
  justify-content: space-between;
  margin-top: 2em;
}

.value-icons .icon {
  flex-basis: calc(33.333% - 20px);
  /* Divide the space into three for the icons, minus margin */
  text-align: center;
}

.value-icons .icon img {
  max-width: 100px;
  /* Or your preferred size */
  margin-bottom: 0.5em;
}

.star-products {
  background-color: #f9f9f9;
  /* A light background to distinguish the section */
  padding: 4em 0;
}

.star-products .container-ka {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em;
}

.star-products .product .product-image {
  width: 100%;
  /* Adjust the width as necessary */
  max-width: 100%;
  /* Set a max-width for the images */
  height: auto;
  border-radius: 10px;
  /* Optional: Adds rounded corners to your images */
  margin-bottom: 1em;
  /* Adds space between the image and the product title */
}

@media (min-width: 768px) {
  .star-products .product .product-image {
    max-width: 70%;
    /* Makes image full width on smaller screens */
  }
}

.star-products .container-ka,
.unique-value-proposition .pillars,
.vender-nuestros-productos .pillars {
  max-width: 1400px;
}

.star-products h2 {
  color: var(--primary-color);
  /* Primary color for section headings */
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 2em;
  /* Space between the title and the products */
}

.star-products .product {
  text-align: center;
  flex: 1 1 100%;
  color: #ffffff;
  background-color: var(--secondary-color);
  /* Updated secondary color for product boxes */
  /* White background for product cards */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Soft shadow for depth */
  margin-bottom: 2em;
  /* Space between product cards */
  padding: 2em;
  /* Padding inside product cards */
  border-radius: 1.5em;
  /* Optional: rounded corners for the cards */
}

.star-products .product h3 {
  color: #fff;
  /* Darker text for product titles */
  margin-top: 0;
  font-size: 1.5em;
}

.star-products .product p {
  font-size: 1.2em;
  line-height: 1.6;
  /* Improved readability for product descriptions */
}

@media (min-width: 768px) {
  .star-products .product {
    flex: 1 1 0;
    /* Allows for two items per row at 45% width each */
  }

  .star-products .product h3 {
    font-size: 2em;
  }
}

.testimonials,
.about-us,
.call-to-action {
  margin-top: 30px;
}

.testimonials {
  background-color: #ffffff;
  /* A clean background to keep the focus on testimonials */
  padding: 4em 0;
  overflow: hidden;
}

.testimonials .container-ka :is(h1, h2),
.distribuidores-oficiales :is(h1, h2) {
  text-align: center;
  color: var(--primary-color);
  /* Using the primary color for consistency */
  font-size: 2.5em;
  margin-bottom: 1em;
  /* Space between title and content */
}

.testimonials .container-ka p {
  max-width: 700ch;
  /* Consistent with the container max-width adjustment */
  margin: 0 auto 2em;
  /* Centering the text and providing spacing */
  font-size: 1.2em;
  line-height: 1.6;
  color: #555;
  /* A slightly softer color for readability */
}

/* Assuming you might add testimonial blocks/cards */
.testimonial {
  background: #f9f9f9;
  /* A subtle background for each testimonial */
  border-radius: 8px;
  /* Optional: rounded corners */
  padding: 2em;
  /* Padding inside each testimonial card */
  margin-bottom: 2em;
  /* Space between testimonial cards */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Soft shadow for depth */
}

.testimonial p {
  font-style: italic;
  /* A stylistic choice for testimonials */
}

@media (max-width: 768px) {
  .testimonial {
    padding: 1em;
  }
}

.about-us {
  background-color: #f0f0f0;
  /* Light background for contrast */
  padding: 4em 0;
}

.about-us h2 {
  text-align: center;
  color: var(--primary-color);
  /* Primary color for headings */
  font-size: 2.5em;
  margin-bottom: 1em;
}

.about-us p {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 700ch;
  margin: 0 auto;
  /* Center the text block for better readability */
}

.content-image {
  max-width: 200px;
  display: block;
  margin: 3em auto 1em;
}

.about-us + section {
  margin-top: 0;
}

.cta-button {
  display: block;
  background-color: var(--primary-color);
  /* Example blue color, adjust as needed */
  color: white;
  padding: 1.5em 1em;
  text-decoration: none;
  border-radius: 1em;
  transition: background-color 0.3s;
  max-width: 30ch;
  font-size: 1em;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  font-weight: bold;
  margin: 0em auto 4em;
  text-align: center;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  /* Darker blue on hover */
}

/* Variant: Read Now button (left-aligned, green) */
.read-now-button {
  /* Remove auto side margins that center the base button */
  margin: 2em 0 4em 0;
  /* Keep it from stretching full width if desired */
  display: inline-block;
  /* Use Tundra green */
  background-color: var(--tundra-primary-color);
  /* Thinner than the base CTA */
  padding: 1em 3em;
  border-radius: 0.6em;
  font-size: 0.8em;
}

.read-now-button:hover {
  background-color: var(--tundra-secondary-color);
}

/* Utility: Tundra green text color */
.tundra-green-text {
  color: var(--tundra-primary-color);
}

/* Increase specificity to beat section-level h2/h3 color rules */
.productos-tundra .tundra-green-text {
  color: var(--tundra-primary-color);
}

.call-to-action {
  background-color: var(--primary-color);
  /* Use the primary color to highlight the CTA */
  color: #ffffff;
  /* White text for contrast */
  padding: 4em 0;
  text-align: center;
  /* Center everything for emphasis */
}

.call-to-action h2 {
  color: white;
  font-size: 2.5em;
  margin-bottom: 1em;
}

.call-to-action p {
  font-size: 1.2em;
  margin-bottom: 2em;
}

/* Style for a button if you have one */
.call-to-action button {
  font-size: 1.2em;
  padding: 0.5em 2em;
  background-color: #ffffff;
  color: var(--primary-color);
  border: 2px solid #ffffff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.call-to-action button:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.feralka-footer {
  background-color: var(--gray-color);
  /* Dark background for contrast */
  color: #ffffff;
  /* White text for readability */
  padding: 5em 0 3em;
  text-align: center;
  /* Centralize footer content */
  font-size: 0.8em;
}

.feralka-footer p {
  margin: 0.5em 0;
  /* Keep the footer text compact */
  font-size: 1.2em;
}

.feralka-footer a {
  color: var(--primary-color);
  /* Use the primary color for links */
  text-decoration: none;
  /* Optional: removes underline from links */
}

.feralka-footer a:hover {
  text-decoration: underline;
  /* Adds underline on hover for better interaction */
}

.logos {
  display: flex;
  justify-content: center;
  /* Aligns items horizontally */
  align-items: center;
  /* Aligns items vertically */
  padding: 20px;
  /* Add padding as necessary */
  /* Or any color that fits your footer's design */
}

.logo {
  max-width: 40%;
  /* Adjust to control the size of your logos */
  height: auto;
  margin: 0 10px;
  /* Add margin for spacing between logos */
  image-rendering: -webkit-optimize-contrast;
}

.footer-logo {
  max-width: 8em;
  /* Adjust to control the size of your logos */
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
  .footer-logos {
    flex-direction: column;
    /* Stack logos vertically on smaller screens */
  }

  .footer-logo {
    margin: 10px 0;
    /* Adjust margin for vertical stacking */
  }

  .value-icons {
    flex-direction: column;
    align-items: center;
  }

  .value-icons .icon {
    margin-bottom: 2em;
    flex-basis: 100%;
  }
}

/* Mailchimp Form Styling */
#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"],
#mc_embed_signup select,
#mc_embed_signup .button {
  border-radius: 15px;
  /* Rounded corners for inputs and button */
  padding: 15px 20px;
  /* Larger padding for bigger touch targets */
  width: 100%;
  /* Makes sure the input fields take up the full width of the form area */
  margin-bottom: 10px;
  /* Adds space between each field */
  border: 1px solid #ccc;
  /* Optional: adds a border */
  font-size: 1em;
}

#mc_embed_signup .button {
  background-color: var(--secondary-color);
  /* Uses the secondary color for the button background */
  color: white;
  font-size: 1.1em;
  /* Larger font size for the button */
  border: none;
  /* Removes the border for the button */
  cursor: pointer;
  /* Shows a pointer cursor when hovering over the button */
  transition: background-color 0.3s ease;
  /* Smooth transition for hover effect */
  height: auto;
  margin-top: 0.8em;
}

#mc_embed_signup .button:hover {
  background-color: var(--secondary-color);
  /* Slightly darkens the button color on hover */
}

#mc_embed_signup {
  font-family: var(--primary-font), sans-serif;
  /* Optional: changes the font family */
}

#mc_embed_signup .mc-field-group label {
  display: block;
  /* Makes the label display on its own line above the input */
  margin-bottom: 5px;
  /* Adds some space below the label */
}

/* Specific styles for checkbox group */
#mc_embed_signup .mc-field-group input[type="checkbox"] {
  margin-right: 5px;
  /* Spacing between the checkbox and the label */
}

#mc_embed_signup .mc-field-group input[type="checkbox"] + label {
  display: inline-block;
  /* Aligns the checkbox label on the same line as the checkbox */
}

#mc_embed_signup .mc-field-group label {
  font-size: 1.2em;
  /* Larger font size for labels */
}

#mc_embed_signup form label {
  padding-bottom: 0.5em;
  display: inline-block;
}

.mc-field-group-feral.input-group ul {
  list-style: none;
  padding: 0;
}

#mc_embed_signup input[type="checkbox"] {
  zoom: 1.8;
  vertical-align: middle;
}

.pipedriveWebForms {
  height: auto !important;
}

.language-selector {
  position: absolute;
  top: 10px;
  /* Adjust as needed for your layout */
  right: 10px;
  /* Adjust as needed for your layout */
  text-align: right;
}

.language-selector button {
  background: none;
  border: none;
  color: #e9e9e9;
  /* Color of the text */
  font-size: 1em;
  /* Size of the text */
  cursor: pointer;
  padding: 5px 10px;
  margin-left: 5px;
  /* Spacing between buttons */
  transition: color 0.3s ease;
}

.language-selector button:hover {
  color: var(--secondary-color);
  /* Highlight color on hover */
}

/* Position language selector at the top for larger screens */
.language-selector {
  position: absolute;
  top: 10px;
  right: 10px;
  text-align: right;
}

@media (min-width: 768px) {
  .feralka-header {
    align-items: flex-end;
    /* Aligns content to the center on mobile */
    justify-content: center;
  }

  .header-content {
    max-width: 70ch;
    background: rgba(0, 0, 0, 0);
    border-radius: inherit;
    padding: 1.5em;
    align-items: center;
    height: 90%;
    font-size: 1.2em;
  }

  .header-content h2 {
    font-size: 2em;
    /* Adjust h2 font size for larger screens */
  }

  .header-content p {
    font-size: 1.5em;
    /* Adjust paragraph font size for larger screens */
  }

  .logo {
    max-width: 8em;
    /* Adjust to control the size of your logos */
  }
}

/* Slider */

.slick-prev,
.slick-next {
  color: #444;
  font-size: 24px;
  line-height: 1;
  background: transparent;
  border: none;
  padding: 10px;
}

/* Position the arrows */
.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}

/* Hover and active states */
.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
  color: #222;
  outline: none;
}

/* When using <button>, you might need to reset the user agent stylesheet */
button.slick-prev,
button.slick-next {
  -webkit-appearance: none;
  appearance: none;
}

.slick-slide {
  height: inherit;
}

.testimonial-slider .testimonial {
  font-style: italic;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  margin: 0 15px;
  border-radius: 10px;
  background: #fff;
  height: auto;
  /* Add more styles as needed */
  margin-bottom: 1em;
}

.testimonial-slider .testimonial p {
  font-size: 0.8em;
}
