
:root {
  --bg-alpha: 0.92; 

}

body{
    background-color: #F8EEE4;
    font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif !important;
    margin: 0;
}

body p { text-align: justify; }

html, body { height: 100%; }


li.list-comment{
    list-style-type: none; 
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url(../../images/mapaHomeP.png) no-repeat center center / cover;
  z-index: -1;
  transform: translateY(150px);
}

#main {
  margin: 137px 30px 0 30px;
  box-shadow: -10px 0px 10px rgba(0, 0, 0, 0.5),
              10px 0px 10px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease, margin 0.3s ease;
  padding: 0;
}

#main p {
  text-align:justify;
  margin: 0;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem); 
  line-height: 1.6;
  width: min(50%, 1140px);     
  max-width: 112ch;           
  box-sizing: border-box;
  word-wrap: break-word;
}

#main h2 {
  margin: 0 0 clamp(14px, 2vw, 22px) 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: clamp(0.9rem, 1.8vw, 1.15rem); 
  line-height: 1.15;
  width: min(92%, 720px);
}

.section-base {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 4.5vw, 84px) 16px;
  gap: clamp(14px, 2.2vw, 26px);
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 900px){
  :root {
    --bg-alpha: 0.95; 
  }

  #main p {
    width: min(92%, 720px);
    font-size: clamp(0.95rem, 1.8vw, 1.02rem);
    padding-bottom: 10px;
  }

  #main h2 {font-size: clamp(0.95rem, 2.6vw, 1.05rem);}

  .section-base {
    padding: 20px 12px;
    gap: 20px;
  }

  #main {
    margin: 90px 0 0 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 0;
    padding-top: 18px;
  }
}

@media (max-width: 420px){
  #main p {
    font-size: 0.98rem; 
    line-height: 1.55;
  }
  #main h2 {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }
  .section-base {
    padding: 18px 10px;
    gap: 10px;
  }
}

#navigation-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;    
    align-items: center;
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    z-index: 1200;                     
    box-sizing: border-box;
}

#navigation-home {
    flex: 0 0 auto;
    width: 8em;
    display: flex;
    align-items: center;
}

#navigation-logo {
    display: block;
    width: 100%;
    height: auto;                       
    object-fit: contain;
}

#navigation-logo:hover{
    color: #a5ccd4;
    opacity: 0.5;                     
    filter: brightness(0.98) saturate(0.98); 
}

#navigation-bar-toggle{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 12px;
    padding: 8px;
    line-height: 0;
    color: inherit;
}

#navigation-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

#navigation-menu{
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#navigation-menu > .navigation-link{
    display: flex;
    align-items: center;
    justify-content: center;
}

#navigation-menu > .navigation-link > a{
    text-decoration: none;
    color: #0f2430;                     
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    transition: background-color .15s ease, color .15s ease, transform .08s ease;
}

#navigation-menu > .navigation-link > a:hover,
#navigation-menu > .navigation-link > a:focus-visible {
  color: #a5ccd4;
}

#navigation-menu a[aria-current="page"],
#navigation-menu a.active {
  color: #0f2430;
  background-color: rgba(165,204,212,0.08);
}

.nav-icon {
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  color: #0f2430; 
}

#navigation-menu > .navigation-link > a span {
  display: inline-block;
}

@media (max-width: 900px){
    #navigation-bar-toggle {
        display: block;
        margin-left: auto;
        margin-right: 12px; 
        z-index: 1250;
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        touch-action: manipulation;
    }

    #navigation-bar-toggle, 
    #navigation-bar-toggle * {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

  #navigation-bar-toggle svg.navicon {
    width: 1.6em;
    height: 1.6em;
    display: inline-block;
    vertical-align: middle;
    color: #0f2430; 
  }

    #navigation-bar {
        flex: 0 0 auto; 
    }

    #navigation-bar-toggle:focus {
        outline: none;
    }
    #navigation-bar-toggle:focus-visible {
        box-shadow: 0 0 0 4px rgba(165,204,212,0.30);
        border-radius: 8px;
    }

    #navigation-menu{
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        background-color: #fff;
        box-shadow: 0px 6px 18px rgba(0,0,0,0.08);
        overflow: hidden;
        max-height: 0;
        transition: max-height 260ms cubic-bezier(.2,.9,.2,1), opacity 180ms ease;
        opacity: 0;
        display: block; 
        z-index: 1150;
    pointer-events: none;
        border-top: 1px solid rgba(0,0,0,0.04);
        border-top: none;

    }

    #navigation-menu.open {
        max-height: 80vh;    
        opacity: 1;
    pointer-events: auto;
    }
    
    #navigation-menu > .navigation-link{
        justify-content: flex-start;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.03);
        padding: 0;
    }

    #navigation-menu > .navigation-link > a {
        width: 100%;
        padding: 14px 20px;
        box-sizing: border-box;
    }

    #navigation-header {
        padding-right: 12px; 
    }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}


