@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap);
:root {
  /* Color */
  --lightest-highlight: #9effa5;
  --brown: #DFDAC4;
  --brown-darker: #4CA952;


  --dark-color: #000411; /* For dark colors in the web, highlights, overlays, backgrounds */
  --text-color: #000411; /* For texts */
  --accent-color: #DEF2C8; /* For buttons, CTAs, bold text */
  --highlight-color: #4CA952; /* For selected text, links, hover links */
  --lightest: #000411;


  /* Width */
  --lg: 80rem;
  --md: 50rem;
  --sm: 30rem;
}

/*
  Base
*/

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  font-family: 'Montserrat', sans-serif;

  background: var(--brown);
  font-weight: 300;
  box-sizing: border-box;
}





body {
  margin: 0;
}

h1, h2 {
  margin-top: 0;
  margin-bottom: 0.5rem; /* Reduced margin */
  font-weight: 600;
}

h1 {
  font-size: calc(1.2rem + 3vw);
}

h2 {
  font-size: calc(1.2rem + 2vw);
}

p {
  margin-top: 0;
  margin-bottom: 1rem; /* Reduced margin */
  line-height: 1.6rem; /* Reduced line height */
}

a {
  text-decoration: none;
  color: var(--lightest);
}

input,
textarea {
  font-family: inherit;
  color: inherit;
  padding: .2rem .5rem;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid;
}

input[type=submit] {
  cursor: pointer;
  margin-top: 2rem;
  align-self: center;
}

/*
  Utils, helpers
*/

.u-list-reset {
  list-style: none;
  padding-left: 0;
  margin: 0;
}




/* styles.css */

.cp-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--accent-color);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  max-height: 185px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.cp-banner-content {
  text-align: center;
}

.cp-banner-text {
  margin: 0;
  padding: 0.5rem 0;
  font-size: 0.7rem;
  line-height: 1.4;
}

.cp-banner-link {
  color: var(--highlight-color);
  text-decoration: none;
}

.cp-banner-link:hover {
  text-decoration: underline;
}

.cp-banner-buttons {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
}

.cp-banner-btn {
  background-color: var(--highlight-color);
  color: var(--lightest);
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
}

.cp-banner-btn:hover {
  background-color: var(--accent-color);
}

.cp-reject-btn {
  background-color: #ff3737; /* Red color for reject button */
}

.cp-reject-btn:hover {
  background-color: #9d1b1b;
}

/* Media Queries */
@media (max-width: 768px) {
  .cp-banner {
      bottom: 0.5rem;
      left: 0.5rem;
      width: 250px;
      padding: 0.8rem;
  }

  .cp-banner-text {
      font-size: 0.8rem;
  }

  .cp-banner-btn {
      padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .cp-banner {
      bottom: 0.5rem;
      left: 0.5rem;
      width: 200px;
      padding: 0.6rem;
  }

  .cp-banner-text {
      font-size: 0.7rem;
  }

  .cp-banner-btn {
      padding: 0.3rem 0.6rem;
      font-size: 0.8rem;
  }
}














/*
  Section
*/

.section {
    padding: 4rem 0;
    overflow-x: hidden;
  }
  #intro{
    height: 775px;
  }
  .section--intro {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
   
  }
  .section .section--intro {
    padding: 1.5rem 0;
    overflow-x: hidden;
  }
  
  .section--intro:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Antenistas_Villanueva_De_La_Cañada_Madrid_24h.webp"); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    z-index: -2;
  }
  
  .section--intro:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(54, 33, 62, 0.5); /* Adjust the color and opacity here */
    z-index: -1;
  }
  
  .overlay--intro {
    position: relative;
    z-index: 1;
  }
  
  .section--article {
    padding-top: 0; /* Remove padding-top if necessary */
    margin-top: 0; /* Remove margin-top if necessary */
}
  
  .section--footer {
    padding-bottom: 2rem;
  }

































/*
  Section
*/

.section {
    padding: 6rem 0;
    overflow-x: hidden;
  }
  
  .section--intro {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
   
  }
  .section .section--intro {
    padding: 1.5rem -2rem;
    overflow-x: hidden;
  }
  
  .section--intro:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/Antenistas_Villanueva_De_La_Cañada_Madrid_24h.webp"); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    z-index: -2;
  }
  
  .section--intro:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(54, 33, 62, 0.5); /* Adjust the color and opacity here */
    z-index: -1;
  }
  
  .overlay--intro {
    position: relative;
    z-index: 1;
  }
  
  .section--article {
    padding-bottom: 0;
  }
  
  .section--footer {
    padding-bottom: 3rem;
  }



















  /* Section: Services */
