@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f2f2f2;
    color: #222;
}

/* PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 9999;
}

.preloader-logo {
    width: 120px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: .85; }
    100% { transform: scale(1); opacity: 1; }
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #444;
    border-top: 6px solid #1e88e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* SLIDER */
.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s;
}

.slide.active {
    opacity: 1;
}

/* OVERLAY */
.overlay {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,.65);
    height: 100%;
    text-align: center;
    padding-top: 120px;
    color: white;
}

.logo {
    width: 140px;
    margin-bottom: 20px;
}

.overlay h1 {
    font-size: 46px;
}

.overlay p {
    font-size: 20px;
    margin: 15px 0;
}

.btn {
    background: #1e88e5;
    padding: 14px 30px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

/* SECCIONES */
.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* SERVICIOS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

/* CONTACTO */
.dark {
    background: #1c1c1c;
    color: white;
}

.formulario {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario input,
.formulario textarea {
    padding: 12px;
    border-radius: 4px;
    border: none;
}

.formulario button {
    background: #1e88e5;
    border: none;
    padding: 14px;
    color: white;
    cursor: pointer;
}

/* MAPA */
.mapa {
    margin-top: 40px;
    height: 350px;
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* WHATSAPP */
.whatsapp{
position:fixed;
right:20px;
bottom:20px;
background:#25d366;
width:55px;
height:55px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
color:#ffffff;
z-index:1000;
}

/* ANIMACIONES */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 20px;
}


/* ===== CONOCENOS ESTRUCTURAL ===== */

.about-structure{
  background:#ffffff;
  padding:120px 8%;
}

.about-wrapper{
  max-width:900px;
  margin:0 auto;
}

.about-wrapper h2{
  font-size:2.6rem;
  margin-bottom:30px;
  color:#0c1633;
}

.about-main{
  font-size:1.15rem;
  line-height:1.9;
  color:#444;
  margin-bottom:70px;
}

.about-block{
  border-left:4px solid #ff9f1a;
  padding-left:30px;
  margin-bottom:55px;
}

.about-block h3{
  font-size:1.6rem;
  margin-bottom:15px;
  color:#0c1633;
}

.about-block p{
  font-size:1.1rem;
  line-height:1.9;
  color:#555;
}

/* Responsive */
@media(max-width:768px){
  .about-wrapper{
    max-width:100%;
  }
}