#footer{
    background-color: #323437;
    height: auto;
    width: 100%;
    margin: 0;
}


#main ul, #main ol, .section-base ul, .section-base ol {
  width: min(50%, 1140px); 
  max-width: 112ch;
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
  list-style-position: outside;
  box-sizing: border-box;
  text-align: left; 
}

#main ul li, #main ol li, .section-base ul li, .section-base ol li {
  text-align: left;
  display: list-item;
  margin: 0 0 0.6rem 0;
}

#main li p, .section-base li p {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin: 0;
  text-align: left;
}

#main ul ul, #main ol ol, #main ul ol, #main ol ul, .section-base ul ul, .section-base ol ol {
  padding-left: 1.25rem; 
  margin-left: 0;
}

@media (max-width: 900px) {
  #main ul, #main ol, .section-base ul, .section-base ol {
    width: min(92%, 720px); 
    padding-left: 1rem;
  }
}

#footer { color: #d9dbe0; }
.footer-contact { max-width: 1100px; margin: 0 auto; padding: 28px 20px; display:flex; align-items:flex-start; gap: 18px; box-sizing: border-box; }
.footer-contact h4 { margin: 0 0 12px 0; text-align:center; width:100%; }
.footer-contact form { display:flex; width:100%; gap: 12px; align-items:flex-start; flex-wrap: wrap; }
.footer-contact .left { width: 320px; display:flex; flex-direction:column; gap:10px; }
.footer-contact .right { flex:1 1 auto; }
.footer-contact .form-row { display:flex; flex-direction:column; }
.footer-contact label { font-weight:600; margin-bottom:6px; color:#e6e8eb; }
.footer-contact input[type="text"], .footer-contact input[type="email"], .footer-contact textarea {
  background: #2f3336; color: #f1f1f1; border: 1px solid rgba(255,255,255,0.06); padding: 10px 12px; border-radius: 8px; box-sizing:border-box;
}
.footer-contact input[type="text"]:focus, .footer-contact input[type="email"]:focus, .footer-contact textarea:focus { box-shadow: 0 6px 18px rgba(0,0,0,0.25); outline: none; }
.footer-contact textarea { width:100%; height:160px; resize:none; }
.footer-contact .left .form-row .calculate-index { align-self:flex-start; }
.footer-contact p#contact-status { margin: 0; color: #d9dbe0; }
#contact-status { overflow-wrap: break-word; word-break: break-word; }

@media (max-width: 900px) {
  .footer-contact { flex-direction: column; }
  .footer-contact form { flex-direction: column; }
  .footer-contact .left { width:100%; }
  .footer-contact .right { width:100%; }
  .footer-contact textarea { height: 140px; }
}

#footer > p { margin: 0; padding: 12px 0; color: #b9bcc0; text-align:center; }

#specificities-flex { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
#specificities-flex .specificities-element { position: relative; transition: all 260ms cubic-bezier(.2,.9,.2,1); transform-origin: center center; z-index: 1; }

@media (min-width: 900px) {
  #specificities-flex .specificities-element { transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease; }
  #specificities-flex .specificities-element:hover {
    transform: scale(1.06) translateZ(0);
    z-index: 30;
    box-shadow: 0 12px 30px rgba(16,32,42,0.18);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  #specificities-flex .specificities-element:hover { transform: none; box-shadow: none; }
}

  #specificities-flex .specificities-element p {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0;
  }

  #specificities-flex .specificities-element { padding: 18px; }

.calculate-index{
    margin-top: 0.75rem;
    font-size: clamp(0.9rem, 1.6vw, 1.0rem);
    color: white;
    background-color: #A5CCD4;
    padding: 0.6rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: background-color 180ms ease, transform 120ms ease, border-color 180ms ease;
}
.calculate-index:hover{ cursor: pointer; background-color: #BDD9DF; border-color: rgba(0,0,0,0.08); transform: translateY(-2px); }