.section--services {
  padding: 4rem 0;
  background-color: var(--brown);
  color: var(--lightest);
  text-align: center;
}

.section--services .wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-item i {
  font-size: 2rem;
  color: var(--highlight-color);
}

.service-text h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--lightest);
  text-align: left;
}

.service-text p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--lightest);
  text-align: left;
}

/* Media Queries for Centering Text on Phone Screens */
@media (max-width: 768px) {
  .section--services .wrapper {
      flex-direction: column;
  }

  .service-item {
      flex: 1 1 100%;
  }

  .service-text h3,
  .service-text p {
      text-align: center;
  }
}






























/* Parallax Background */
.section {
  padding: 4rem 0; /* Adjust padding as necessary */
  overflow-x: hidden;
  margin: 0; /* Remove any default margin */
}

.section--services,
.section--services2 {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background-color: var(--accent-color);
  margin: 0; /* Remove extra margin */
}

/* Adjust specific sections' margins and paddings if necessary */
.section--services2 {
  margin-top: -4rem; /* If negative margin is intended */
}

.section--services:before,
.section--services2:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
}

.section--services:before {
  background-image: url("../images/Antenistas_Villanueva_De_La_Cañada_Madrid_Baratos.webp");
}

.section--services2:before {
  background-image: url("../images/Antenistas_Villanueva_De_La_Cañada_Madrid_Rapidos.webp");
}

.section--services:after,
.section--services2:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(54, 33, 62, 0.5);
  z-index: -1;
}

.overlay--services,
.overlay--services2 {
  position: relative;
  z-index: 1;
}

.wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 0; /* Remove default margin */
}






.service-item {
  display: flex;
  flex-direction: column;
  align-items: left;
  width: 100%;
  height: auto;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 2rem;
  z-index: 3;
}

.service-item i {
  font-size: 2rem;
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

.service-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--brown) !important;
}

.service-text h3 {
  margin: 0;
  font-size: 1.5rem;
  text-align: left;
  color: var(--brown) !important;
}

.service-text p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  text-align: left;
  color: var(--brown) !important;
}

/* Media Queries */
@media (min-width: 768px) {
  .service-item {
    flex-direction: row;
    align-items: flex-start;
    width: 60%; /* Adjust the width for larger screens */
    margin: 0 auto 2rem auto; /* Center the item */
  }

  .service-item i {
    align-self: flex-start;
  }

  .service-text {
    margin-left: 1rem;
  }

  .service-text h3, .service-text p {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .service-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-item i {
    align-self: center;
  }

  .service-text h3, .service-text p {
    text-align: center;
  }
}

































/* SECTION OUTRO CONTACT */

.section--outro {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section--outro:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/Antenistas_Villanueva_De_La_Cañada_Madrid_24h.webp"); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.section--outro:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 92, 189, 0.25); /* Adjust the color and opacity here */
  z-index: -1;
}

.overlay--outro {
  position: relative;
  z-index: 1;
}

.cta--outro {
  margin-top: 2rem;
  text-align: center;
}

.cta--outro p {
  font-size: 1.5rem; /* Increase font size */
  margin-bottom: 1rem;
  color: var(--lightest); /* Match the theme */
}

.cta--outro-button {
  display: inline-block;
  padding: 1rem 2rem; /* Increase padding */
  font-size: 1.5rem; /* Increase font size */
  font-weight: 600;
  color: var(--lightest);
  background-color: var(--brown-darker);
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 1rem;
}

.cta--outro-button:hover {
  background-color: transparent;
  color: var(--lightest);
  transform: scale(1.05);
  border: 1px solid var(--lightest);
}
 
#zonas{
  text-align: center !important;
}


#outro{
  color: var(--accent-color);
}

.cta--outro p{
  color: var(--accent-color);
}


























/*
  Overlay
*/

.overlay {
  position: relative;
}

.overlay:before {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: brightness(.8);
}

.overlay--intro:before {
  background-image: href("images/Antenistas_Villanueva_De_La_Cañada_Madrid_24h.webp");
  filter: brightness(.8);

}
.overlay--contact:before {
    background-image: url("images/Antenistas_Villanueva_De_La_Cañada_Madrid_24h.webp");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}







































