body {
    font-family: 'ImpactRegular', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

h1, h2, h3 {
  font-family: 'Abril Fatface', serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

p {
  font-family: 'GlacialIndifference', serif;
  font-size: 20px;
}

ul, ol {
  font-family: 'GlacialIndifference', serif;
  font-size: 20px;
  text-align: justify;
}


img {
  border-radius: 5px;
}
header {
    background-color: #ffffff;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 87vw;
    margin: auto;
}

header h1 {
    margin: 0;
    font-family: 'ImpactRegular';
    position: relative;
    top: 3px;
    color: #428ce2;
    font-size: 50px;
}

header nav ul {
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    font-family: "ImpactRegular";
    letter-spacing: 1px;
    font-size: 30px;
    color: #000000;
    text-decoration: none;
}

main section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

#servicios {
    position: relative;
    /* background: url('./img/mk_bnr_001.png') no-repeat center center / cover; */
    background-color: #0f2f76;
    background-attachment: fixed; /* Parallax */
    color: #fff;
    text-align: center;
    padding: 80px 0;
    padding-bottom: 80px;
    z-index: 2;
}

#servicios::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2); /* oscurece para legibilidad */
    z-index: -1;
}

#servicios {
  padding-bottom: 100px; /* da aire para que no se corte la última fila */
  overflow: visible;     /* asegura que nada quede escondido */
}

#servicios .container > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 0));
  column-gap: 40px;
  row-gap: 60px; /* separación vertical extra */
  justify-items: center;
  align-items: stretch;
}

.services-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    background-color: #c7cbcf;
    padding: 20px 0;
}

.services-overview h2 {
    width: 100%;
    text-align: center;
    font-size: 80px;
    margin-bottom: 30px;
    color: #333;
}

.service-block {
  background-color: #c7cbcf;
  padding: 20px;
  color: #fff;
  display: flex;
  width: 410px;
  border-radius: 10px;
  flex-direction: column;
  color: #000000;
  justify-content: top;
  text-align: center;
  height: 100%; /* para que todas las tarjetas se igualen */
}

.service-block h3 {
  font-size: 38px;
}

.service-block .btn {
  width: 150px;
  align-self: center;
  margin-top: auto;
}

/* .service-block {
    background-color: #c7cbcf;
    padding: 20px;
    border: 1px solid #bbb;
    text-align: center;
    color: #000000;
    max-width: 30vw;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.service-block h3 {
    margin-top: 0;
    font-size: 55px;
} */

.btn {
    display: inline-block;
    background-color: #b1ef54; /* Light green from mockup */
    color: #333;
    text-decoration: none;
    font-family: "GlacialIndifference";
    border-radius: 10px;
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;border: 12px #0d2e75 solid
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

.btn:hover{
  box-shadow: inset 5px 5px 12px rgba(168,255,95,0.4),
              inset -5px -5px 12px rgba(0,0,0,0.4);
}

#why-us {
    background-color: #60a5fa; /* Blue from mockup */
    color: #fff;
    text-align: center;
}

#why-us h3 {
    background-color: #3b82f6; /* Darker blue for heading background */
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 20px;
}

#faq {
    position: relative;
    background: url('./img/mk_bnr_001.png') no-repeat center center / cover; */
    background-attachment: fixed;
    background-color: #ffffff;
    color: #fff;
    text-align: center;
    padding: 0px 0;
    top: 0px;
    z-index: 1;
    text-align: center;
}

#faq::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: -1;
}

#faq h2 {
    background-color: #2563eb;
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 30px;
}

.faq-item {
    background-color: #a8ff5f;
    color: #333;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    text-align: center;
}

.faq-item p{
  margin-top: 50px;
  background-color: #ffffff;
  padding: 10px 10px 10px 10px;
  max-width: 600px;
}

.faq-item h4 {
    margin-top: 0;
    font-family: "GlacialIndifference";
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
    margin: 0 auto 20px auto;
}

#titulos {
    background-color: #e0e0e0;
    text-align: center;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#titulos h3 {
    color: #333;
    margin-bottom: 20px;
}

.budget-btn {
    background-color: #b1ef54;
    color: #333;
    padding: 15px 30px;
    font-size: 1.2em;
}

#contact-footer {
    background-color: #3b82f6; /* Blue from mockup */
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 0;
}

#contact-footer h2 {
    margin: 0;
    font-size: 2.5em;
}

/* Sub-page specific styles */
.sub-page {
    padding: 40px 0;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.sub-page h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.sub-page p {
    margin-bottom: 15px;
    text-align: justify;
}

.sub-page .keyword {
    font-weight: bold;
    color: #3b82f6; /* Highlight keywords */
}

.back-to-home {
    background-color: #333;
    color: #fff;
    margin-top: 30px;
    margin: 20px auto;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .service-block {
        width: 90%; /* Stack services on small screens */
    }

    .faq-item {
        width: 95%;
    }
}

/* body {
    background: #f4f4f4;
}

.service-block {
    background: #c0c0c055;
    border-radius: 20px;
    padding: 30px;
    max-width: 30vw;
    margin-bottom: 20px;
    text-align: center;
    color: #000000;
    box-shadow: 9px 9px 18px rgba(0,0,0,0.3),
                -9px -9px 18px rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.service-block:hover {
    box-shadow: inset 9px 9px 18px rgba(0,0,0,0.3),
                inset -9px -9px 18px rgba(255,255,255,0.07);
    transform: translateY(-5px);
}


.btn, .budget-btn, .back-to-home {
    background: #a8ff5f;
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    box-shadow: 5px 5px 12px rgba(168,255,95,0.5),
                -5px -5px 12px rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover, .budget-btn:hover, .back-to-home:hover {
    box-shadow: inset 5px 5px 12px rgba(168,255,95,0.4),
                inset -5px -5px 12px rgba(255,255,255,0.8);
    transform: scale(0.97);
}

.faq-item {
    background: #f4f4f4;
    border-radius: 20px;
    padding: 25px;
    margin: 20px auto;
    width: 80%;
    box-shadow: 7px 7px 14px #d1d1d1,
                -7px -7px 14px #ffffff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: inset 7px 7px 14px #d1d1d1,
                inset -7px -7px 14px #ffffff;
}

.sub-page {
    background: #f4f4f4;
    border-radius: 25px;
    margin: 30px auto;
    width: 85%;
    box-shadow: 10px 10px 20px #d1d1d1,
                -10px -10px 20px #ffffff;
    padding: 40px;
    transition: all 0.3s ease;
}

.sub-page h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
    text-shadow: 1px 1px 2px #d1d1d1;
} */

/*====== Estilos para la sección de FAQ ======*/
.faq-section {
    padding: 5rem 3rem;
    background-color: var(--light-overlay);
}

.faq-section .section-title {
    color: var(--primary-color);
}

.faq-container {
    max-width: 1500px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--primary-color-light-border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: 'GlacialIndifference';
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--highlight-color-2);
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    font-weight: 300;
    color: var(--highlight-color-1);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-family: 'GlacialIndifference';
    transition: max-height 0.5s ease-in-out;
}

.faq-answer p {
    font-family: 'GlacialIndifference', sans-serif;
    max-width: 80vw;
    color: var(--text-muted-color);
    padding-top: 1rem;
    margin: 0;
}
