/* ============================
   Paleta de colores (aleatoria pero armónica)
   ============================ */
:root {
    --color-primario: #0F3D3E;   /* verde profundo */
    --color-secundario: #3A7D44; /* verde medio */
    --color-fondo: #F6F7FB;      /* gris muy claro */
    --color-texto: #1F2328;      /* casi negro */
    --color-acento: #F4B942;     /* dorado suave */
}

/* ============================
   Reset y base
   ============================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; border-radius: 14px; }

a { color: inherit; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* ============================
   Contenedor y header
   ============================ */
.contenedor {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.encabezado-principal {
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    color: #fff;
    padding: 1rem 0 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.barra-superior {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-empresa {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.logo-empresa img {
    width: 48px; height: 48px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.85);
    object-fit: cover;
}

.logo-empresa .nombre {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: .02em;
}

.chip-local {
    display: inline-block;
    margin-top: .2rem;
    font-size: .8rem;
    background: rgba(255,255,255,.15);
    padding: .1rem .55rem;
    border-radius: 999px;
}

/* ============================
   Navegación
   ============================ */
.navegacion-principal { margin-top: .75rem; }

.lista-navegacion {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: flex-end;
}

.item-navegacion a {
    font-size: .95rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.6);
    transition: .2s ease;
}

.item-navegacion a:hover, .item-navegacion a:focus {
    background: #fff;
    color: var(--color-primario);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ============================
   Hero
   ============================ */
.heroes-pagina { padding: 2.1rem 0 2.5rem; }

.heroes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.heroes-titulo { font-size: 2.05rem; margin-bottom: .7rem; }
.heroes-eslogan { font-size: 1.05rem; margin-bottom: 1rem; opacity: .95; }
.heroes-detalle { font-size: .98rem; margin-bottom: 1.4rem; }

.btn-primario {
    display: inline-block;
    background: var(--color-acento);
    color: #1a1a1a;
    padding: .7rem 1.45rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    border: none;
    cursor: pointer;
    transition: .2s ease;
}
.btn-primario:hover, .btn-primario:focus {
    background: #ffd36a;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
    transform: translateY(-1px);
}

/* ============================
   Secciones
   ============================ */
.seccion { padding: 2.5rem 0; }
.seccion-blanca { background: #fff; }
.seccion-clara { background: var(--color-fondo); }

.titulo-seccion {
    font-size: 1.6rem;
    margin-bottom: 1.35rem;
    color: var(--color-primario);
}

.subtitulo-seccion { font-size: 1.1rem; margin-bottom: 1rem; }

/* ============================
   Tarjetas
   ============================ */
.grid-tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.35rem;
}

.tarjeta {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,.04);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transition: .15s ease;
}
.tarjeta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* ============================
   Sobre nosotros
   ============================ */
.grid-sobre-nosotros {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 2rem;
}
.lista-valores { list-style: disc; padding-left: 1.2rem; }

/* ============================
   Galería de servicios
   ============================ */
.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tarjeta-servicio img { margin-bottom: .8rem; }

.precio-servicio {
    font-weight: 800;
    color: var(--color-primario);
    margin: .2rem 0 .5rem;
}

.badge-servicio {
    display: inline-block;
    font-size: .78rem;
    color: var(--color-primario);
    background: rgba(15,61,62,.08);
    padding: .15rem .6rem;
    border-radius: 999px;
    margin-bottom: .4rem;
}

/* ============================
   Contacto
   ============================ */
.grid-contacto {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
}

.formulario-contacto {
    background: #fff;
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.form-grupo { margin-bottom: 1rem; }
.form-grupo label { display:block; font-weight:700; font-size:.9rem; margin-bottom:.25rem; }

.form-grupo input, .form-grupo textarea {
    width: 100%;
    padding: .6rem .75rem;
    border-radius: 10px;
    border: 1px solid #d0d4dd;
    font-size: .95rem;
    font-family: inherit;
}

.form-grupo input:focus, .form-grupo textarea:focus {
    outline: none;
    border-color: var(--color-secundario);
    box-shadow: 0 0 0 3px rgba(58,125,68,.18);
}

.info-contacto {
    background: rgba(15,61,62,.03);
    border-radius: 16px;
    padding: 1.2rem;
}

.lista-contacto { list-style:none; }
.lista-contacto li + li { margin-top: .45rem; }

.redes-sociales a {
    display:inline-block;
    margin: .5rem .5rem 0 0;
    padding: .35rem .7rem;
    border-radius: 999px;
    background:#fff;
    border:1px solid rgba(15,61,62,.18);
    font-size:.9rem;
}
.redes-sociales a:hover {
    background: var(--color-acento);
    border-color: var(--color-acento);
    text-decoration:none;
}

/* ============================
   Testimonios
   ============================ */
.grid-testimonios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}

.tarjeta-testimonio {
    background:#fff;
    border-radius: 16px;
    padding: 1.25rem;
    border-left: 4px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    position: relative;
}

.tarjeta-testimonio.destacado {
    border-left-color: var(--color-acento);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.etiqueta-destacado {
    position:absolute; top:1rem; right:1rem;
    background: var(--color-acento);
    color:#1a1a1a;
    font-size:.75rem; font-weight:800;
    padding:.2rem .6rem; border-radius:999px;
}

.estrellas { color:#F4B942; font-size:.95rem; margin:.25rem 0 .4rem; }
.nombre-cliente { font-weight:800; }

/* ============================
   Footer
   ============================ */
.pie-pagina {
    background:#0B2425;
    color:#dfe7f2;
    padding: 1.5rem 0;
    margin-top: 2.5rem;
}

.pie-contenido {
    display:flex; flex-wrap:wrap; gap:1rem;
    align-items:center; justify-content:space-between;
    font-size:.85rem;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 900px) {
    .heroes-grid, .grid-sobre-nosotros, .grid-contacto { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .barra-superior { flex-direction: column; align-items:flex-start; }
    .lista-navegacion { justify-content:flex-start; }
    .heroes-titulo { font-size: 1.7rem; }
}