/*
  Footer nav
*/

.footer-nav__list {
  display: grid;
  padding-left: 0;
  list-style: none;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 50rem) {
  .footer-nav__list {
    grid-template-columns: 1fr 1fr;
  }
}



















/*
  Address
*/

.address__list {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}


































/*
  Wrapper
*/

.wrapper {
  max-width: var(--lg);
  margin: 0 auto;
  padding: 0 0.5rem;
}

.wrapper--intro {
  margin: 12rem 0;
  text-align: center;
}

.wrapper--footer {
  display: grid;
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  align-items: flex-start;
}

.wrapper--copyright {
  margin-top: 4.5rem;
  text-align: center;
}

.wrapper--nav-area {
  display: grid;
  width: 100%;
  height: auto;
  align-items: center;
  grid-template-areas:
  "menuButton . logo"
  "menu menu menu";
}

@media (max-width: 49.999rem) {
  .wrapper--nav-area {
    grid-template-rows: auto 1fr;
    height: 40px;
  }

  .site-nav--is-open .wrapper--nav-area{
    height: calc(100vh - 1rem);
  }
}

@media (min-width: 30rem) {
  .wrapper--footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 50rem) {
  .wrapper--footer {
    grid-template-columns: 1fr 2fr;
  }

  .wrapper--nav-area {
    grid-template-areas: "menu logo";
  }
}






































/*
  Title
*/

.title {
  text-align: center; /* Center align for better readability */
  margin-top: 0;
  margin-bottom: 1rem; /* Adjusted margins */
}


.title--article {
  margin-bottom: 3rem;
  position: relative;
}

.title--article:after {
  content: "";
  display: block;
  width: 5rem;
  height: 1px;
  background-color: var(--lightest);
  margin: 2rem auto 0;
}

.title--intro {
  margin-bottom: 1.5rem;
  margin-top: -5rem;
  text-align: left;
  color: var(--accent-color);
}


 
 .title .h2{
  margin-top: 2rem;
 }


















 .subtitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.subtitle div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.2em;
  color: var(--accent-color); /* Text color */
}

.subtitle div i {
  margin-right: 1rem;
  color: var(--accent-color); /* Icon color */
}

@media (min-width: 768px) {
  .subtitle {
      align-items: flex-start;
  }

  .subtitle div {
      flex-direction: row;
  }
}

@media (max-width: 767px) {
  .subtitle {
      align-items: center;
  }

  .subtitle div {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .subtitle div i {
      margin-right: 0;
      margin-bottom: 5px;
  }
}

























.section--zones{
  text-align: center !important;
}



.title .title--outro h2{
  color: var(--accent-color) !important;
  text-align: center !important;
}































  .cta {
    margin-top: 2rem; /* Space above the CTA */
    text-align: left; /* Align text to the left */
  }
  
  .cta p {
    font-size: 1.2rem; /* Adjust as needed */
    margin-bottom: 1rem; /* Space below the text */
    color: var(--lightest); /* Match the theme */
  }
  
  .cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem; /* Padding inside the button */
    font-size: 1rem; /* Button text size */
    font-weight: 600; /* Bold text */
    color: var(--lightest); /* Button text color */
    background-color: var(--brown-darker); /* Button background color */
    border: none;
    border-radius: 0.5rem; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
  }
  
  .cta-button:hover {
    background-color: transparent; /* Change background on hover */
    color: var(--lightest); /* Ensure text color stays readable */
    transform: scale(1.05); /* Slightly enlarge the button */
    border: 1px solid var(--lightest); /* Add a border on hover */
  }



















































/*
  Article
*/

.excerpt {
  row-gap: 1.5rem;
  grid-template-columns: 1.5rem 1fr 1.5rem;
  grid-template-areas:
    "image image image"
    ". text .";
  display: grid;
  align-items: center;
  margin-bottom: 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-color: var(--brown);
}

.excerpt--reverse {
  justify-items: center;
  grid-template-areas:
  ". image ."
  ". text .";
}
.excerpt--reverse .excerpt__image-wrapper {
  margin-left: 2rem;
  margin-right: 0;
}
@media (min-width: 50rem) {
  .excerpt {
    grid-template-columns: 3rem 1fr calc(2rem + 5%) 1fr 3rem;
    grid-template-areas:
    "image image . text .";
  }

  .excerpt--reverse {
    justify-items: stretch;
    grid-template-areas:
    ". text . image image";
    flex-direction: row-reverse;

  }
}

