:root {
    --primary-color: #00468b; /* Azul profesional */
    --accent-color: #25D366;  /* Verde WhatsApp */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    padding: 20px;
}

/* Header & Perfil */
.profile-header {
    background: var(--white);
    border-radius: 20px;
    padding: 80px 20px 40px; /* Aumentamos el padding superior */
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: 60px; /* Espacio para que el logo no se salga del viewport */
    margin-bottom: 40px;
    position: relative;
}

.profile-logo-container {
    position: absolute;
    top: -60px; /* Lo centramos mejor sobre el borde superior */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Asegura que el logo esté por encima de todo */
}

.profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

.business-name {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 15px; /* Espacio extra debajo del logo */
    line-height: 1.2;
}

.business-slogan {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 300;
    max-width: 600px;
    margin: 10px auto 20px;
}

.location {
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Grid de Productos/Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
}

/* Estilos para los Bullet Points Estéticos */
.card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.card ul li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center; /* Alineación perfecta icono-texto */
    gap: 10px;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Contenedor y estilo de imágenes en tarjetas */
.card-image-container {
    width: 100%;
    height: 180px; /* Altura fija para mantener la simetría */
    margin: 15px 0;
    overflow: hidden;
    border-radius: 12px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene el espacio sin deformarse */
    transition: transform 0.5s ease;
}

/* Efecto visual al pasar el mouse sobre la tarjeta */
.card:hover .card-img {
    transform: scale(1.05);
}

/* Color personalizado basado en tu identidad Nekeke */
.icon-check {
    color: var(--primary-color); /* El azul de tu marca */
    font-weight: bold;
    flex-shrink: 0;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Botones */
.link-btn {
    padding: 12px 25px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.link-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp { background-color: var(--accent-color); }
.instagram { background-color: #E1306C; }
.email { background-color: #444; }

/* Sección Redes */
.social-links {
    text-align: center;
    margin: 50px 0;
}

.links-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

/* Sucursal / Mapa */
.branch-block {
    display: flex;
    gap: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.map-box { flex: 1.5; min-height: 300px; }
.map-box iframe { height: 100%; }

.info-box {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box h3 { margin-bottom: 15px; color: var(--primary-color); }

/* Botón de Whatsapp */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
  }

.float-whatsapp i {
  font-size: 35px; /* Ajusta el tamaño del logo */
  line-height: 60px; /* Centra verticalmente si no usas flexbox */
}

/* Responsive */
@media (max-width: 768px) {
    .branch-block { flex-direction: column; }
    .business-name { font-size: 1.8rem; }
    .info-box { padding: 30px; text-align: center; }
    .info-box .link-btn { align-self: center; }
}