.excerpt__image-wrapper {
  overflow: hidden;
  grid-area: image;
  justify-self: center;
  display: flex;
  width: 100%; /* Ensures the wrapper takes the full width of the grid area */
  height: auto; /* Adjust height accordingly */
  flex: 1;
  margin-right: 2rem;
}

.excerpt__image-wrapper img {
  width: 100%;
  height: auto;
}


.excerpt__text-wrapper {
  grid-area: text;
  max-width: 40rem;
  justify-self: center;
  flex: 1;
}

@media (min-width: 50rem) {
  .excerpt__text-wrapper {
    justify-self: flex-start;
  }

  .excerpt--reverse .excerpt__text-wrapper {
    justify-self: flex-end;
  }

  .excerpt__image-wrapper {
    justify-self: flex-end;
  }

  .excerpt--reverse .excerpt__image-wrapper {
    display: flex;
    justify-self: flex-start;
  }
}
.excerpt__image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Ensures the whole image fits within the container */
  display: block;
}










/*
  Form
*/

.contact-form {
  width: 100%;
  max-width: var(--sm);
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}























/* Logo */
.logo {
    font-size: 2rem;
    justify-self: end;
    grid-area: logo;
    position: sticky;
    top: 0;
    left: 0;
  }
  
  .logo__image {
    width: 55px; /* Default size for the logo */
    height: auto; /* Maintain aspect ratio */
  }
  

  .logo__image--white {
    filter: brightness(0) invert(1); /* Change the logo image to white */
  }
  /* Media Queries */
  @media (max-width: 768px) {
    .logo__image {
        width: 45px; /* Smaller size for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .logo__image {
        width: 35px; /* Even smaller size for very small screens */
    }
  }













/*
  Site nav
*/

.site-nav {
  position: sticky;
  background-color: var(--brown);
  top: 0;
  left: 0;
  padding-top: .5rem;
  padding-bottom: .5rem;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.site-nav__menu {
  grid-area: menu;
}

.site-nav__link {
    padding: 1rem;
    display: block;
    font-weight: bold;
    color: var(--lightest);
  }

@media (max-width: 49.999rem) {
  .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
  }

  .site-nav__menu {
    display: none;
    flex-direction: column;
    margin: auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
    animation-duration: .2s;
    animation-timing-function: ease-in-out;
  }

  .site-nav__link {
    font-size: calc(1.2rem + 3vw);
  }

  .site-nav--is-open {
    height: 100vh;
    overflow-y: auto;
  }

  .site-nav--is-open .site-nav__menu {
    display: flex;
  }
}

@media (min-width: 50rem) {
  .site-nav__menu {
    display: flex;
    flex-direction: row;
    padding: 0;
  }
}

.fade-in {
  animation-fill-mode: forwards;
  animation-name: fade;
}

.fade-out {
  animation-fill-mode: backwards;
  animation-name: fade;
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*
  Curtain
*/

.site-nav__curtain {
  visibility: hidden;
  position: fixed;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: var(--brown);
  border-radius: 50%;
  transform: translateY(100%) scale(0);
  animation-duration: .6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.curtain-up {
  animation-name: curtainUp;
}

.curtain-down {
  animation-name: curtainDown;
}

@media (min-width: 50rem) {
  .site-nav__curtain {
    visibility: hidden;
    transform: translateY(100%) scale(0) !important;
  }
}

@keyframes curtainUp {
  0% {
    border-radius: 50%;
    transform: translateY(100%) scale(1);
    visibility: visible;
    opacity: 1;
  }
  50% {
    border-radius: 50%;
  }
  100% {
    transform: translateY(0%) scale(3, 1);
    visibility: visible;
    opacity: 1;
    border-radius: 0;
  }
}

@keyframes curtainDown {
  0% {
    border-radius: 0;
    transform: translateY(0%) scale(3, 1);
    opacity: 1;
    visibility: visible;
  }
  50% {
    opacity: 1;
    visibility: visible;
    border-radius: 50%;
  }
  99% {
    transform: translateY(100%) scale(0);
    visibility: visible;
    opacity: 1;
  }
  100% {
    transform: translateY(100%) scale(0);
    opacity: 0;
    visibility: hidden;
  }
}

/*
  Menu button
*/

.menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  cursor: pointer;
  border: none;
  outline: none;
  padding: .5rem 0 .5rem 2rem;
  color: var(--brown);
  position: sticky;
  left: 0;
  top: 0;
  align-self: normal;
  justify-self: start;
  z-index: 10;
  grid-area: menuButton;
}

.menu-button:active {
  transform: translateY(-.2rem);
}

@media (min-width: 50rem) {
  .menu-button {
    display: none;
  }
}

.menu-button__lines {
  display: grid;
  gap: 5px;
  transition: all .2s ease;
  position: absolute;
  left: 0;
}

.menu-button__lines--open {
  gap: 0;
}

.menu-button__line {
  display: block;
  transition: .2s ease;
  content: '';
  width: 1.2rem;
  height: 2px;
  background-color: var(--lightest);
  transform-origin: center;
}

.menu-button:hover .menu-button__lines {
  gap: 8px;
}

.menu-button__lines--open .menu-button__line {
  grid-row-start: 1;
  grid-column-start: 1;
  transform: rotate(45deg) scale(1.6);
}

.menu-button__lines--open .menu-button__line:nth-child(3) {
  transform: rotate(-45deg) scale(1.6);
}

.menu-button.is-white {
  color: var(--lightest);
}

.menu-button__lines.is-white .menu-button__line {
  background-color: var(--lightest);
}

.site-nav__link.is-white {
  color: var(--lightest);
}

/* Phone Number Widget */
.phone-widget {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--brown-darker);
  font-weight: bold;
  color: var(--lightest);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.3s ease;
  z-index: 100;
}

.phone-widget:hover {
  transform: scale(1.1);
}





/* CSS for the new section with big cards */
.section--cards .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  color: var(--text-color);
  background-color: var(--accent-color);
  border: 2px solid transparent;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  padding: 20px;
  text-align: center;
  width: 250px;
  cursor: pointer;
}

.card-icon {
  font-size: 48px;
  transition: transform 0.3s, color 0.3s;
}

.card-title {
  font-size: 24px;
  margin: 10px 0;
}

.card-subtitle {
  font-size: 18px;
  color: var(--dark-color);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--brown-darker);
}

.card:hover .card-icon {
  transform: scale(1.2);
  color: var(--highlight-color);
  text-shadow: 0 0 10px var;
}

/* Initially selected card */
.card.selected {
  border: 2px solid var(--brown-darker);
}

/* Ensure the previous card loses the selected state */
.card:not(:hover).selected {
  border: 2px solid transparent;
}
  

/* Media query for centering cards in a 2x2 grid on phone screens */
@media (max-width: 768px) {
  .cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
  }

  .card {
    width: calc(85% - 3px); /* Adjust width to fit within the grid */
    height: 200px; /* Set a fixed height for consistency */
    margin: 0 auto; /* Center cards within the grid cells */
    padding: 10px; /* Reduce padding to fit content better */
  }

  /* Resize font text for smaller screens */
  .card-icon {
    font-size: 24px; /* Smaller icon size */
  }

  .card-title {
    font-size: 16px; /* Smaller title size */
  }

  .card-subtitle {
    font-size: 10px; /* Smaller subtitle size */
  }
}
  






/* New CTA Card Styling */
.cta-card {
  position: relative;
  z-index: 5;
  background-color: #fff;
  color: #000;
  padding: 2rem;
  text-align: center;
  margin: -8rem auto -4rem; /* Adjust this value to move the card up */
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: calc(100% - 2rem);
  max-width: 800px;
}

.cta-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-card p {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  background-color: var(--brown-darker);
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 1rem 0;
}

.cta-button:hover {
  background-color: var(--highlight-color);
  transform: scale(1.05);
}

.cta-phone-number {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--dark-color);
  text-decoration: none;
}

/* Base styles for alert banner */
.alert-banner {
  position: relative; /* Keeps it in the flow of the document */
  z-index: 1000; /* Ensures it's on top of other elements */
  background-color: rgba(42, 99, 192, 1); /* Red background */
  color: var(--accent-color);
  padding: 1rem;
  border-radius: 0.5rem; /* Rounded corners */
  margin: 0 auto; /* Centers the banner horizontally */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px; /* Ensures it doesn't get too wide */
}

.alert-banner h3, .alert-banner p {
  margin: 0.5rem 0; /* Adjust margins for better spacing */
}

.alert-banner .phone-link {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--lightest);
  text-decoration: none;
  background-color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content */
}

.alert-banner .phone-link:hover {
  background-color: var(--highlight-color);
  transform: scale(1.05);
}

.alert-banner .phone-link i {
  margin-right: 0.5rem;
}




#compromiso{
  color: var(--accent-color);
}





/* Styles for larger screens */
@media (min-width: 768px) {
  .alert-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 1rem;
  }

  .alert-banner .alert-text {
    flex: 1;
    margin: 0;
  }

  .alert-banner .phone-link {
    margin-left: 1rem;
  }
}

  .iframe-container {
    padding: 1rem;
    background-color: var(--lightest); /* Optional: Add a background color */
    border-radius: 0.5rem; /* Optional: Add some border radius for smoother corners */
    margin: 2rem 1.5rem; /* Optional: Add some margin for vertical spacing */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a box shadow */
}

.iframe-container iframe {
    width: calc(100%); /* Adjust the width to account for padding */
    height: 350px;
    border: none;
}




















/* Media Queries for Tablets and Phones */
@media (max-width: 768px) {
  .popup-banner {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    flex-direction: column;
    align-items: center;
  }

  .popup-button {
    padding: 0.4rem 1rem;
    margin-top: 0.1rem;
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 480px) {
  .popup-banner {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .popup-button {
    padding: 0.4rem 0.8rem;
    margin-top: 0.8rem;
  }
}

@media (max-width: 400px) {
  .popup-banner {
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
  }

  .popup-button {
    padding: 0.3rem 0.6rem;
  }

  .popup-banner.show {
  bottom: 10rem; /* End position */
  opacity: 1;
}
}





/* Section with FontAwesome Correct (Tick) Icons */
.section--services {
  padding: 4rem 0;
  background-color: var(--brown); 
  color: var(--lightest); 
}

.section--services .wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-item i {
  font-size: 2rem;
  color: var(--highlight-color);
}

.service-text h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--dark-color) !important;
  text-align: left;
}

.service-text p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--dark-color) !important;
  text-align: left;
}


/* Media Queries for Centering Text on Phone Screens */
@media (max-width: 768px) {
  .section--services .wrapper {
    flex-direction: column;
  }

  .service-item {
    flex: 1 1 100%;
  }

  .service-text h3,
  .service-text p {
    text-align: center;
  }
}

/* Troubleshooting Section */
.section--troubleshooting {
  padding: 4rem 0;
  background-color: var(--brown);
  color: var(--lightest);
  text-align: left; /* Ensure text within the section is left-aligned */
}

.section--troubleshooting .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  flex: 1 1 calc(50% - 2rem);
}

.step i {
  font-size: 2rem;
  color: var(--dark-color);
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--lightest);
  text-align: left; /* Ensure text within step is left-aligned */
}










/* Media Queries for Centering Text on Phone Screens */
@media (max-width: 768px) {
  h1, h2, h3, p, .cta, .cta-button, .subtitle, .title {
    text-align: center; /* Center align for better readability */
  }

  .section {
    padding: 3rem 0; /* Reduced padding for smaller screens */
  }

  .alert-banner {
    margin: 2rem 0; /* Reduced margin for smaller screens */
  }

  .wrapper--intro, .wrapper--footer, .wrapper--nav-area {
    text-align: center;
  }

  .site-nav__menu {
    text-align: center;
  }

  .site-nav__link {
    text-align: center;
  }

  .alert-banner {
    text-align: center;
  }

  .footer-nav__list {
    text-align: center;
  }

  .address__list {
    text-align: center;
  }

  .card-title, .card-subtitle {
    text-align: center;
  }

  .excerpt__text-wrapper {
    text-align: center;
  }


  .section--services {
    padding-bottom: 6rem; /* Adjust bottom padding to accommodate alert banner */
  }

  .section--services2 {
    padding-top: -6rem; /* Adjust top padding to accommodate alert banner */
  } 

  .section--services .wrapper,
  .section--troubleshooting .wrapper {
    flex-direction: column;
  }

  .service-item, .step {
    flex: 1 1 100%;
  }

  .service-text h3,
  .service-text p,
  .step p {
    text-align: left;
  }
}








































